Bonferroni Correction

Statistics
Introduced by
Carlo Emilio Bonferroni; formalized for multiple comparisons by Olive Jean Dunn
Year
1961
Type
Family-wise error rate (FWER) correction

What does it do?

The Bonferroni correction is a method for controlling the family-wise error rate (FWER) when several hypothesis tests are conducted together.

It is grounded in Bonferroni's 1936 probability inequality and was formalized for multiple comparisons by Olive Jean Dunn in 1961. The procedure divides the target significance level α by the number of tests m, so the probability of at least one false rejection across the family does not exceed α, without requiring any assumption about how the tests are correlated.

The intuition behind the method

Suppose you run 20 tests, and every one of them is a true null hypothesis. If each test is run at α = 0.05, you expect about one of them to come out significant by chance alone (20 × 0.05 = 1). Each test carries a small false-positive risk, and across many tests those risks add up. The Bonferroni correction offsets this by making each individual test stricter: to keep the chance of any false positive across the 20 tests at 0.05 or below, each test must reach p ≤ 0.05 / 20 = 0.0025. Only results that clear this tighter bar are declared significant.

History

The inequality at the heart of the correction appears in Carlo Emilio Bonferroni's 1936 Italian-language monograph on the statistical theory of classes and probability calculus. Olive Jean Dunn's 1961 paper 'Multiple Comparisons among Means' in the Journal of the American Statistical Association formalized the use of this bound for multiple comparisons: it considers estimating a number m of pre-chosen linear contrasts among k means with Student t intervals whose joint confidence level is at least a preassigned value. Miller's 'Simultaneous Statistical Inference' (1981) is a standard reference on this family of methods. Later step-down procedures (Holm) and false discovery rate control (Benjamini-Hochberg) established the Bonferroni correction as the conservative reference point against which more powerful methods are compared.

When to use it

Use the Bonferroni correction when you run a small to moderate number of tests (m ≥ 2) as one pre-specified family and need the probability of at least one false positive across that family to stay at or below α, commonly 0.05. Typical cases are a limited set of planned contrasts, secondary endpoints in a trial, or a few pre-specified subgroup or outcome tests. It requires no assumption about dependence among the tests beyond the validity of each individual test. Do not use it when m is very large, as in genome-wide scans: the per-test threshold becomes very strict and power falls, and false discovery rate control via the Benjamini-Hochberg procedure answers a different question and is usually preferred there. For all pairwise comparisons among group means after ANOVA, Tukey HSD is usually the more suitable choice. If FWER control with more power is wanted, the Holm step-down procedure is the natural alternative.

Limitations and considerations

  • The union bound ignores overlap between the events being bounded. When tests are positively correlated, the true FWER can sit well below α, and the correction then sacrifices power it did not need to give up.
  • Each test must reach α/m, so power falls as m grows. With a very large family the threshold becomes extremely small and few true effects survive.
  • Holm's step-down procedure controls the FWER at the same level and never rejects fewer hypotheses, so Bonferroni is dominated whenever the step-down sequence can be computed.
  • The procedure controls the FWER, not the false discovery rate. For exploratory screening of many outcomes, it can miss a large share of real effects that an FDR procedure would detect.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • The per-test threshold is α/m, so the adjustment can be computed by hand and stated in a pre-registration before any data are seen.
  • The FWER guarantee comes from the union bound, which holds under any dependence among the test statistics, so the correlation structure does not need to be known.
  • It applies to any set of simultaneous tests for which valid individual p-values exist, not only to ANOVA contrasts.
  • Adjusted p-values (each p multiplied by m, capped at 1) allow results to be compared directly with the original α without recalculating thresholds.

Applications

  • Post-hoc pairwise comparisons after a significant one-way ANOVA when only a limited, pre-specified set of group pairs is of interest, controlling the experiment-wise error rate. For all pairwise comparisons, Tukey HSD is a common alternative.
  • Clinical trials with multiple secondary endpoints or a small number of pre-specified subgroup interaction tests, where a spurious finding could have serious regulatory or clinical consequences.
  • Epidemiological studies testing associations between a single exposure and several health outcomes simultaneously.
  • Psychology and social science experiments that include multiple dependent variables or several planned contrasts.
  • Neuroimaging analyses comparing activation across a moderate number of pre-specified regions of interest.

How it works

How it works

1

Before testing, enumerate all m hypotheses that will be evaluated together. The family-wise error rate is the probability that at least one true null hypothesis is incorrectly rejected. Without any correction, this probability rises rapidly with m: for independent tests at α = 0.05 per test, even m = 14 pushes the FWER above 50%. The Bonferroni correction aims to keep the FWER at or below α for the whole family.

