openintro (version 1.7.1)

elmhurst: Elmhurst College gift aid

Description

A random sample of 50 students gift aid for students at Elmhurst College.

Usage

data("elmhurst")

Arguments

Format

A data frame with 50 observations on the following 3 variables.

family_income

Family income of the student.

gift_aid

Gift aid, in $1000s.

price_paid

Price paid by the student (tuition - gift aid).

Examples

Run this code
# NOT RUN {
data(elmhurst)
plot(elmhurst$family_income, elmhurst$gift_aid)
m <- lm(gift_aid ~ family_income, data = elmhurst)
abline(m)
summary(m)
# }

Run the code above in your browser using DataCamp Workspace