FAQ/ss - CBU statistics Wiki

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment
Type the odd characters out in each group: abz2a 125t7 HhHaHh year.s 5433r21 worl3d

Revision 9 as of 2008-08-19 14:44:29

location: FAQ / ss

Formulae for interaction sums of squares (SS) in balanced designs

Formulae for interaction sums of squares in a factorial (between subject) analysis of variance can be expressed as a sum of squared residuals. The residual formulae may be found to be easier to use for computing purposes than those (for example in Howell, 2002 as they only involve the squaring of only one term.

Boniface (1995) gives the formula for the two-way interaction SS as

$$ \sum_text{combinations i,j} n_text{ij}(\mbox{mean}_text{ij} - \mbox{mean}_text{i+} - \mbox{mean}_text{+j} + \mbox{overall mean})^text{2}$$

where $$n_text{ij}$$ observations have combination of values i and j. These are assumed equal for all i and j (balance). The '+' in the subscripts denotes pooling so, for example, $$\mbox{mean}_text{i+}$$ signifies the mean when the first factor takes the value i.

Using formulae in Howell (2002, p.459) for the three-way interaction and the orthogonality of the sums of squares in the anova for balanced designs we can define the SS(three-way interaction) as

$$\sum_text{combinations i,j,k} n_text{ijk}(\mbox{mean}_text{ijk} + \mbox{mean}_text{i++} + \mbox{mean}_text{+j+} + \mbox{mean}_text{++k} - \mbox{mean}_text{ij+} - \mbox{mean}_text{i+k} -\mbox{mean}_text{+jk} - \mbox{overall mean})^text{2}$$

where $$n_text{ijk}$$ observations have combination of values i, j and k. These are assumed equal for all i, j and k (balance). The '+' in the subscripts denotes pooling so that, for example, $$\mbox{mean}_text{i++}$$ signifies the mean when the first factor takes the value i and $$\mbox{mean}_text{ij+}$$ signifies the mean when the first two factors have values i and j respectively.

For a four-way interaction the sums of squares are

$$\sum_text{combinations i,j,k,l} n_text{ijkl} (\mbox{mean}_text{ijkl} - \mbox{mean}_text{i+++} - \mbox{mean}_text{+j++} - \mbox{mean}_text{++k+} - \mbox{mean}_text{+++l} $$

$$ + \mbox{mean}_text{ij++} + \mbox{mean}_text{i+k+} +\mbox{mean}_text{i++l} + \mbox{mean}_text{+jk+} + \mbox{mean}_text{+j+l} + \mbox{mean}_text{++kl} $$ $$ - \mbox{mean}_text{ijk+} - \mbox{mean}_text{ij+l} - \mbox{mean}_text{i+kl} - \mbox{mean}_text{+jkl} + \mbox{overall mean})^text{2}$$.

  • The above four-way interaction is simply the sum over all combinations of the four factors. For each combination of four factors the cell mean for that combination has subtracted all of its one-way and three-way means with all its two-way means added as well as the overall mean.