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

From: jebyrnes <>
Date: Wed, 19 Mar 2008 11:38:19 -0700 (PDT)

I believe you're looking for summary. So

my.glm<-glm(Response ~ TrtA*TrtB)

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:
Sent from the R help mailing list archive at

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Wed 19 Mar 2008 - 18:55:02 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 19 Mar 2008 - 20:30:23 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive