Data for Exercise 7.82

Spellers

Format

A data frame/tibble with ten observations on two variables

teacher

character variable with values Fourth and Colleague

score

score on a standardized spelling test

References

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

Examples


boxplot(score ~ teacher, data = Spellers, col = "pink")

t.test(score ~ teacher, data = Spellers)
#> 
#> 	Welch Two Sample t-test
#> 
#> data:  score by teacher
#> t = -0.18515, df = 16.12, p-value = 0.8554
#> alternative hypothesis: true difference in means between group Colleague and group Fourth is not equal to 0
#> 95 percent confidence interval:
#>  -8.710076  7.310076
#> sample estimates:
#> mean in group Colleague    mean in group Fourth 
#>                   112.1                   112.8 
#>