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,

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111


> -----Original Message-----
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of R User R User
> Sent: Friday, February 13, 2009 10:53 AM
> To: r-help@r-project.org
> Subject: [R] how to obtain p values from an ANOVA result
> 
> 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@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.

______________________________________________
R-help@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.

Reply via email to