A one-way normal model assigns each factor level its own mean while assuming independent Gaussian errors with a common variance.
A cell-means model uses one coefficient per factor level and no intercept, so each coefficient directly equals a group mean.
Suppose a normal linear model gives an unrestricted mean to each cell and has independent observations per cell, with common error variance . Each fitted cell mean is its sample mean, with variance ; different fitted cell means are independent. Estimate by the pooled within-cell residual sum of squares divided by , where is the number of cells. Thus a cell mean has standard error , a difference of two cell means has standard error , and a two-by-two difference-of-differences has standard error .
// Target: probability-and-statistics.bigb
A linear contrast is a coefficient-weighted sum of cell means whose coefficients total zero, used to test interpretable differences among groups.
A treatment contrast is a linear contrast of cell means comparing treatment responses, with coefficients adding to zero. Pairwise differences and marginal factorial differences are examples. Its variance depends on the true allocation units and their covariance matrix.
At equally replicated quantitative treatment levels, evaluations of orthogonal polynomials generate pairwise orthogonal treatment contrasts, using the replication-weighted inner product. Five equally spaced levels give four contrast directions representing degrees one through four, besides the constant direction. This decomposes treatment variation without assuming the response has low polynomial degree.
For a vector of estimated treatment means , the variance of a treatment contrast with coefficient vector is . Averaging subsamples from a common experimental unit does not make their shared variance component disappear.
An interaction contrast compares a treatment difference across levels of another factor. A nonzero difference of differences shows that an additive representation of those cell means is inadequate. Its standard error must use the error stratum in which that interaction term is randomized.
For binary predictors , a logistic regression with linear predictor has conditional odds ratios at and at . Their ratio is . The same interaction can be computed from the four cell logit link values as . Independent positive event and nonevent counts in each cell give an estimated variance for this contrast equal to the sum of all eight reciprocal counts. An interaction on the odds ratio scale is not an interaction on the absolute-risk scale.
Articles by others on the same topic
There are currently no matching articles.