Learn R Programming

BSDA (version 1.2.2)

Iqgpa: GPA versus IQ for 12 individuals

Description

Data for Exercises 9.51 and 9.52

Usage

Iqgpa

Arguments

Format

A data frame/tibble with 12 observations on two variables

iq

IQ scores

gpa

Grade point average

References

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

Examples

Run this code

plot(gpa ~ iq, data = Iqgpa, col = "blue", pch = 19)
model <- lm(gpa ~ iq, data = Iqgpa)
summary(model)
rm(model)

Run the code above in your browser using DataLab