powered by
Oehlert (2000, Example 19.3) provides data from a small experiment on baking packaged cake mixes.
A data frame with 14 observations on the following 4 variables.
a factor
Baking time, minutes
Baking temperature, degrees F
Palatability score
Weisberg, S. (2014). Applied Linear Regression, 4th edition. Hoboken NJ: Wiley.
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