Learn R Programming

MPV (version 1.38)

p7.2: Data Set for Problem 7-2

Description

The p7.2 data frame has 10 observations on solid-fuel rocket propellant weight loss.

Usage

data(p7.2)

Arguments

Format

This data frame contains the following columns:
x
months since production
y
weight loss (kg)

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.2)
y.lm <- lm(y ~ x + I(x^2), data=p7.2)
summary(y.lm)
plot(y ~ x, data=p7.2)

Run the code above in your browser using DataLab