Statistics & Analysis

Post Hoc Test

Reviewed byShrishti Chaudhary

Definition

A post hoc test is a statistical procedure applied after an analysis of variance (ANOVA), usually one that yields a significant result, in order to identify which specific group means differ from one another.[1][4] Because ANOVA only determines that at least one group is different without specifying which, post hoc tests perform pairwise comparisons while controlling for the increased risk of Type I errors that arises from multiple testing.[1][2]

Explore the concept

Which pairs actually differ

Turn a significant ANOVA on four teaching methods into pair by pair answers, see what separate t tests would cost, and match each post hoc method to the question it fits.

Reading comprehension, four methods, 200 students

ANOVA

F(3, 196) = 5.14, p = 0.002

At least one method differs from another. Six pairs could be behind it.

Tap a pair

A significant F only says some difference exists. A post hoc procedure, ideally named in the analysis plan, finds which pairs.

The big idea: A post hoc test follows an ANOVA to find which group means differ, comparing pairs while controlling the familywise error rate. The method should match the comparisons needed and be chosen in the analysis plan, not after seeing which one gives significant results.

The study (four methods, F(3, 196) = 5.14, p = 0.002; Tukey: peer teaching 8.3 points above lecture, p = 0.001, and 5.7 above multimedia, p = 0.044; flipped classroom differs from none) and the 40% and 28% figures for five groups (10 comparisons) are the article's. The 26% for this four-group example is 1 − 0.95^6 for 6 independent tests, computed here. The multimedia vs lecture gap (2.6 points) is the difference of the two reported gaps; its significance is not reported, and it is shown as not significant because it is smaller than the gap that only just reached p = 0.044. Bonferroni's 0.0083 is 0.05 ÷ 6 pairs.

Why it matters

In any experiment comparing three or more groups, a significant ANOVA F test is only the first step. Without post hoc tests or planned comparisons, researchers cannot draw specific conclusions about which treatments outperformed others, which conditions produced different outcomes, or which groups diverged. Post hoc tests are therefore essential for translating a global finding of "some difference exists" into actionable, interpretable results. The choice of post hoc method directly affects both statistical power and error control, making it a methodological decision with real consequences for study conclusions.

How it works

After the ANOVA, usually once the F statistic is statistically significant, the researcher applies a post hoc procedure, ideally chosen in the analysis plan, to all pairwise comparisons (or a defined subset of comparisons). Each method handles the multiple comparison problem differently, balancing the tradeoff between controlling Type I error and maintaining statistical power.

Tukey's Honestly Significant Difference (HSD) is a widely used post hoc test for pairwise comparisons. It compares all possible pairs of group means simultaneously and controls the familywise error rate, meaning the probability of making at least one false positive across all comparisons remains at or below the nominal alpha level.[1][2] Tukey's HSD works best with equal sample sizes across groups and assumes homogeneity of variance.[1]

The Bonferroni correction is a simpler but more conservative approach. It divides the desired alpha level by the number of comparisons being made, so if a researcher performs 10 comparisons at alpha = 0.05, each individual comparison must reach p < 0.005 to be declared significant.[1][2] While easy to apply and valid with unequal sample sizes, Bonferroni is overly conservative when the number of comparisons is large, increasing the risk of Type II errors.

The Scheffé test is the most conservative of the common post hoc methods and is best suited for testing complex contrasts (comparisons involving combinations of groups) rather than simple pairwise comparisons.[1][2] Dunnett's test is specialized for comparing multiple treatment groups against a single control group, offering more power than Tukey or Bonferroni in that specific scenario.[2][5] Games Howell is appropriate when the assumption of equal variances is violated, and it also handles unequal group sizes.[1][3]

Tukey's HSD, Games Howell, Dunnett's test and Bonferroni corrected tests control the familywise error rate on their own, so a significant F test is not strictly required before them; many researchers still require one, which makes the overall procedure more conservative. Fisher's least significant difference (LSD) test is the exception: it relies on a significant F test for its protection, and even then it fully controls the familywise error rate only with three groups.[2]

