Learn R Programming

BSDA (version 1.2.0)

Asthmati: Asthmatic relief index on nine subjects given a drug and a placebo

Description

Data for Exercise 7.52

Usage

Asthmati

Arguments

Format

A data frame/tibble with nine observations on three variables

drug

asthmatic relief index for patients given a drug

placebo

asthmatic relief index for patients given a placebo

difference

difference between the placebo and drug

References

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

Examples

Run this code
# NOT RUN {
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