Data for Exercise 2.42

Sophomor

Format

A data frame/tibble with 20 observations on four variables

student

identification number

gpa

grade point average

sat

SAT math score

exam

final exam grade in college algebra

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples


cor(Sophomor)
#>            student        gpa        sat       exam
#> student 1.00000000 0.03318292 0.00558619 0.06689427
#> gpa     0.03318292 1.00000000 0.90061435 0.86065205
#> sat     0.00558619 0.90061435 1.00000000 0.82544464
#> exam    0.06689427 0.86065205 0.82544464 1.00000000
plot(exam ~ gpa, data = Sophomor)

if (FALSE) {
library(ggplot2)
ggplot2::ggplot(data = Sophomor, aes(x = gpa, y = exam)) + 
           geom_point()
           ggplot2::ggplot(data = Sophomor, aes(x = sat, y = exam)) + 
           geom_point()
}