powered by
Data for Exercise 7.86
Oxytocin
A data frame/tibble with 11 observations on three variables
a numeric vector indicating each subject
mean arterial blood pressure of subject before receiving oxytocin
mean arterial blood pressure of subject after receiving oxytocin
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
# NOT RUN { diff = Oxytocin$after - Oxytocin$before qqnorm(diff) qqline(diff) shapiro.test(diff) t.test(Oxytocin$after, Oxytocin$before, paired = TRUE) rm(diff) # }
Run the code above in your browser using DataLab