2.13 ANOVA in Multiple Groups
anova2 <- aov(bab9$bweight ~ bab9$matagegp) summary(anova2)
## Df Sum Sq Mean Sq F value Pr(>F) ## bab9$matagegp 3 99258 33086 0.08 0.97 ## Residuals 637 272620864 427976
Note that since there are four categories in matagegp, we get three degrees of freedom.
Exercise 9.6: From the results of this test: a) What is the null hypothesis being tested in the analysis of variance? b) What is the result of the test?