Holm correction
The Holm correction adjusts p-values when a test makes several comparisons: sort them, test each against α/m, α/(m−1) and so on, stop at the first miss.
The Holm correction, or Holm-Bonferroni method, is a step-down procedure that adjusts p-values when one test compares several variants with the control. With several comparisons, the chance that at least one looks significant by luck grows; Holm keeps the chance of any false winner at the chosen level.
It controls that chance as strictly as the Bonferroni correction, but finds real winners more often.
Three variants have raw p-values of 0.01, 0.03 and 0.04. Holm-adjusted, they are 0.03, 0.06 and 0.06: only the first stays significant at 5%.
How do you calculate the Holm correction?
Sort the m p-values from smallest to largest. Compare the smallest with α/m, the next with α/(m−1), and so on up to α/1. Stop at the first p-value that fails: it and every larger one are not significant.
Adjusted p-values give the same answer: multiply the i-th smallest p-value by (m − i + 1), keep each adjusted value at least as large as the one before it, and cap it at 1. Compare the adjusted values with α directly.
What is the difference between Holm and Bonferroni?
Bonferroni compares every p-value with α/m. Holm uses α/m only for the smallest and relaxes the threshold step by step, so it finds every winner Bonferroni finds, often more, with the same guarantee against any false winner.
With three variants and α = 0.05, Bonferroni needs every p-value below 0.0167. Holm needs the smallest below 0.0167, the next below 0.025 and the largest below 0.05.
When should you use the Holm correction in A/B testing?
Whenever one test compares two or more variants with the same control and you'll pick a winner from them, as in an A/B/n test. With a single variant there is only one comparison, so there is nothing to correct.
Related terms
- Multiple comparisonsThe problem that the more comparisons you make in one test, the more likely one looks significant by chance.
- A/B/n testAn A/B test with more than one challenger: the control is compared with two or more variants in the same experiment.
- P-valueThe probability of seeing a difference at least as large as the observed one if the variant actually made no difference.
- False positiveCalling a winner that isn't real: the test finds a difference although the variant made none.
Where it comes up
- How to read an A/B test result · Guide