Learn R Programming

MPV (version 1.38)

p7.6: Data Set for Problem 7-6

Description

The p7.6 data frame has 12 observations on softdrink carbonation.

Usage

data(p7.6)

Arguments

Format

This data frame contains the following columns:
y
carbonation
x1
temperature
x2
pressure

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.6)
y.lm <- lm(y ~ x1 + I(x1^2) + x2 + I(x2^2) + I(x1*x2), data=p7.6)
summary(y.lm)

Run the code above in your browser using DataLab