Reading a two-way ANOVA interaction
Main effects vs interaction, the interaction plot, simple main effects, Type III sums of squares and partial η².
Is it better to learn from videos or from reading? What if the answer depends on when you study?
"There are two factors — how do I read this?"
Open a two-way ANOVA table and there are two main-effect rows plus an interaction row, and it is easy to freeze over where to start. Here is how to read main effects and interactions in a two-way ANOVA, including the interaction plot and simple main effects.
What two-way ANOVA is
Two-way ANOVA tests in one go how two categorical factors affect the mean of a continuous outcome. One analysis answers three questions.
- The main effect of factor A — do means differ by A?
- The main effect of factor B — do means differ by B?
- The interaction A × B — does the effect of A depend on B?
Today's example
| Item | Details |
|---|---|
| Subjects | 80 university students (20 per condition) |
| Factor A | Study time — morning / evening |
| Factor B | Material format — video / text |
| Outcome | Vocabulary test score (out of 30) |
2 × 2 gives four cells, and the design compares the mean of each cell.
Main effects vs interaction
A main effect is the difference after averaging over the other factor. The main effect of study time, for example, is "morning vs evening" with video and text pooled.
An interaction means the effect of one factor changes with the level of the other. As in: "scores drop in the evening only with text materials."
So if the interaction is significant, you should not generalise from the main effect alone and say "evening is worse."
Reading the interaction plot
Joining the cell means with lines gives the interaction plot.
- Parallel lines → no interaction
- Lines that spread apart or cross → interaction
| Study time | Text | Video |
|---|---|---|
| Morning | 24.15 | 22.75 |
| Evening | 18.85 | 22.40 |
From morning to evening, text drops 5.30 points while video changes by just 0.35. The slopes are clearly different, so the lines cross on the plot.
With an interaction, look at simple main effects
A simple main effect looks again at one factor's effect within a single level of the other factor.
| Effect | Result |
|---|---|
| Study time, text materials | F = 23.77, p < .001 |
| Study time, video materials | F = 0.09, p = .767 |
| Format, in the evening | F = 10.85, p = .002 |
| Format, in the morning | F = 1.40, p = .243 |
In short, the evening penalty appeared only with text, and in the evening video beat text.
Check the assumptions first
- Independence — each person is in one cell only
- Normality — Shapiro-Wilk within each cell
- Equal variances — Levene or Brown-Forsythe across cells
- Cell sizes — if cells differ in size (unbalanced), the type of sums of squares matters
For unbalanced designs, Type III sums of squares, which test each effect allowing for the interaction, are the most widely used. With equal cell sizes, Types I, II and III give the same result.
If the same people went through every condition, use repeated-measures ANOVA or mixed-design ANOVA instead.
Effect size: partial η²
With several factors, the usual effect size is partial eta squared (η²p), which looks at an effect with the others taken out.
η²p = effect SS ÷ (effect SS + error SS) (.01 small · .06 medium · .14 large)
Reading the output
| Effect | Result |
|---|---|
| Interaction | F(1, 76) = 9.58, p = .003, η²p = .11 |
| Study time | F(1, 76) = 12.48, p < .001, η²p = .14 |
| Format | F(1, 76) = 1.81, p = .183, η²p = .02 |
- Start with the interaction row — it is significant, so move on to simple main effects
- F(1, 76) — 2 levels − 1 = 1; error df 80 − 4 = 76
- The study-time main effect (morning 23.45 vs evening 20.63) is significant, but it is really the drop with text
- The format main effect is not significant, yet there is a clear difference in the evening
How to write it up
The interaction between study time and material format was significant, F(1, 76) = 9.58, p = .003, η²p = .11. Simple main effects showed that with text materials, evening scores (M = 18.85) were significantly lower than morning scores (M = 24.15), F(1, 38) = 23.77, p < .001, whereas with video there was no difference by study time, F(1, 38) = 0.09, p = .767.
Example sentence · the numbers are made up
Report the main effects too, but say that they were not interpreted on their own because of the interaction.
In Skari
In Skari's statistics app, open Comparison → ANOVA → Two-Way ANOVA.
In the Variables step, pick the dependent variable and factors A and B, and the design — say 2 × 2 = 4 cells — appears at once.

In Settings, the Configuration Summary shows the post hoc tests (Tukey HSD + Games-Howell) and effect sizes (η²p + ω²p), and you can choose the Sum of Squares Type — I, II or III. The default is Type III (Recommended).

Try it with your own data
Open Comparison → ANOVA → Two-Way ANOVA
The top of the report lines up F and η²p for the interaction and both main effects as key figures. The results paragraph also starts with the interaction, and when it is significant it tells you to look at simple main effects.

When the interaction is significant, a simple main effects table is added automatically, and the cell-by-cell post hoc test is recommended as Tukey HSD or Games-Howell based on a Brown-Forsythe check.

The charts include the interaction plot, distributions by factor, a residual Q-Q plot, and cell means with 95% CIs.

Cell descriptives, marginal means for each factor, and per-cell normality and variance tests are in the report too. Switch tables to APA under Table style; the report downloads as Word or PDF and tables as Excel.
Wrapping up
In a two-way ANOVA the order is interaction first, then main effects. If there is an interaction, check its shape on the plot and use simple main effects to pin down where the difference lies — the result becomes far more convincing.
Want the theory behind it?The Academy's Two-Way ANOVA chapter covers main effects, interactions, simple effects and types of sums of squares →