Data for Exercise 10.58

Arthriti

Format

A data frame/tibblewith 51 observations on two variables

time

time (measured in days) until an arthritis sufferer experienced relief

treatment

a factor with levels A, B, and C

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples


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