Skip to main content
AI Platform ↗
06. Comparing 3+ Groups (ANOVA & Kruskal-Wallis)8 min readAdvanced Lesson

Post-Hoc Procedures & Repeated-Measures Sphericity

Choosing between Tukey HSD, Bonferroni, Dunnett, and Games-Howell, and applying Greenhouse-Geisser corrections when Mauchly's test fails.

In this lesson you will learn

  • 1Match each post-hoc procedure (Tukey HSD, Bonferroni, Dunnett, Games-Howell) to its specific trial structure and variance profile.
  • 2Define Sphericity in Repeated Measures ANOVA as equality of variances of all pairwise timepoint difference scores.
  • 3Apply the Greenhouse-Geisser or Huynh-Feldt epsilon (ε) multiplier to degrees of freedom when Mauchly's test yields p < .05.
On this page▼
01

Post-Hoc Decision Matrix & Sphericity Corrections

What this section is about

This section compares the four primary post-hoc tests and explains how Mauchly's sphericity test and Greenhouse-Geisser ε work in longitudinal studies.

Why it matters for your study

Reporting unadjusted Repeated Measures ANOVA degrees of freedom when Mauchly's p < .05 inflates Type I error and is routinely flagged by peer reviewers.

Once a significant omnibus ANOVA establishes that group means differ, select the post-hoc procedure that matches your contrast plan and variance diagnostics:

Procedure Optimal Scenario Key Property
Tukey HSD All pairwise comparisons across equal-variance groups. Uses studentized range distribution; higher power than Bonferroni for all pairs.
Dunnett's Test Comparing (k − 1) active treatments against a single reference Control only. Saves alpha by skipping treatment-vs-treatment tests.
Bonferroni / Holm A small number of pre-planned contrasts (or after Kruskal-Wallis Dunn test). Conservative when number of comparisons is large (α / c).
Games-Howell All pairwise comparisons when Levene's test fails (p < .05) or group sizes differ markedly. Uses Welch-adjusted df per pair without pooling variances.

Repeated Measures & Sphericity: When the same cohort is measured across k ≥ 3 timepoints (e.g. Baseline, Month 1, Month 3, Month 6), Repeated Measures ANOVA requires Sphericity—the variances of the differences between all pairs of timepoints must be equal. If Mauchly's Test of Sphericity yields p < .05, apply the Greenhouse-Geisser (ε) adjustment to shrink the degrees of freedom.

ANOVA Protected Limit (5.0%)5.0%k=2 (1 tests)14.3%k=3 (3 tests)26.5%k=4 (6 tests)40.1%k=5 (10 tests)53.7%k=6 (15 tests)
Figure:Post-hoc procedures and Greenhouse-Geisser epsilon adjustments keep familywise false-positive risk controlled at 5%.

Repeated-Measures Sphericity & Greenhouse-Geisser Calculator

See how epsilon (ε) scales degrees of freedom when Mauchly's sphericity test is significant

Timepoints (k):4
Patients (N):25
GG Epsilon (ε):0.68
Unadjusted df (Sphericity Assumed)
F(3, 72)
Valid only when Mauchly's p > .05
Greenhouse-Geisser Adjusted df
F(2.04, 48.96)
ε < 0.75 → Report Greenhouse-Geisser
APA 7th: F(2.04, 48.96) = 14.82, p < .001, ε = 0.68

Clinical Example

A cohort of 25 asthma patients has FEV1 measured across 4 timepoints (Baseline, 1h, 3h, 6h). Mauchly's test is significant (W = 0.48, p = .003), with Greenhouse-Geisser ε = 0.68.

Unadjusted df = (3, 72) × ε (0.68) → Greenhouse-Geisser adjusted F(2.04, 48.96) = 14.82, p < .001, η²_p = .38

Interpretation: Multiplying the unadjusted degrees of freedom (3 and 72) by ε = 0.68 yields decimal degrees of freedom F(2.04, 48.96), which immediately signals to reviewers that sphericity was properly corrected.

Common Pitfall

Using Bonferroni across 6 or more groups (15+ pairwise tests), which lowers the per-test alpha so drastically that genuine treatment effects are missed (Type II error).

Advanced Chapter

Included with Any Analysez AI Study Package

This deep interactive chapter (Post-Hoc Procedures & Repeated-Measures Sphericity) and its clinical simulation labs are unlocked for everyone who has bought any Analysez AI study package.

Full unlock of all 10 advanced handbook modules & interactive labs
Interactive statistical models, sandbox data editors & live curve simulators
Publication-ready APA 7th Word table downloads & results templates
Full access to the Analysez AI automated 55-check data cleaning platform
Post-Hoc Procedures & Repeated-Measures Sphericity | Biostatistics Handbook | Analysez