Learn R Programming

BSDA (version 1.01)

Psat: PSAT scores versus SAT scores

Description

Data for Exercise 2.50

Usage

Psat

Arguments

Format

A data frame with 7 observations on the following 4 variables.

psat

a numeric vector

sat

a numeric vector

SRES1

a numeric vector

FITS1

a numeric vector

Examples

Run this code
# NOT RUN {
str(Psat)
attach(Psat)
model <- lm(sat~psat)
plot(psat,resid(model))
detach(Psat)
# }

Run the code above in your browser using DataLab