Skip to content

how to obtain p values from an ANOVA result

3 messages · R User R User, Phil Spector, Greg Snow

#
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:

            
#
It depends on what type of model "model" is.

In some cases you can do something like
anova(model, test='Chisq')

See the appropriate help to find out the options, but note that if the p-values are not provided by default, it could be because there is doubt about the accuracy of the approximation and you should use them with caution (or use simulation to verify the quality of the approximation). 

Hope this helps,