Learn R Programming

BSDA (version 1.2.0)

Sat: SAT scores, percent taking exam and state funding per student by state for 1994, 1995 and 1999

Description

Data for Statistical Insight Chapter 9

Usage

Sat

Arguments

Format

A data frame/tibble with 102 observations on seven variables

state

U.S. state

verbal

verbal SAT score

math

math SAT score

total

combined verbal and math SAT score

percent

percent of high school seniors taking the SAT

expend

state expenditure per student (in dollars)

year

year

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 {
Sat94 <- Sat[Sat$year == 1994, ]
Sat94
Sat99 <- subset(Sat, year == 1999)
Sat99
stem(Sat99$total)
plot(total ~ percent, data = Sat99)
model <- lm(total ~ percent, data = Sat99)
abline(model, col = "blue")
summary(model)
rm(model)

# }

Run the code above in your browser using DataLab