Mathwords logoMathwords

Multiple Comparisons Problem — Definition, Formula & Example

The multiple comparisons problem is the rise in false positives that happens when you run many hypothesis tests at once. Each test alone has only a small chance of a false alarm, but across many tests at least one false alarm becomes likely.

Suppose mm null hypotheses H1,…,HmH_1, \dots, H_m are each tested at significance level α\alpha. The family-wise error rate (FWER) is the probability of rejecting at least one true null hypothesis. When several nulls are true, it is larger than α\alpha, often much larger. If all mm nulls are true and the tests are independent, FWER=1−(1−α)m\text{FWER} = 1-(1-\alpha)^m. A multiple comparison procedure adjusts the rejection rule so that it controls either the FWER or the false discovery rate (FDR), which is the expected proportion of false rejections among all rejections.

Key Formula

FWER=1−(1−α)m(independent tests, all nulls true),αBonf=αm\text{FWER} = 1-(1-\alpha)^m \quad \text{(independent tests, all nulls true)}, \qquad \alpha_{\text{Bonf}} = \frac{\alpha}{m}
Where:
  • FWER\text{FWER} = Probability of at least one false positive across the whole family of tests
  • α\alpha = Significance level used for a single test, such as 0.05
  • mm = Number of hypothesis tests performed
  • αBonf\alpha_{\text{Bonf}} = Bonferroni-adjusted per-test level, which keeps FWER at or below alpha for any dependence structure

Worked Example

Problem: A marketing analyst compares 10 new ad designs against the current ad. She runs 10 independent tests, each at α=0.05\alpha = 0.05. One design gives p=0.02p = 0.02. Assume none of the designs truly differs from the current ad. How likely is at least one false positive, and does the p=0.02p = 0.02 result survive a Bonferroni correction?
Step 1: Find the family-wise error rate without any correction. Each test avoids a false positive with probability 0.95, and the tests are independent.
FWER=1−(0.95)10≈1−0.5987=0.4013\text{FWER} = 1 - (0.95)^{10} \approx 1 - 0.5987 = 0.4013
Step 2: Apply the Bonferroni correction by dividing the overall level by the number of tests.
αBonf=0.0510=0.005\alpha_{\text{Bonf}} = \frac{0.05}{10} = 0.005
Step 3: Compare the p-value with the new threshold. Since 0.02>0.0050.02 > 0.005, the result is not significant. Under the corrected rule the family-wise error rate drops below 0.05.
1−(1−0.005)10≈0.04891 - (1 - 0.005)^{10} \approx 0.0489
Answer: Without correction there is about a 40.1% chance of at least one false positive. After the Bonferroni correction the threshold is 0.005, so the design with p=0.02p = 0.02 is not declared significant, and the family-wise error rate falls to about 4.9%.

Why It Matters

Genome studies test thousands of genes at once, so an uncorrected 0.05 level would flag hundreds of genes by chance alone. These studies use FDR methods such as Benjamini–Hochberg instead. In a statistics course you meet the same issue in post-hoc tests after ANOVA, where Tukey's HSD controls the error rate across all pairwise group comparisons.

Common Mistakes

Mistake: Estimating the chance of at least one false positive as mαm\alpha, for example 10×0.05=0.510 \times 0.05 = 0.5.
Correction: The product mαm\alpha is only an upper bound, not the exact probability. With 20 tests it gives 20×0.05=120 \times 0.05 = 1, which would mean a false positive is certain. The exact value for independent tests is 1−(0.95)20≈0.64151-(0.95)^{20} \approx 0.6415.

Related Terms

  • Hypothesis Testing — The single-test procedure that gets repeated many times here
  • p-value — Compared against the adjusted threshold after correction
  • Null Hypothesis — Falsely rejecting a true one is the error being controlled
  • Critical Value — Becomes more extreme when the per-test level shrinks
  • Confidence Interval — Must be widened to keep simultaneous coverage across many intervals
  • ANOVA — Post-hoc pairwise tests after ANOVA face this problem
  • Bonferroni Correction — The simplest fix: test each hypothesis at α divided by m