Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Treatments

Illustrates analysis of variance for three treatment groups


Description

Data for Exercise 10.44

Usage

Treatments

Format

A data frame/tibble with 24 observations on two variables

score

score from an experiment

group

factor with levels 1, 2, and 3

References

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

Examples

boxplot(score ~ group, data = Treatments, col = "violet")
summary(aov(score ~ group, data = Treatments))
summary(lm(score ~ group, data = Treatments))
anova(lm(score ~ group, data = Treatments))

BSDA

Basic Statistics and Data Analysis

v1.2.0
GPL (>= 2)
Authors
Alan T. Arnholt [aut, cre], Ben Evans [aut]
Initial release
2017-07-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.