Dear Kris,
At 11:20 PM 12/1/2002 +0100, you wrote:>Hi,
>
>I can't figure out how to get the P-values out of the summery of a
logistic
>regression. I used:
>
>logit.out <- glm(...)
>
>and then I should be able to extract just the P values for the coefficients.
>
>Any idea?
The easiest way is probably to compute the summary and extract the p-values
from that: summary(logit.out)$coefficients[,4].
I hope that this helps,
John
-----------------------------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario, Canada L8S 4M4
email: jfox at mcmaster.ca
phone: 905-525-9140x23604
web: www.socsci.mcmaster.ca/jfox
-----------------------------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at
stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._