Two-way mixed ANOVA: groups of subjects measured over time

Two groups of subjects — control and treated — each measured at three times. Group is a between-subjects factor (a subject is in one group only); time is within-subject (every subject is measured at every time). MinutePlot fits the univariate split-plot ANOVA: group is tested against subjects within groups, time and group×time against the within-subject error.

The data

One row per subject, the group in the first column, the times across:

SubjectGroupT1T2T3
C1Control49.251.453.1
C2Control47.850.052.5
T1Treated52.655.159.4
T8Treated51.053.758.2

Mixed layout: subjects down the rows, their group in a label column, the within-subject levels across.

In MinutePlot

Choose Two-way mixed ANOVA, paste the table, run. Mauchly’s test is computed on the repeated-measures covariance pooled within the groups (the standard mixed-design formulation), and the Greenhouse–Geisser correction is applied to the within-subject effects when needed.

The result

On the validation dataset behind this guide: time F(2, 28) = 83.8, p < 0.001; group×time F(2, 28) = 7.17, p = 0.003 (the treated group climbs faster); the group main effect on its own does not reach significance (F(1, 14) = 4.19, p = 0.060). The interaction is the finding: the treatment shows up as a steeper rise, not a uniform offset.

Grouped bar chart of the response by group and time with letters

The figure MinutePlot produces: the two groups along the axis, one bar per time; the steeper rise in the treated group is the interaction.

Report it like this

“The response rose over time (F(2, 28) = 83.8, p < 0.001), more steeply in the treated group (group×time F(2, 28) = 7.17, p = 0.003).”

Try it yourself — in a minute. Paste the table above into MinutePlot, press Confirm and Analyze, and you will get this exact analysis and a publication-ready figure with the letters placed for you. Open MinutePlot in your browser — free 14-day trial, no card needed.
References
  1. Greenhouse, S. W. & Geisser, S. (1959). On methods in the analysis of profile data. Psychometrika, 24, 95–112.
  2. Mauchly, J. W. (1940). Significance test for sphericity of a normal n-variate distribution. Annals of Mathematical Statistics, 11, 204–209.