Post-hoc tests: Tukey, Games-Howell and Dunn

Analytika TeamLast reviewed 7 min read

With three groups there are three possible pairs, and with five groups there are ten. Testing each pair at α = .05 lets false positives pile up. Post-hoc (“after this”) tests compare every pair while keeping the overall error rate at α.

Choosing a post-hoc test

AfterUseWhy
One-way ANOVA (equal variances)Tukey’s HSDDesigned for all pairwise comparisons, with good power
Welch’s ANOVA (unequal variances)Games-HowellDoesn’t assume equal variances or equal group sizes
Kruskal-WallisDunn’s test with Holm (or Bonferroni) correctionUses the same ranks as the omnibus test
Repeated measures ANOVAPairwise paired t-tests with Holm correctionRespects the within-subject pairing

This is the pairing Analytika follows automatically: whichever omnibus test the assumption checks choose, the matching post-hoc test runs with it.

Tukey’s HSD

Tukey’s “honestly significant difference” compares every pair of means using the pooled variance from the ANOVA, with critical values that account for the number of groups. It gives adjusted p-values and simultaneous confidence intervals for each difference.

Example: tooth growth in guinea pigs given vitamin C at three doses. After a significant ANOVA, Tukey’s HSD finds that every pair differs (all p < .001). Growth rises by 9.13 units from 0.5 to 1 mg (95% CI 5.90 to 12.36) and by a further 6.37 from 1 to 2 mg (3.14 to 9.59).

Games-Howell

Games-Howell is like Tukey but uses each pair’s own variances and Welch-style degrees of freedom, so it stays accurate when variances or group sizes differ. On the same tooth-growth data it gives nearly identical results (for example 9.13, CI 5.69 to 12.57), because the variances there are similar. When they’re not, Tukey can mislead and Games-Howell won’t.

Dunn’s test

After Kruskal-Wallis, Dunn’s test compares the groups’ mean ranks, giving a z statistic for each pair, with p-values adjusted for the number of comparisons. In the ozone example, July and August had higher ozone than May (Holm-adjusted p = .0001 and .0003).

Bonferroni and Holm as general-purpose options

When no dedicated post-hoc test exists, run the pairwise tests and adjust their p-values. Holm is always at least as powerful as Bonferroni while giving the same protection. See multiple comparisons.

Planned contrasts vs post-hoc tests

If you decided on specific comparisons before seeing the data, such as each treatment vs a control, testing just those is more powerful than testing every pair. Dunnett’s test is designed for comparing several groups with one control. Post-hoc tests are for exploring all pairs after the fact.

Common mistakes

  • Running post-hoc tests after a non-significant omnibus test and reporting whatever pair comes out significant.
  • Using Tukey with clearly unequal variances. Use Games-Howell.
  • Running unadjusted t-tests for every pair and calling them post-hoc tests.
  • Reporting only “significant / not significant”. Give adjusted p-values and the size of each difference.

Reporting

Tukey’s HSD comparisons indicated that tooth growth was greater at 1 mg than at 0.5 mg, mean difference = 9.13, 95% CI [5.90, 12.36], p < .001, and greater at 2 mg than at 1 mg, mean difference = 6.37, 95% CI [3.14, 9.59], p < .001.

More in Comparing groups

Run this on your own data

Upload a dataset and ask your question in plain English. Analytika checks the assumptions, picks the test, runs it, and writes the results up in APA format.

Try it free