What does a factor bring at each level of the other? (simple effects, main effect with an interaction)
In brief
If the interaction is clear, the main effect says little because it averages over levels in which the effect turns out differently. Then the simple effects are read: the effect of one factor separately within each level of the other.
An example by hand
A training is tested with low and high prior knowledge, 10 people in each of the four cells. Cell means (points): low prior knowledge with training 22, without 14; high prior knowledge with training 24, without 23. The error variance is 20.
- Simple effect at low prior knowledge: 22 − 14 = 8. At high prior knowledge: 24 − 23 = 1.
- The main effect would be (8 + 1) : 2 = 4.5. That is not a value that holds for any group: the training helps almost only with low prior knowledge.
- Standard error of a difference between two cell means: square root of (2 · 20 : 10) = 2.
- t for low prior knowledge: 8 : 2 = 4; for high prior knowledge: 1 : 2 = 0.5. The effect shows only with low prior knowledge.
When simple effects, when main effects?
- No noteworthy interaction: the main effects describe the picture well and are the simpler statement.
- Clear interaction: the simple effects describe what actually happens in each level; the main effect only an average.
- Each simple effect is a test of its own. With several the level is adjusted, in Statable with the Holm procedure.
How it works in Statable
- Open the example "Does the reading training help?" and look at the analysis "Training and gender together".
- Below the result of the two-way analysis of variance are the simple effects: the effect of the training for each gender and the effect of gender for each training group, each with F, degrees of freedom and Holm-adjusted p.
- Compare with the interaction chart: where the distance between the lines is large, the simple effect is large.
What is often misunderstood
For specialists
Simple effects use the pooled error term of the whole model (MS_error with N − ab degrees of freedom); the standard error of a difference between two cells is the square root of 2·MS_error : n. The test corresponds to emmeans::joint_tests per level. For the effect of a factor with more than two levels the simple effect is an F test with several degrees of freedom in the numerator. Several simple effects form a family for which Holm keeps the level.
Sources
Maxwell, S. E. & Delaney, H. D. (2004). Designing Experiments and Analyzing Data (2nd ed.), chapter on simple effects. Dormann, C. F. Parametrische Statistik (on interpreting interactions).
Take away
- With a clear interaction the main effect is not interpreted, but the effect separately at each level of the other factor.
- Standard error of the difference between two cell means: square root of (2 · error variance : n per cell).
- The main effect is the mean of the simple effects and may hold for no level.
- Several simple effects are several tests; the level is adjusted (Holm).