Message-ID: <5.1.0.14.2.20021201225954.01dd2ea0@mcmail.cis.mcmaster.ca>
Date: 2002-12-02T04:01:43Z
From: John Fox
Subject: Logistic regression
In-Reply-To: <1038781219.3dea8b2400fc6@webmail.kuleuven.ac.be>
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._