In our last lesson, we successfully used a one-way ANOVA to determine that a statistically significant difference exists among the appeal scores of different lingerie styles. This was a crucial first step, confirming that our design choices matter. However, the ANOVA's "omnibus" F-test left us with an important unanswered question: we know that a difference exists, but we don't know where it lies. Which specific styles are outperforming others?
This lesson will equip you with the tool to answer that question. We will delve into post-hoc analysis, specifically focusing on Tukey's Honestly Significant Difference (HSD) test. You will learn how to conduct and interpret this test to make precise, pairwise comparisons between your lingerie styles. This allows you to move from a general conclusion to actionable insights for your photoshoot, such as identifying the clear "winners" and "losers" among the styles you tested.
The Problem with Multiple Comparisons
After getting a significant ANOVA result, a natural impulse might be to run a series of t-tests for every possible pair of styles. For instance, with four bottom styles (Thong, Brazilian, Boyshort, High-Waist), you would need to run six separate t-tests:
- Thong vs. Brazilian
- Thong vs. Boyshort
- Thong vs. High-Waist
- Brazilian vs. Boyshort
- Brazilian vs. High-Waist
- Boyshort vs. High-Waist
While this approach seems straightforward, it introduces a serious statistical problem: the inflation of the Type I error rate. As you know from your background, if you set your significance level () at 0.05 for a single test, you accept a 5% chance of a false positive. However, when you run multiple tests, the probability of getting at least one false positive across the entire "family" of tests skyrockets. For six comparisons, the family-wise error rate (FWER) becomes:
This means you would have a 26.5% chance of incorrectly concluding that a difference exists when it doesn't—a risk far too high for making reliable design decisions. Post-hoc tests are designed specifically to solve this problem by allowing multiple comparisons while keeping the family-wise error rate at your desired level (e.g., 0.05).
The following resource from "Statistics by Jim" provides an excellent explanation of this concept.
Using Post Hoc Tests with ANOVA
This article clearly explains why post-hoc tests are necessary and introduces the critical concept of the experiment-wise error rate.
Please read the introduction and the section What is the Experiment-wise Error Rate?. Focus on how the number of comparisons dramatically increases the probability of a Type I error.
Pinpointing the Differences with Tukey's HSD
Tukey's HSD is one of the most common post-hoc tests used after a significant one-way ANOVA. It compares all possible pairs of means simultaneously while controlling the family-wise error rate. The test works by calculating a single critical value, the "Honestly Significant Difference," which acts as a yardstick. If the absolute difference between any two sample means is greater than this HSD value, we conclude that the difference is statistically significant.
The "Yardstick" Calculation
The formula for the HSD value is:
Where:
- is the critical value from the studentized range distribution. You find this value in a table using your significance level (), the number of groups (), and the degrees of freedom for the error term () from your ANOVA table.
- is the Mean Square Error (or Within-Group Mean Square) from your ANOVA table. It's our pooled estimate of the variance, or "noise."
- is the sample size per group (assuming a balanced design).
This video from statslectures provides a clear, step-by-step example of calculating and applying this value.
Post-Hoc Tests for One-Way ANOVA
This video walks through the entire post-hoc testing process, from the rationale to the final interpretation of Tukey's HSD.
Watch the full video. Pay close attention to these parts: The motivation for using a post-hoc test. How to calculate the HSD value by finding q and using values from the ANOVA output. The final interpretation, where the calculated HSD is used as a threshold to judge the significance of mean differences.
Interpretation with Confidence Intervals
Modern statistical software often presents Tukey's HSD results as a set of simultaneous confidence intervals for the differences between means. This is a particularly intuitive way to interpret the results. For each pair of styles (e.g., Push-up vs. Plunge), the output provides a 95% confidence interval for the true difference in their mean appeal scores.
The rule for interpretation is simple:
- If a confidence interval does not contain zero, the difference between that pair of means is statistically significant.
- If a confidence interval does contain zero, the difference is not statistically significant.
This graphical representation is very powerful. Let's examine an example. Suppose we tested four materials (A, B, C, D) for strength. After a significant ANOVA, we run a Tukey test.

In this plot, we can quickly see:
- The intervals for (B-A), (C-A), (D-A), (C-B), and (D-C) all cross the zero line. This means we cannot conclude that these pairs are significantly different from each other.
- The interval for (D-B) is entirely to the right of zero. This indicates that the mean of group D is significantly higher than the mean of group B.
This visual method allows for immediate identification of significant results and also gives you a sense of the precision of the estimate (the width of the interval).
Using Post Hoc Tests with ANOVA
This section of the "Statistics by Jim" article demonstrates how to interpret both adjusted p-values and the simultaneous confidence intervals from a Tukey HSD test.
Focus on the part of the article under the heading Example of Using Tukey's Method. The table of adjusted p-values and the confidence interval plot are the two most common ways you will see these results presented.
Practice Exercise
Let's return to the exercise from our previous lesson. You conducted an experiment comparing four lingerie bottom styles: thong, brazilian, boyshort, and high-waist. Your ANOVA produced a significant result (), confirming a difference exists.
Here is the relevant information from your ANOVA table and your data collection:
- Number of groups (): 4
- Sample size per group (): 20
- Mean Square Error (): 20.0
- Degrees of Freedom for Error (): 76
After calculating the mean appeal scores for each style, you found:
- Thong: 9.5
- Brazilian: 8.8
- Boyshort: 5.2
- High-Waist: 5.0
Your Task:
- Find the critical value for HSD. Using , , and , the appropriate studentized range value is .
- Calculate the HSD "yardstick" value. Use the formula provided above.
- Perform all six pairwise comparisons. For each pair, calculate the absolute difference between their means.
- Determine which pairs are significant. Compare each difference to your calculated HSD value.
- Summarize your findings. Write a concluding paragraph explaining which styles are statistically superior for the photoshoot. You can use the common lettering notation (e.g., styles sharing a letter are not significantly different) to summarize the groups. For a detailed guide on this notation, you can refer to the Penn State resource below.
2.3 - Tukey Test for Pairwise Mean Comparisons | STAT 502
This optional resource provides a detailed walkthrough of the lettering method for reporting Tukey results.
If you'd like a reference, read the section Step 2: Rank the means. It shows how to systematically compare means and assign letters to denote significant and non-significant groupings.
Take your time to work through the calculations and draw your final conclusions.
Conclusion
Today, you've added a crucial tool to your experimental design toolkit. You now understand not only why post-hoc tests are necessary but also how to conduct and interpret one of the most common methods, Tukey's HSD. By moving beyond the omnibus ANOVA F-test, you can now generate fine-grained, actionable insights from your fitting room experiments.
Key Takeaways:
- Running multiple t-tests after an ANOVA inflates the family-wise Type I error rate. Post-hoc tests like Tukey's HSD are designed to control this error.
- Tukey's HSD can be interpreted using a calculated critical value (the "yardstick") or by examining simultaneous confidence intervals for the differences between means.
- If the difference between two means exceeds the HSD value, or if the confidence interval for their difference does not contain zero, the two groups are considered statistically significantly different.
So far, our experiments have focused on a single factor, such as "bra style." But what if the appeal of a look depends on the combination of factors? For example, does a balconette bra work better with a thong, while a plunge bra works better with a brazilian cut? In our next lesson, we will explore two-way ANOVA, a powerful technique for analyzing the main effects of two factors and, crucially, their interaction.