Data for Exercise 10.13

Maze

Format

A data frame/tibble with 32 observations on two variables

score

error scores for animals running through a maze under different conditions

condition

a factor with levels CondA, CondB, CondC, and CondD

References

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

Examples


boxplot(score ~ condition, data = Maze, col = rainbow(4))

anova(lm(score ~ condition, data = Maze))
#> Analysis of Variance Table
#> 
#> Response: score
#>           Df Sum Sq Mean Sq F value    Pr(>F)    
#> condition  3 287.75  95.917  27.903 1.465e-08 ***
#> Residuals 28  96.25   3.437                      
#> ---
#> Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1