Two-way ANOVA handles two categorical variables. Two-way ANOVA can also investigate the interaction of the two categorical variables and its relation to the continuous dependent variable. For a two-way ANOVA the the sums of squares total can be broken down into four sums of squares, the sums of squares of factor A, sums of squares factor B, sums of squares of the interaction of A and B, plus the sums of squares error. Where the relevant sums of squares are denoted below:
| SST = | ∑
i=1a ∑
j=1b ∑
k=1c(x
ijk - | ||
| SSA = | bc∑
i=1a( | ||
| SSB = | ac∑
j=1b( | ||
| SSAB = | c∑
i=1a ∑
j=1b( | ||
| SSE = | ∑
i=1a ∑
j=1b ∑
k=1c(x
ijk - | ||
| SST = | SSA + SSB + SSAB + SSE | ||
| ∑
i=1a ∑
j=1b ∑
k=1c(x
ijk - | bc∑
i=1a( | ||
| ac∑
j=1b( | |||
| c∑
i=1a ∑
j=1b( | |||
| ∑
i=1a ∑
j=1b ∑
k=1c(x
ijk - | |||
A typical two-way ANOVA table with interaction looks like Table ??.
|