Formula
H_{0,i}:\ \theta_i = 0 \quad (i = 1, \ldots, m);\quad \text{FWER} = P\!\left(\bigcup_{i=1}^{m} \text{reject } H_{0,i} \mid H_{0,i} \text{ true}\right)
2

The mathematical foundation is Boole's inequality (also called the Bonferroni inequality), which states that the probability of a union of events is at most the sum of their individual probabilities. Applied to testing: if each test controls its individual Type I error at α/m, the union bound guarantees that the joint FWER cannot exceed m × (α/m) = α, regardless of the dependence structure among the tests.

Formula
P\!\left(\bigcup_{i=1}^{m} A_i\right) \leq \sum_{i=1}^{m} P(A_i)
3

The corrected per-comparison threshold is α* = α/m, which follows directly from the union bound. For example, with m = 5 tests and a target FWER of 0.05, each individual test must achieve p ≤ 0.01 to be declared significant. This single threshold applies uniformly to all tests in the family, which makes the procedure simple to communicate and to pre-register. The same idea carries over to interval estimation: when m pre-chosen contrasts are estimated simultaneously, each confidence interval is built at the individual level 1 − α/m, which keeps the joint confidence level at or above 1 − α. Dunn (1961) developed this use with Student t intervals for m contrasts chosen in advance among k means.

Formula
\alpha^* = \frac{\alpha}{m}
4

Each individual p-value is compared to the adjusted threshold α* = α/m. Any test with p_i ≤ α/m is declared significant. Equivalently, one can multiply each p-value by m and compare the result to the original α; these adjusted p-values are capped at 1. Because the bound holds under any dependence structure among the tests, no assumptions about the correlations between test statistics are needed.

Formula
\text{Reject } H_{0,i} \iff p_i \leq \frac{\alpha}{m}

Common pitfalls

  • Applying the correction to only some of the tests run. The m in α/m must count every test in the family being jointly evaluated; leaving out tests run on the same question undercounts m and inflates the FWER.
  • Confusing FWER control with FDR control. Bonferroni is not a false discovery rate method and does not give the same results as Benjamini-Hochberg.
  • Choosing m after seeing the data, for example by dropping outcomes once results are known. This inflates the effective number of comparisons beyond what the correction accounts for.
  • Using Bonferroni on strongly positively correlated tests when the goal is joint inference, where the correction overstates the multiple-testing burden.
  • Reading a result that fails the α/m threshold as evidence of no effect, rather than as a failure to detect an effect at the corrected threshold.

Frequently asked questions

Why is the Bonferroni correction called conservative?

The union bound it uses, P(A₁ ∪ … ∪ Aₘ) ≤ ΣP(Aᵢ), is an inequality, not an equality. When the tests are positively correlated, the true FWER is lower than α, so the correction is more stringent than it needs to be. The actual FWER may be well below α, and the method rejects fewer true nulls than a procedure that accounts for the dependence structure would.

When should I use Holm's procedure instead of Bonferroni?

Holm's step-down procedure always rejects at least as many hypotheses as Bonferroni at the same FWER level, so it uniformly dominates Bonferroni in power. In practice Holm should be preferred whenever a slightly more complex calculation is acceptable. Bonferroni keeps an advantage in simplicity and when a single adjusted threshold must be stated in advance, for instance in a pre-registered protocol.

Should I use Bonferroni or Benjamini-Hochberg for many tests?

It depends on the scientific goal. Bonferroni controls the FWER, the probability of even one false positive in the whole family. Benjamini-Hochberg controls the FDR, the expected proportion of false positives among rejected hypotheses. For exploratory large-scale testing, FWER control is often too stringent and FDR control is typically preferred. For confirmatory settings with a small number of primary hypotheses, Bonferroni or Holm remains appropriate.

Does Bonferroni assume the tests are independent?

No. The Bonferroni inequality holds under any dependence structure: tests may be independent, positively correlated, or negatively correlated. This generality is one of its main strengths. It also means the correction does not exploit positive correlation to gain power, which is why it is conservative when tests are strongly correlated.

Related methods

Sources

  1. Bonferroni, C. E. (1936). Teoria statistica delle classi e calcolo delle probabilità. Pubblicazioni del R Istituto Superiore di Scienze Economiche e Commerciali di Firenze, 8, 3–62.

    Open publication reference
  2. Dunn, O. J. (1961). Multiple comparisons among means. Journal of the American Statistical Association, 56(293), 52–64.

    Open DOI reference
  3. Miller, R. G. (1981). Simultaneous Statistical Inference (2nd ed.). Springer-Verlag.

    ISBN: 978-1-4613-8124-2