Press | R Documentation |
Data for Exercise 9.55
Press
A data frame/tibble with 20 observations on two variables
years of education
degree of confidence in the press (the higher the score, the more confidence)
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
plot(confidence ~ education_yrs, data = Press)
model <- lm(confidence ~ education_yrs, data = Press)
abline(model, col = "purple")
summary(model)
rm(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.