Data used in Exercise 10.1
Abc
A data frame/tibble with 54 observations on two variables
a numeric vector
a character vector A
, B
, and C
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
boxplot(response ~ group, col=c("red", "blue", "green"), data = Abc )
anova(lm(response ~ group, data = Abc))
#> Analysis of Variance Table
#>
#> Response: response
#> Df Sum Sq Mean Sq F value Pr(>F)
#> group 2 1068.6 534.28 2.9606 0.06132 .
#> Residuals 48 8662.4 180.47
#> ---
#> Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1