Reading scores for first grade children who attended kindergarten versus those who did not
Data for Exercise 7.68
Kinder
A data frame/tibble with eight observations on three variables
a numeric indicator of pair
reading score of kids who went to kindergarten
reading score of kids who did not go to kindergarten
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
boxplot(Kinder$kinder, Kinder$nokinder) diff <- Kinder$kinder - Kinder$nokinder qqnorm(diff) qqline(diff) shapiro.test(diff) t.test(Kinder$kinder, Kinder$nokinder, paired = TRUE) # Or t.test(diff) rm(diff)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.