Skip to content
Prev 139901 / 398513 Next

How to get the P-values from GLM results?

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.