p5.21 {MPV}R Documentation

Data Set for Problem 5-21

Description

The p5.21 data frame has 4 observations on 2 variables (replicated 4 times).

Usage

data(p5.21)

Format

This data frame contains the following columns:

Mix.Rate

a numeric vector

y1

a numeric vector

y2

a numeric vector

y3

a numeric vector

y4

a numeric vector

Source

Montgomery, D.C., Peck, E.A., and Vining, C.G. (2021) Introduction to Linear Regression Analysis. 6th Edition, John Wiley and Sons.

Examples

 cementStrength <- reshape(p5.21, idvar = "Mix.Rate", varying=list(2:5), 
    direction="long", v.names=c("TensileStrength"))
 rownames(cementStrength) <- NULL
 anova(lm(TensileStrength ~ Mix.Rate*time, data = cementStrength))

[Package MPV version 1.63 Index]