Learn R Programming

MPV (version 1.38)

p7.4: Data Set for Problem 7-4

Description

The p7.4 data frame has 12 observations on two variables.

Usage

data(p7.4)

Arguments

Format

This data frame contains the following columns:
x
a numeric vector
y
a numeric vector

Source

Montgomery, D.C., Peck, E.A., and Vining, C.G. (2001) Introduction to Linear Regression Analysis. 3rd Edition, John Wiley and Sons.

Examples

Run this code
data(p7.4)
y.lm <- lm(y ~ x + I(x^2), data = p7.4)
summary(y.lm)

Run the code above in your browser using DataLab