The choice among these methods depends on the research question, sample size balance, variance equality, and whether the comparisons are pairwise or involve contrasts. Researchers should select the method before analyzing the data and report the rationale in their methods section.

When to use it

Use post hoc tests whenever ANOVA yields a significant result and you need to determine which groups differ. If you are comparing all groups to each other, Tukey's HSD is the standard choice. If you are comparing several treatments to one control, use Dunnett's test. If you need complex contrasts, consider Scheffé's test. A nonsignificant ANOVA does not in itself rule out a test such as Tukey's HSD, which controls the familywise error rate on its own, but decide in the analysis plan whether pairwise tests will be run whatever the F test shows; running them only after a disappointing F test, to look for something significant, is analytical flexibility. If you have specific, planned comparisons (such as treatment A versus placebo), use planned contrasts or a priori tests instead, which do not require a significant ANOVA.

Key takeaways

  • In any experiment comparing three or more groups, a significant ANOVA F test is only the first step.
  • Each method handles the multiple comparison problem differently, balancing the tradeoff between controlling Type I error and maintaining statistical power.
  • Use post hoc tests whenever ANOVA yields a significant result and you need to determine which groups differ.
  • A common error is performing multiple separate t tests instead of a proper post hoc procedure, which inflates the Type I error rate because it does not account for the total number of comparisons.

Common mistakes

  • A common error is performing multiple separate t tests instead of a proper post hoc procedure, which inflates the Type I error rate because it does not account for the total number of comparisons.[1] For example, with five groups, there are 10 possible pairwise comparisons, and if those 10 t tests at alpha = 0.05 were independent, the chance of at least one false positive would be about 40%; because the comparisons share groups, the true figure is lower, roughly 28% when all five means are equal, but still far above 5%.
  • Another mistake is selecting the post hoc method after seeing the data, choosing whichever test yields significant results, a form of analytical flexibility that undermines the validity of the findings.
  • Researchers also sometimes decide to run post hoc tests only after a nonsignificant ANOVA, then report a single significant pair as the main finding; whether pairwise tests follow the F test, whatever its result, should be set in the analysis plan.

Example

An educational psychology study compares reading comprehension scores across four instructional methods: traditional lecture, flipped classroom, peer teaching, and multimedia modules. ANOVA produces F(3, 196) = 5.14, p = 0.002. Tukey's HSD reveals that peer teaching produces significantly higher comprehension than traditional lecture (mean difference = 8.3 points, p = 0.001) and multimedia modules (mean difference = 5.7 points, p = 0.044), but the flipped classroom does not differ significantly from any other group.

Test your understanding

5 questions that adapt as you go: answer two in a row correctly and they get harder.

Question 1 of 5

Scenario:

A reviewer asks why a study comparing five groups used Tukey's HSD rather than simply running a t test for each pair.

Question:

What is the best reply?

Hardness: Interpret

Sources

  1. [1]Field A. Discovering Statistics Using IBM SPSS Statistics. 6th ed. SAGE Publications, 2024. ISBN 9781529630008
  2. [2]Hsu JC. Multiple Comparisons: Theory and Methods. London: Chapman & Hall; 1996. ISBN 9780412982811
  3. [3]Games PA, Howell JF. Pairwise multiple comparison procedures with unequal n's and/or variances: a Monte Carlo study. Journal of Educational Statistics. 1976;1(2):113-125. doi:10.3102/10769986001002113
  4. [4]Tukey JW. Comparing individual means in the analysis of variance. Biometrics. 1949;5(2):99-114. doi:10.2307/3001913
  5. [5]Dunnett CW. A multiple comparison procedure for comparing several treatments with a control. J Am Stat Assoc. 1955;50(272):1096-1121. doi:10.1080/01621459.1955.10501294

Cite this term

FullPaperguide. (2026, October 15). Post Hoc Test. In Paperguide Research Glossary. https://paperguide.ai/research-glossary/post-hoc-test/
In-text(Paperguide, 2026)

Related terms