powered by
Data for Exercise 7.52
Asthmati
A data frame/tibble with nine observations on three variables
asthmatic relief index for patients given a drug
asthmatic relief index for patients given a placebo
difference between the placebo and drug
placebo
drug
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
qqnorm(Asthmati$difference) qqline(Asthmati$difference) shapiro.test(Asthmati$difference) with(data = Asthmati, t.test(placebo, drug, paired = TRUE, mu = 0, alternative = "greater") )
Run the code above in your browser using DataLab