Skip to content

Repeated Measures General Linear Model

Analyses the same subjects measured several times or under several conditions (within-subjects factors), optionally together with between-subjects groups (mixed or split-plot ANOVA).

  • The same people measured before, during and after an intervention.
  • Every participant rates every condition (e.g. three interface designs).
  • Groups compared over time: the time × group interaction tests whether change differs between groups.
  • Data in wide format: one variable per measurement occasion, listed in the order of the within-subject cells (the last factor changes fastest).
  • Normally distributed differences between occasions.
  • Sphericity: equal variances of all pairwise differences. Mauchly’s test checks it; when it fails, use the Greenhouse-Geisser (conservative) or Huynh-Feldt correction, or the multivariate tests, which do not assume sphericity.
  • For between-subjects factors: equal covariance matrices across groups (Box’s M).
  • Mauchly’s Test of Sphericity: a significant result means sphericity is violated. Epsilon (1 = perfect sphericity) shows how much the degrees of freedom are reduced.
  • Tests of Within-Subjects Effects: one row per correction; report the Greenhouse-Geisser row when ε < .75, Huynh-Feldt when ε is higher, and sphericity-assumed when Mauchly’s test is not significant.
  • Multivariate Tests: an alternative that needs no sphericity assumption.
  • Tests of Within-Subjects Contrasts: for polynomial contrasts, whether the change over time is linear, quadratic and so on.
  • Tests of Between-Subjects Effects: group differences averaged over occasions.
  • Estimated Marginal Means with pairwise comparisons show which occasions or groups differ.

Mauchly’s test indicated that sphericity was violated, χ²(2) = 9.41, p = .009, so Greenhouse-Geisser corrected tests are reported (ε = .82). Anxiety decreased over the three sessions, F(1.64, 95.1) = 14.2, p < .001, ηp² = .20, and the decrease was larger in the treatment group, F(1.64, 95.1) = 4.37, p = .022, ηp² = .07.

Syntax: GLM anx1 anx2 anx3 BY group /WSFACTOR=session 3 POLYNOMIAL /PRINT=ETASQ /EMMEANS=TABLES(session) COMPARE ADJ(BONFERRONI) /PLOT=PROFILE(session*group) /WSDESIGN=session /DESIGN=group.


This page comes from OrcStat’s built-in help (the same text as in the app’s Help panel). To suggest a change, open an issue.