[R] how to obtain p values from an ANOVA result

Phil Spector spector at stat.berkeley.edu
Fri Feb 13 19:39:09 CET 2009

Richie -
     There is a test= argument that can be set to "Chisq", "F" or 
"Cp", for various different tests.  See the help file for 
anova.glm for details (or look at anova.xxx if your model is 
of class "xxx").

                                             - Phil

On Fri, 13 Feb 2009, R User R User wrote:

> Hi all,
> I'm tryint to turn my ANOVA result from anova(model) in to p values. The
> default output is:
> term ; Df ; Deviance ; resid Df; Resid. Dev
> Is there a way to add p values to this output so the significance of the
> terms can be easily determined?
> Thanks in advance.
> Richie
> 	[[alternative HTML version deleted]]
> ______________________________________________
> 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.

More information about the R-help mailing list