Data for Exercise 7.61
Rehab
A data frame/tibble with 20 observations on four variables
inmate identification number
rating from first psychiatrist on the inmates rehabilative potential
rating from second psychiatrist on the inmates rehabilative potential
psych1
- psych2
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
boxplot(Rehab$differ)
qqnorm(Rehab$differ)
qqline(Rehab$differ)
t.test(Rehab$differ)
Run the code above in your browser using DataLab