Re: [R] p-value in lrm

From: Frank E Harrell Jr <f.harrell_at_vanderbilt.edu>
Date: Wed 31 Aug 2005 - 09:05:55 EST

donghu@itsa.ucsf.edu 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

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
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