Learn R Programming

alr4 (version 1.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 factor
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. (2014). Applied Linear Regression, 4th edition. Hoboken NJ: Wiley.

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