Enter the Studentized range critical value (q), the Mean Square Within / Mean Square Error (MSW or MSE), and the sample size per group (for equal n) or the two group sample sizes (for unequal n) to compute Tukey’s HSD (or the Tukey–Kramer critical difference). Optionally enter two group means to check whether their absolute difference exceeds the critical difference.
Related Calculators
- Scheffe Test Calculator
- Eta Squared Calculator
- Welch’s T Test Calculator
- MSR (Mean Square of Regression) Calculator
- All Statistics Calculators
Hsd (Honestly Significant Difference) Formula
The following formulas are used in Tukey’s multiple-comparisons procedure to calculate the critical difference between group means:
\text{Equal }n:\quad \mathrm{HSD}=q\sqrt{\frac{\mathrm{MSW}}{n}}
\\
\text{Unequal }n\text{ (Tukey–Kramer):}\quad \mathrm{CD}_{ij}=q\sqrt{\frac{\mathrm{MSW}}{2}\left(\frac{1}{n_i}+\frac{1}{n_j}\right)}Variables:
- HSD is the Honestly Significant Difference (the critical difference threshold in Tukey’s HSD procedure for equal group sizes)
- q is the critical value from the Studentized range distribution (depends on α, the number of groups a, and the within/error degrees of freedom)
- MSW is the Mean Square Within (also called MSE, the pooled within-group variance estimate from ANOVA)
- n is the sample size per group (for the equal-n case)
- a is the number of groups being compared (used to select q)
Once you obtain q from the Studentized range distribution, compute the critical difference (HSD for equal n, or CDij for unequal n). A pairwise difference between means is typically declared statistically significant when |meani − meanj| exceeds the critical difference.
What is an Hsd (Honestly Significant Difference)?
The Honestly Significant Difference (HSD) is the name commonly given to the critical difference threshold used in Tukey’s HSD post-hoc multiple-comparisons method. It is often used after an ANOVA (Analysis of Variance) indicates that at least one group mean differs, and you want to identify which pairs of group means differ while controlling the family-wise Type I error rate across many pairwise comparisons. Under Tukey’s method, a pairwise comparison is typically called significant when the absolute difference between two group means is greater than the HSD (or the Tukey–Kramer critical difference in the unequal-n case).
How to Calculate Hsd (Honestly Significant Difference)?
The following steps outline how to calculate the Honestly Significant Difference (HSD).
- Run (or review) the ANOVA and record MSW (MSE) and the within/error degrees of freedom.
- Choose a family-wise significance level (α), such as 0.05.
- Determine the number of groups being compared (a) and the sample size per group (n) (or the group sample sizes ni for unequal sample sizes).
- Look up the Studentized range critical value q for your α, number of groups a, and within/error degrees of freedom.
- Compute the critical difference: for equal n, HSD = q × √(MSW / n); for unequal n, use the Tukey–Kramer form CDij = q × √(MSW/2 × (1/ni + 1/nj)).
- For each pair of groups, compute |meani − meanj| and conclude the pair differs significantly if |meani − meanj| > (HSD or CDij). You can verify your result with the calculator above.
Example Problem:
Use the following variables as an example problem to test your knowledge.
Mean difference (between two group means) = 5
Pooled within-group standard deviation = 2 (so MSW = MSE = 22 = 4)
Sample size per group (n) = 20
Desired level of significance (alpha) = 0.05 (suppose the Studentized range critical value from the table is q = 4.00 for your number of groups and within/error degrees of freedom)
