Formula q = |mean_i - mean_j| / sqrt((MS_within / 2)(1/n_i + 1/n_j)); p from the studentized range distribution with k groups and N - k df. Interval = difference +/- q_crit x SE (Tukey-Kramer for unequal n).
Assumptions The same as one-way ANOVA: independent observations, roughly normal residuals, similar variances. All pairwise comparisons were planned as a family. Limitations Tukey is slightly conservative with unequal group sizes. Does not apply to unequal variances (use Games-Howell, not included). References Tukey JW. Comparing individual means in the analysis of variance. Biometrics. 1949;5(2):99-114. Kramer CY. Extension of multiple range tests to group means with unequal numbers of replications. Biometrics. 1956;12(3):307-310. Pagano M, Gauvreau K. Principles of Biostatistics. 2nd ed. Pacific Grove: Duxbury; 2000. Runs in your browser with fixed formulas. No AI, no AI credits, and your inputs are not sent anywhere. This is a planning aid and not a substitute for review by a qualified statistician.