Two-Way Mixed ANOVA (1 between × 1 within)
VerifiedRepeat / Within
Run this test straight away on a free built-in teaching dataset — no data of your own needed — or bring your own. Either opens the guided workspace: variable setup, assumption diagnostics, results with effect sizes and confidence intervals, figures, and APA-ready reporting.
Loading teaching datasets…
Or use your own dataset
Loading your datasets…
Tests effects of BOTH a between-subjects factor and a within-subjects factor on a continuous DV, including their interaction (the most common substantive question — does the group effect change over t
ime?). Three F-tests: Between main effect, Within main effect, Between×Within interaction. Auto-applies Greenhouse-Geisser / Huynh-Feldt sphericity corrections to within-involving F's when Mauchly rejects. Reports per-cell means, η²p effect sizes, and pairwise post-hoc with Bonferroni correction.
Worked example
Does an outcome change over time differently between two groups?
A mixed ANOVA crosses a between-subjects factor (group) with a within-subjects factor (time), testing the Group × Time interaction.
A significant Group × Time interaction, F(2, 76) = 5.9, p = .004, showed the treatment group improved while the control did not.
A mixed ANOVA revealed a significant Group × Time interaction, F(2, 76) = 5.9, p = .004.
When to use it
- Group × Time design (treatment groups measured over time)Two therapy groups (CBT vs medication) measured on anxiety at baseline, 4 weeks, and 8 weeks.
- Split-plot design (between × within)Male and female athletes (between) perform under 3 stress conditions (within: low, medium, high).
When NOT to — use instead
- All factors between-subjectsUse two-way ANOVA — no within-subjects component. → Two-Way ANOVA (factorial A \u00d7 B)
- All factors within-subjectsUse two-way RM-ANOVA — no between-subjects component. → Two-Way RM-ANOVA (2 within factors)
- Missing within-cells (subjects miss measurements)Listwise deletion drops the subject. → Linear Mixed Effects (LMM) \u2014 clustered / repeated data (ICC, BLUPs)
- 3 factors (one between + two within)Use the BWW variant of three-way mixed ANOVA. → Three-Way Mixed ANOVA BWW (1 between \u00d7 2 within)
Hypotheses
Parameter tested: set of cell means {μ_{ij}} and their marginal / interaction decomposition
Assumptions (and what to do if they fail)
Check: Inspect per-cell boxplots; flag points beyond the whiskers.
If violated: Outliers in a cell can inflate within-cell variance and distort the F-tests.
Check: Shapiro-Wilk on residuals.
If violated: Severely non-normal residuals threaten the F-test's Type I error rate.
Check: Levene's p > .05 at every within-level → homogeneity met.
If violated: Unequal between-group variances at some within-levels inflate F-test Type I error.
Check: Mauchly's test on the within-factor; non-significant → sphericity met.
If violated: When sphericity is violated, the within main effect and the between × within interaction F-tests have inflated Type I error.
Ready to run a Two-Way Mixed ANOVA (1 between × 1 within) on your own data?
Guided setup, automatic assumption checks, effect sizes, figures and an APA write-up.
Run this test →