"Shubha Vishwanath Karanth" <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]: 

> 
> How can I extract p-values from an 'lrm' (logistic regression model)
> oject?
>
 
a) In writing to the list you should tell people where you got the 
function (presumably Design).

b) Looks to me in running lrm with the first example from the help text 
that the model object is not examined with summary() but rather with 
anova(). If you just need to see p-values for a particular coefficient, 
then run anova(model). If you need to extract the values and your 
variable of interest is age then using the example in lrm help:

anova(f)["age",]  # will give you all the statistics and ...

anova(f)["age","P"] # will give you just the p-value

-- 
David Winsemius

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to