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

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

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.

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
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 https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive