Tukey HSD: Pairwise Inference With a Familywise Error Budget
After comparing several group means, every pairwise comparison creates another chance of a false positive. Tukey’s HSD procedure is designed for all pairwise mean comparisons while controlling familywise error under its model assumptions. It is not simply an unadjusted collection of t tests.
For equal group sizes, a common form is HSD = q times the square root of (MSE/n), where q is a studentized-range critical value selected for the number of groups and error degrees of freedom.
A pairwise mean difference exceeding this threshold in magnitude is declared significant at the chosen familywise level.
For unequal sample sizes, Tukey-Kramer uses the two sample sizes in each pair. Using the smallest group size for every equal-n threshold also controls familywise error, but is needlessly conservative.
The procedure relies on the ANOVA error model: independent observations, approximately normal residuals within groups, and compatible variance assumptions. Statistical significance describes evidence against equal means in that modeled comparison; it does not by itself establish a practically important effect or a causal explanation.
A useful workflow is: define the comparison family, obtain the model MSE and degrees of freedom, use the correct studentized-range critical value, calculate a threshold or simultaneous interval, and report the contrast with its direction and uncertainty.
Four groups each have n = 25 observations. The ANOVA mean square error is 16, and the appropriate Tukey critical value is q = 3.60. What is the HSD threshold?
A one-way ANOVA has group sizes 12, 19, and 31. Which approach is most appropriate for all pairwise post-hoc comparisons?