Sat | R Documentation |
Data for Statistical Insight Chapter 9
Sat
A data frame/tibble with 102 observations on seven variables
U.S. state
verbal SAT score
math SAT score
combined verbal and math SAT score
percent of high school seniors taking the SAT
state expenditure per student (in dollars)
year
The 2000 World Almanac and Book of Facts, Funk and Wagnalls Corporation, New Jersey.
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.