An illustration of analysis of variance
Data for Exercise 10.4
Groups
A data frame/tibble with 78 observations on two variables
a factor with levels A
, B
, and C
a numeric vector
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
boxplot(response ~ group, data = Groups, col = c("red", "blue", "green")) anova(lm(response ~ group, data = Groups))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.