Factorial ANOVA#
The factorial ANOVA extends the one-way analysis of variance by simultaneously examining multiple independent factors. Beyond the main effects of each factor, it can also detect interaction effects between factors. It is one of the most important methods in experimental research when multiple influences are studied at the same time.
When to Use#
- You have two or more categorical independent variables (factors) and a continuous dependent variable
- You want to analyze both the individual effect of each factor and their interplay (interaction)
- The study design is fully crossed (every factor level occurs with every other factor level)
- Samples are independent of each other (between-subjects design)
- You want to go beyond additive effects β the interaction is often the most interesting research question
Assumptions#
- Normality of residuals (Shapiro-Wilk test, QQ plot)
- Homogeneity of variances across all cell combinations (Levene's test)
- Independence of observations (study design)
- Continuous (interval or ratio scaled) dependent variable
Note: The factorial ANOVA is robust against moderate violations of normality when designs are balanced (equal cell sizes). For unbalanced designs, Type III sums of squares should be used to avoid biased results.
Formula#
The total variance is decomposed into several components. For a two-way ANOVA with factors A and B:
The F-statistic for the main effect of Factor A:
The F-statistic for the main effect of Factor B:
The F-statistic for the A Γ B interaction:
Here, is the number of levels of Factor A, is the number of levels of Factor B, and is the total sample size.
Example#
Practical Example: Teaching Method Γ Gender on Exam Performance
An education researcher investigates whether teaching method (lecture, group work, blended learning) and gender (female, male) affect exam scores. The design is 3 Γ 2 with 20 students per cell (N = 120).
Results:
- Main effect of teaching method: , β teaching method significantly affects exam performance
- Main effect of gender: , β no significant gender difference
- Interaction teaching method Γ gender: , β the effect of teaching method differs between genders
The significant interaction reveals that blended learning leads to particularly better scores for female students, while male students show little difference across methods.
Effect Size#
The most commonly reported effect size is partial eta-squared ():
| Effect Size | |
|---|---|
| Small | 0.01 |
| Medium | 0.06 |
| Large | 0.14 |
Partial eta-squared indicates the proportion of variance explained by an effect after removing the variance attributable to other effects. It is calculated separately for each main effect and the interaction.
Further Reading
- Field, A. (2018). Discovering Statistics Using IBM SPSS Statistics (5th ed.). SAGE Publications.
- Maxwell, S. E., Delaney, H. D. & Kelley, K. (2018). Designing Experiments and Analyzing Data (3rd ed.). Routledge.
- Tabachnick, B. G. & Fidell, L. S. (2019). Using Multivariate Statistics (7th ed.). Pearson.