powered by
Data for Example 7.18
Lowabil
A data frame/tibble with 12 observations on three variables
a numeric indicator of pair
score of the child with the experimental method
score of the child with the standard method
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
# NOT RUN { diff = Lowabil$experiment - Lowabil$control qqnorm(diff) qqline(diff) shapiro.test(diff) t.test(Lowabil$experiment, Lowabil$control, paired = TRUE) # OR t.test(diff) rm(diff) # }
Run the code above in your browser using DataLab