STATISTICAL METHODS · BEGINNER GUIDE

Tukey HSD After ANOVA: A Pairwise Example

Use Tukey’s method to compare all pairs after a one-way ANOVA while controlling family-wise error.

Worked example · Tukey HSD after ANOVA exampleUpdated October 31, 2026

Quick answer: Tukey’s honestly significant difference procedure is designed for all pairwise comparisons among group means after an ANOVA. It uses a studentized-range reference to control family-wise error for that comparison family under its model assumptions.

Infographic for Tukey HSD after ANOVA example: Fit the planned ANOVA, then Define all pairwise comparisons, then Apply Tukey adjustment, then Report differences and simultaneous intervals.
Infographic: a practical sequenceKeep the question, design and assumptions in view from start to finish.
Pairwise mean differences. A−B: -5 points; A−C: -12 points; B−C: -7 points.
Pairwise mean differencesObserved differences only; adjusted uncertainty requires residual variance and sample sizes.

What this method answers

An omnibus ANOVA does not identify which pairs differ. Tukey HSD compares every pair while accounting for the number of comparisons, using a pooled within-group variance in its standard form.

Use it when the planned question concerns all pairwise mean differences. If only a few contrasts were specified in advance or variances differ substantially, another method may fit better.

Before running a calculation, write down the population and the exact quantity you want to estimate. A method name alone does not define the question, the comparison or the assumptions.

Steps to follow

  1. Check that the one-way model matches the group design.
  2. List every pair in the comparison family.
  3. Use a Tukey HSD implementation with the correct residual variance and sample sizes.
  4. Report adjusted inference and the raw scale differences.

Keep a record of exclusions, recoding decisions and software settings. That makes the analysis easier to check and repeat.

Worked example

Three training methods have sample means 70, 75 and 82 points. The relevant uncertainty also depends on each group’s sample size and pooled residual variation.

PairMean difference
A−B−5 points
A−C−12 points
B−C−7 points

The absolute observed differences are 5, 12 and 7 points. Tukey’s adjusted critical range is needed to determine which differences exceed the family-wise threshold; means alone cannot establish significance.

Interpret the result carefully

Report estimated pair differences and simultaneous intervals, not just a list of “significant” pairs. A non-significant pair is not proven equal.

Limit to keep in mind: The standard method assumes the ANOVA variance structure and independent errors. Unequal variances or missing cells can require a different model and comparison procedure.

When reporting an analysis, include the sample size, estimate, units and uncertainty. Explain why the method fits the sampling and measurement design. Separate planned tests from exploratory checks, and avoid saying that association proves a cause.

Frequently asked questions

Does Tukey test every pair?

Yes, the common Tukey HSD procedure is for all pairwise mean comparisons.

Do I need a significant omnibus ANOVA first?

Follow the analysis plan; the omnibus test and pairwise family answer related but distinct questions.

Does Tukey handle unequal variances?

The standard pooled-variance version does not generally solve substantial heteroscedasticity.

Does a non-significant pair mean equal means?

No. It means the comparison did not cross the adjusted threshold; inspect its interval.

Sources and next steps