[R] How to get the P-values from GLM results?

jebyrnes jebyrnes at ucdavis.edu
Wed Mar 19 19:38:19 CET 2008


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.



More information about the R-help mailing list