Mixed-Design Analysis of Variance (ANOVA)
A method that analyzes differences between groups together with how the same people change over time, and tests whether the pattern of change differs from group to group.
How much does the confidence of people who took part in a training program rise after the training? Does the change last over time? Is the size of the change different compared with people who did not receive the training?
As in these questions, a method that compares different groups while also analyzing repeated measurements of the same participants is called mixed-design analysis of variance (mixed-design ANOVA). One factor varies between participants, and the other is repeated within the same participant.
Independent-groups ANOVA focuses on differences between groups, and repeated-measures ANOVA focuses on differences over time within the same participants. Mixed-design ANOVA handles both at once and, in particular, tests whether the change over time depends on the group as an interaction effect.
It can be used to compare the effects of training programs, follow up treatment and control groups, evaluate products before and after use, and more. In this article we use a training group and a comparison group to look at how the analysis works, the three effects, how to read the graph and results table, checking assumptions, post hoc comparisons, how it differs from other analyses, and how to report it.
What is mixed-design ANOVA?
It handles a between-subjects factor and a repeated-measures factor in a single analysis.
Mixed-design analysis of variance is an ANOVA that includes a between-subjects factor and a within-subjects factor. For example, whether someone received training is a group factor fixed for each participant, while before, right after, and 4 weeks after training is a time factor measured repeatedly on the same participant.
Why do we need mixed-design ANOVA?
Comparing only the two groups' final scores can miss the course of the change.
Even if the training group scores higher right after training, the interpretation changes if the groups already differed at the start. Conversely, if the groups were similar at first but only one group improved substantially after training, the pattern of change itself becomes an important result. Mixed-design ANOVA evaluates these group differences and changes over time simultaneously.
| Category | Training group | Comparison group |
|---|---|---|
| Participants | 30 | 30 |
| Before training | 61 | 62 |
| Right after | 73 | 64 |
| 4 weeks later | 79 | 65 |
How does mixed-design ANOVA work?
It tests group, time, and the interaction of the two factors separately.
① Define the group factor
Divide participants into a training group and a comparison group. Each participant belongs to only one group.
② Specify the repeated time points
Measure each participant's confidence before training, right after training, and 4 weeks later.
③ Separate the three effects
The group main effect is the difference between groups averaged over all time points, the time main effect is the difference between time points averaged over all groups, and the interaction means whether the change over time differs by group.
④ Run F tests that match the error structure
Account for the correlation among repeated measurements within participants and compute F statistics using the appropriate error term for each effect.
Real-world case: a training program and change in confidence
Confidence scores are measured at three time points for 30 people in each of two groups.
This is a hypothetical example for learning. Thirty people who took part in a training program and 30 who did not were surveyed before, right after, and 4 weeks after the training. The means below are examples for explaining the concepts, not results tested on real observed data.
| Time point | Training group mean | Comparison group mean | Mean difference (training − comparison) |
|---|---|---|---|
| Before training | 61 | 62 | −1 |
| Right after | 73 | 64 | +9 |
| 4 weeks later | 79 | 65 | +14 |
How do you read the group × time interaction?
Check how much the mean difference between groups changes across time points.
In this case, the difference between the two groups is −1 point before training, +9 points right after, and +14 points 4 weeks later. Because the size of the group difference changes over time, you can see visually that the training group may have improved more than the comparison group.
How do you read the mixed-design ANOVA results table?
Separate the three effects, and check the interaction test first.
| Effect tested | Main question | What to check in the results table |
|---|---|---|
| Group main effect | Does the mean over all time points differ by group? | Group F, p, partial η² |
| Time main effect | Does the mean over all groups differ by time point? | Time F, p, partial η² |
| Group × time | Does the change over time differ by group? | Interaction F, p, partial η² |
In an actual analysis, you should present each effect's F value, degrees of freedom, p-value, and effect size. Because only means are shown here, we have not attached made-up test statistics or p-values. In particular, if the interaction is significant, prioritize follow-up comparisons of the change over time within each group.
Which assumptions should you check before the analysis?
Look at independence of observations, the distribution of residuals, and the variance and covariance structure.
| Item to check | What to look for |
|---|---|
| Independence between groups | Are observations from different participants independent? |
| Normality and outliers | The error distribution in each group and how extreme values affect the results |
| Homogeneity of variance across groups | Are the variances of the outcome not too different across groups? |
| Sphericity | With three or more time points, are the variances of the repeated-measures difference scores equal? |
| Missing data and dropout | What do missing responses at each time point and dropout patterns by group look like? |
If sphericity is violated, you can consider a Greenhouse–Geisser or Huynh–Feldt correction. If there is a lot of missing data or the measurement intervals are uneven, a linear mixed-effects model may be more appropriate.
If there is an interaction, what do you compare?
Look separately at the time effect within each group or the group difference at each time point.
If the group × time interaction is significant, analyze the simple effects. You can check whether scores changed across time points in the training group and whether there was any change in the comparison group, or compare the two groups at each time point.
| Follow-up comparison | Question in the example |
|---|---|
| Time comparisons within the training group | How do before, right after, and 4 weeks later differ? |
| Time comparisons within the comparison group | Did scores change just from the passage of time? |
| Group comparisons at each time point | Is there a group difference before, right after, and 4 weeks after training? |
| Group comparison of change scores | Does the increase from before training to 4 weeks later differ by group? |
When comparing several pairs, apply a multiple-comparison correction such as Holm or Bonferroni and check the adjusted p-values and confidence intervals.
How do you interpret effect sizes?
Look at the size of the change and of the effect along with the p-value.
In mixed-design ANOVA you can report effect sizes such as partial η² for each effect. But a single value alone can hardly explain how important the actual change is. It is better to also present confidence intervals for the score differences and the changes.
In the hypothetical example, the training group's increase from before training to 4 weeks later is 18 points, and the comparison group's is 3 points. The between-group difference in change is 15 points, but whether this is more than a chance difference requires estimation and testing with observed data.
Things to watch out for in mixed-design ANOVA
Consider the structure of the design, missing data, and assumption violations together.
Check whether group assignment was random
If the training and comparison groups were not randomly assigned, preexisting differences and confounders may remain. A significant interaction cannot be taken directly as a causal effect.
Keep participants independent of each other
Repeated measurements within the same participant are linked, but observations across participants must be independent. Data clustered by class or organization must account for the clustering.
Check for missing data and dropout
If participants who did not respond at 4 weeks are concentrated in one group, the results can be distorted.
Choose the analysis according to assumption violations
Review sphericity, outliers, and the variance structure, and use an appropriate correction or a mixed-effects model if needed.
How does it differ from other analyses?
They can be distinguished by whether they include a group factor and a repeated-measures factor.
| Method | Design | Main question |
|---|---|---|
| Independent-groups ANOVA | Compares different groups only | Do the group means differ? |
| Repeated-measures ANOVA | Measures the same participants several times | Do the means differ by time point? |
| Mixed-design ANOVA | Between-subjects + repeated-measures factor | Does the pattern of change differ by group? |
| Linear mixed-effects model | Flexibly models repeated and clustered structures | How do we account for complex structures such as unbalanced follow-up and missing data? |
Mixed-design ANOVA can be understood as repeated-measures ANOVA with a group factor added. In practice, depending on the time intervals, missing data, and group structure, a more flexible longitudinal model may be needed.
How do you report mixed-design ANOVA results?
Present descriptive statistics by group and time, the interaction test, and follow-up comparisons, in that order.
First describe the study design, the sample size of each group, and the time points, and present means and standard deviations. Then report assumption checks such as sphericity and whether corrections were applied, and the F value, degrees of freedom, p-value, and effect size for the three effects; if the interaction is significant, describe the simple effects and corrected post hoc comparisons.
In an actual paper, you would go on to report the computed interaction test results (F, degrees of freedom, p, effect size), assumption corrections, and post hoc comparison results.
Where can mixed-design ANOVA be used?
It is used in studies that compare changes over time across several groups.
| Field | Group factor | Repeated-measures factor |
|---|---|---|
| Education | New teaching method / existing method | Achievement before, during, and after the course |
| Health | Treatment group / control group | Symptoms before treatment, at 4 weeks, and at 8 weeks |
| Psychology | Counseling / no counseling | Before counseling, at the end, and at follow-up |
| Product research | New UI / existing UI | Satisfaction before rollout, right after use, and 4 weeks later |
It fits when change over time in different groups is the center of the research question. However, you don't use a mixed design just because there are repeated measurements; the group division and measurement structure must match the actual study design.
Mixed-design ANOVA shows whether change differs from group to group.
Going beyond looking at group means and time effects separately, it examines the change the two factors create together.
In the training program example, the training group's mean confidence rose from 61 to 79 points, while the comparison group went from 62 to 65 points. Rather than the simple difference in final scores, the important question is how different the two groups' amounts of change were from start to finish. The interaction test in mixed-design ANOVA evaluates exactly this difference.
When interpreting the results, distinguish the group and time main effects from the interaction, and if the interaction is significant, explain what change occurred using simple effects and post hoc comparisons. You should also check sphericity, missing data, and how groups were assigned, and it is important not to confuse a statistical association with a causal effect.
Mixed-design ANOVA analyzes a between-subjects factor and a repeated-measures factor together. The key is the group × time interaction: it checks whether change over time differs by group. Comparisons after an interaction need a multiple-comparison correction, and analysis conditions such as sphericity, missing data, and group assignment must be checked.