cakes {alr3} | R Documentation |
Oehlert (2000, Example 19.3) provides data from a small experiment on baking packaged cake mixes.
data(cakes)
A data frame with 14 observations on the following 4 variables.
a numeric vector
Baking time, minutes
Baking temperature, degrees F
Palatability score
Oehlert, G. W. (2000). A First Course in Design and Analysis of Experiments. New York: Freeman.
Weisberg, S. (2005). Applied Linear Regression, 3rd edition. New York: Wiley, Section 6.1.1.
data(cakes) lm(Y~X1+X2+I(X1^2)+I(X2^2)+X1:X2, data=cakes)