Interaction in Two-Way ANOVA
Interaction in Two-Way ANOVA
In a two-way ANOVA we study how two factors, A and B, jointly affect a response. The full model is
Interaction, (αβ)ij, measures whether the effect of Factor A changes across levels of Factor B (and vice versa).
If the two factors act additively, the change in mean response from one level of A to another is the same at every level of B, the interaction terms are all zero.
When the interaction terms are not all zero, the factors interact: the size or direction of one factor's effect depends on the level of the other. In a crossover interaction, the best level may change.
Profiles of mean response across levels of Factor B (B1, B2) for two levels of Factor A, shown in two panels (Panel 1 left, Panel 2 right). The legend applies to both panels.
Detecting interaction
Plot the cell means against the levels of one factor, drawing a separate line for each level of the other factor (an interaction plot). Roughly parallel lines suggest no interaction; lines that cross or diverge sharply suggest interaction. A plot only gives a visual clue, the formal test uses the ANOVA table.
Testing interaction
With a levels of A, b levels of B, and r replicates per cell, the interaction sum of squares SSAB has (a−1)(b−1) degrees of freedom, and
compared against F(a−1)(b−1),N−ab. A small p-value provides evidence, under the ANOVA assumptions, that the effect of one factor depends on the level of the other.
Worked mini-example
Suppose mean yields are: Catalyst 1–Low = 20, Catalyst 1–High = 30, Catalyst 2–Low = 25, Catalyst 2–High = 20. Catalyst 1's yield rises with temperature while Catalyst 2's falls, the lines would cross, hinting at interaction, which you would then assess for statistical significance using the F-test above.
Reaction Yield by Temperature for Two Catalysts
In a two-way ANOVA, which statement correctly describes an interaction effect between Factor A and Factor B?
Using the graph of mean reaction yield versus temperature for two catalysts, which conclusion is best supported by the pattern shown?
Profiles of mean response across levels of Factor B (B1, B2) for two levels of Factor A, shown in two panels (Panel 1 left, Panel 2 right). The legend applies to both panels.
Reaction Yield by Temperature for Two Catalysts