Asthmati | R Documentation |
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
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")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.