Re: [R] p-value in lrm

From: Frank E Harrell Jr <>
Date: Wed 31 Aug 2005 - 09:05:55 EST wrote:
> Hi,
> How can I get the p-value, S.E., and Z from the result of lrm fit? Thank you.
> Donglei

That's automatic. The print method for lrm in the Design package does that. Better though is the anova method which gives you the right pooled tests when you have nonlinear effects, interactions, etc.

If by "get" you mean "retrieve for use in other code" you can look at print.lrm for hints, or use coef(fit) and diag(Varcov(fit)).

Frank E Harrell Jr   Professor and Chair           School of Medicine
                      Department of Biostatistics   Vanderbilt University

______________________________________________ mailing list
PLEASE do read the posting guide!
Received on Wed Aug 31 09:13:17 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 16:09:22 EST