Learn R Programming

BSDA (version 1.2.0)

Press: Degree of confidence in the press versus education level for 20 randomly selected persons

Description

Data for Exercise 9.55

Usage

Press

Arguments

Format

A data frame/tibble with 20 observations on two variables

education_yrs

years of education

confidence

degree of confidence in the press (the higher the score, the more confidence)

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 {
plot(confidence ~ education_yrs, data = Press)
model <- lm(confidence ~ education_yrs, data = Press)
abline(model, col = "purple")
summary(model)
rm(model)

# }

Run the code above in your browser using DataLab