Data for Exercise 10.58
Arthriti
A data frame/tibblewith 51 observations on two variables
time (measured in days) until an arthritis sufferer experienced relief
a factor with levels A
, B
, and C
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
boxplot(time ~ treatment, data = Arthriti,
col = c("lightblue", "lightgreen", "yellow"),
ylab = "days")
anova(lm(time ~ treatment, data = Arthriti))
#> Analysis of Variance Table
#>
#> Response: time
#> Df Sum Sq Mean Sq F value Pr(>F)
#> treatment 2 610 305.02 0.606 0.5497
#> Residuals 48 24162 503.37