Readiq | R Documentation |
Data for Exercises 2.10 and 2.53
Readiq
A data frame/tibble with 14 observations on two variables
reading achievement score
IQ score
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
plot(reading ~ iq, data = Readiq)
model <- lm(reading ~ iq, data = Readiq)
abline(model, col = "purple")
predict(model, newdata = data.frame(iq = c(100, 120)))
residuals(model)[c(6, 7)]
rm(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.