Description Usage Format Details Source Examples
A simulated data set (similar to a data set presented by Milliken and Johnson, 2002), in which an interaction of a treatment effect with the quadratic term of a covariate is plausible.
1 | data("pc")
|
A data frame with 36 observations on the following 3 variables.
yield
a numeric vector, observed yield of a chemical process, the response variable of interest
x
a numeric vector, substance on which the chemical porocess depends, a potential covariate
additive
a factor with levels Control
S1
S2
, reprenting the treatments of interest: the process run without additive (control), and the process run in presence of two different additives
Milliken and Johnson (2002) discuss the analysis of this data set using ANCOVA. It is obvious, that a quadratic term can be used to model the yield
s dependency on the covariante x
. Milliken and Johnson show that either an interaction of the additive
with x
and a common quadratic term meay be used, or a common linear term and an interaction of the additive
with a quadratic term for x
may be used. The latter model is used here to illustrate the comparison of treatments in presence of treatment- covariate interaction, when interaction is with the quadratic term.
The data set is simulated to resemble a data set presented in Milliken and Johnson, 2002: Table 4.9, page 108; model: Table 4.11, 4.13, page 110.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.