Learn R Programming

MPV (version 1.23)

p5.11: Data Set for Problem 5-11

Description

The p5.11 data frame has 8 observations on an experiment with a catapult.

Usage

data(p5.11)

Arguments

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(p5.11)
attach(p5.11)
ybar.i <- apply(p5.11[,5:7], 1, mean)
sd.i <- apply(p5.11[,5:7], 1, sd)
y.lm <- lm(ybar.i ~ x1 + x2 + x3 + x4)
plot(y.lm, which=1)
detach(p5.11)

Run the code above in your browser using DataLab