Multiple comparisons
Bonferroni adds valid individual error bounds across a fixed test family.
On this page 8 sections
01Testing many candidate effects creates many chances for a false positive#
Testing many candidate effects creates many chances for a false positive. Even if each test has a modest false-positive rate, searching a large collection and reporting only its most favorable result changes the meaning of the evidence.
A family is the full set of tests whose errors you want to control together. Fix it before seeing results. A false rejection rejects a true null hypothesis. Familywise error rate (FWER) is the probability of at least one such error.
Let each of three false-rejection events have probability at most 0.02. Their union means at least one error. The union bound adds the three bounds, giving at most 0.06.
If a family contains 20 tests and the desired family-wise false-positive bound is 0.05, Bonferroni uses threshold per test. A p-value 0.01 passes an unadjusted 0.05 cutoff but fails this family threshold. The number of tests includes the defined family, not only the results selected for reporting.
To target FWER at most across tests, give each test a bound . Adding all contributions gives . This is the equal-allocation Bonferroni rule.
Fixed family: 4 tests. Valid p-values. Target FWER≤0.08. Equal Bonferroni cutoff?
Show answer and explanation
0.08/4=0.02 per test.
02A closer look#
With a valid p-value, rejecting when gives a false-rejection probability at most when the null is true. Bonferroni therefore compares each p-value with . Equality meets the cutoff. A rejection is a decision, not proof that the null is false.
Fixed 3-test family. Valid p-values: A=0.01, B=0.03, C=0.07. FWER≤0.09. “Use 0.09 each.” Repair.
Show answer and explanation
0.09/3=0.03.
03The bound needs no independence assumption#
The bound needs no independence assumption. If individual valid bounds differ, add them. For bounds 0.02 and 0.03, FWER is at most 0.05. Cap sums above 1 at 1. A bound need not equal the actual error probability.
Fixed family; any dependence. False-rejection bounds: 0.02, 0.01, 0.04. Capped FWER bound?
Show answer and explanation
0.02+0.01+0.04=0.07.
04A closer look#
Feature screening, repeated model comparisons, and many subgroup analyses can create multiplicity. Define the family and correction method before interpreting the strongest result. Different methods control different error quantities, so do not treat every adjusted threshold as answering the same question.
Count the complete family, use alpha divided by its size, and interpret the sum as an upper bound rather than an exact error probability.
- Allocate the family error budget across every stated test.
Sources & further reading
- [1]NIST/SEMATECH e-Handbook, Bonferroni’s Method ↗NIST/SEMATECH · Article