View Full Version : ANOVA table in R


capo_mo
12-01-2006, 12:42 PM
When using the following commands
fit<-aov(lm(data~group))
summary(fit)
to produce an ANOVA table, I can see the F-value but how would I determine the p-value?

Lets ask this way: How would I determine, using the above commands, if the groups are equivalent?

I am pretty bad at stat because I am not really a stat student, but have to take this 200-level course in order to get my degree.

Any help is appreciated.

BioStatMatt
12-02-2006, 07:11 PM
The summary() command should give you a p-value for group. You should get some output like this:

Df Sum Sq Mean Sq F value Pr(>F)
group 1 2.483 2.483 1.8779 0.1737
Residuals 98 129.570 1.322

~Matt