Learn R Programming

alr3 (version 2.0.5)

cakes: Cakes data

Description

Oehlert (2000, Example 19.3) provides data from a small experiment on baking packaged cake mixes.

Arguments

Format

A data frame with 14 observations on the following 4 variables.
block
a numeric vector
X1
Baking time, minutes
X2
Baking temperature, degrees F
Y
Palatability score

Source

Oehlert, G. W. (2000). A First Course in Design and Analysis of Experiments. New York: Freeman.

References

Weisberg, S. (2005). Applied Linear Regression, 3rd edition. New York: Wiley, Section 6.1.1.

Examples

Run this code
head(cakes)
lm(Y~X1+X2+I(X1^2)+I(X2^2)+X1:X2, data=cakes)

Run the code above in your browser using DataLab