Message-ID: <16148396.post@talk.nabble.com>
Date: 2008-03-19T18:38:19Z
From: Jarrett Byrnes
Subject: How to get the P-values from GLM results?
In-Reply-To: <855c8c750803182051p10b73f72ta1eb39c05589048e@mail.gmail.com>
I believe you're looking for summary. So
my.glm<-glm(Response ~ TrtA*TrtB)
summary(my.glm)
will give you p values for each parameter value. Similarly anova(my.glm)
will give you p values for the likelihood ratio chi-square statistic for
each factor using sequential tests. You can also use Anova from the car
library for tests corresponding to a type II sums of squares analysis.
--
View this message in context: http://www.nabble.com/How-to-get-the-P-values-from-GLM-results--tp16145992p16148396.html
Sent from the R help mailing list archive at Nabble.com.