ABS › Resources

Choosing the Right Multiple Comparison Correction for A/B Test Sample Size Planning

You are running an A/B test with three variants and tracking five key metrics. Statistically, that means 15 simultaneous comparisons. If you use the standard α = 0.05 threshold for each, what is the actual probability of flagging at least one spurious effect? It crosses 50% before you finish your morning coffee, somewhere around 54%, in fact. Push to 20 tests (still modest by modern experimentation standards) and that number climbs to 64%. You have better odds of winning at roulette than finding only true positives in an uncorrected multi-metric dashboard.

This is the multiple comparisons problem, and it regularly trips up product teams running experiments at scale. Product teams discover it the hard way: a promising feature "wins" across multiple metrics, ships to 100% of users, and then quietly depresses engagement for six months before anyone notices the effect was statistical noise. False positives do not just waste engineering time. They damage user experience and erode trust in the experimentation program itself.

But these corrections come with their own costs. Some demand sample sizes that make experiments operationally infeasible. Others trade false positive protection for detection power, risking missed improvements that could move the needle. Getting this balance right is essential for any product team that relies on experiments.

That balance depends first on understanding what you are actually trying to control. When you correct for multiplicity, you are really deciding which error rate to control. Family-Wise Error Rate (FWER) demands that the probability of any false positive across the whole family of tests stays below α. It is the strict, zero-tolerance stance, appropriate when a single false lead could trigger a costly rollout or a safety concern. False Discovery Rate (FDR), by contrast, tolerates a small proportion of false discoveries among the results you call significant. If you are willing to follow up promising leads with additional experiments, FDR lets you keep more true signals while limiting the expected share of false ones.

This choice depends on how much follow-up testing you can do and how costly a false positive would be. FWER guards against any mistake. FDR guards against wasting too many resources on mistakes. For teams with validation capacity, guarding against waste rather than eliminating every possible mistake opens up a middle path.

Benjamini-Hochberg FDR Control: Power Through Controlled Risk

The Benjamini-Hochberg (BH) procedure offers exactly that middle path, though many product teams overlook it. Rather than controlling the probability of any false positive, BH controls the expected proportion of false discoveries among your significant findings. This subtle shift in objective unlocks meaningful gains in practical power.

You order your p-values from smallest to largest and compare each to a threshold of (i/m)·α, where i is the rank and m is the total number of tests. You find the largest p-value that falls below its threshold, then reject that hypothesis and all smaller ones. The algorithm does the math, but the idea is simple: you're more lenient with tests that show strong signals and stricter with borderline ones.

In practice, BH typically detects 30-50% more true effects than Bonferroni for the same sample size.zes. A test that is underpowered under Bonferroni might become feasible under BH. That does not mean you are flying blind. You are still controlling error rates rigorously, just with a different definition of "acceptable risk."

Sample-size planning under BH requires some adjustment. Standard power calculators assume uncorrected testing, so you will need tools that invert the BH-adjusted power curve to determine per-group requirements. BH-adjusted sample sizes are much smaller than Bonferroni's, giving you strong error control with less data.

BH shines in several scenarios: exploratory metric dashboards where you are scanning for signals across dozens of KPIs, multi-metric monitoring during ongoing experiments, or "screen-and-validate" pipelines where promising results get confirmed in follow-up studies. If your team can validate promising leads with follow-up tests, BH's power advantage pays off. Power isn't the only thing to optimize. Matching the method to your test design can also improve precision.

Most product A/B tests share a common structure: multiple treatment variants compared against a single control group. You have a control, a variant A, a variant B, and maybe a variant C. You want to know which one, if any, outperforms the baseline. This is a many-to-one problem, and treating it as pairwise comparisons wastes statistical efficiency.y.

Dunnett's test was developed specifically for this scenario. It compares multiple treatment groups against a single control while maintaining proper FWER control, and it does so more efficiently than Bonferroni because it exploits the correlation structure inherent in many-to-one designs. Every variant shares the same control group, creating dependencies that Dunnett's procedure explicitly accounts for.

The efficiency gains are meaningful.Dunnett's test typically requires smaller sample sizes per variantcompared to Bonferroni while maintaining the same FWER guarantees. For a product team running a four-arm test (control plus three variants), this translates to either shorter test durations or the ability to detect smaller effect sizes with the same sample.

Implementation is straightforward in standard statistical packages. R's multcomp package and Python's statsmodels both offer well-tested Dunnett implementations with appropriate critical values. The test integrates cleanly into existing experiment-analysis pipelines, and most analysts can adopt it without deep statistical expertise.

Dunnett's efficiency comes from matching the method to the problem. Bonferroni ignores your design. It does not know you are comparing everything to a single control. When you use a method designed for your actual structure, you get better statistical properties as a reward. For most product A/B tests, Dunnett's is the best choice.

Even the best frequentist corrections treat each test in isolation. Modern alternatives model relationships between tests instead.

Bayesian hierarchical models handle multiplicity through partial pooling. Rather than analyzing each test independently, hierarchical models share information across related tests, naturally shrinking noisy estimates toward the global mean. A metric with high variance gets pulled toward the overall pattern. A metric with strong signal retains its individual estimate. The multiplicity problem "solves itself" through this regularization rather than through threshold adjustments.

Andrew Gelman has argued persuasively that proper multilevel estimation provides appropriate conservatism without explicit corrections. The idea is simple: if your tests are related, treating them as independent adds noise. Hierarchical models acknowledge reality by pooling information, and the resulting estimates are appropriately conservative as a byproduct.

The trade-offs are real. Hierarchical models require more computational effort, need careful specification of priors, and demand more implementation time than traditional corrections. They are not the right tool when you need a quick answer for a single experiment. But for mature experimentation platforms with historical data and recurring test structures, the investment often pays dividends in both statistical rigor and practical efficiency.

Gatekeeping procedures take a different angle. They pre-specify testing sequences across families of hypotheses. You might designate a primary endpoint that gets the full α allocation, then distribute remaining error rate across secondary endpoints only if primary results are significant. This hierarchical approach preserves power where it matters most while maintaining rigorous protection for confirmatory endpoints.

These approaches aren't drop-in replacements. They need more expertise and organizational buy-in. But understanding their potential becomes increasingly valuable as your experimentation program matures. Until your platform reaches that level, the immediate priority is applying the tools you already have with strategic intent.

Building Your Strategic Correction Framework

These methods range from conservative to powerful. To use them well, match the correction to your test's goals and structure.

Start with a decision tree: What are you actually testing?

  • Multiple variants against a single control? Use Dunnett's test. It is statistically optimal for this structure and requires no compromises.
  • Exploratory monitoring across many metrics with follow-up validation capacity? Benjamini-Hochberg FDR control gives you the power to find signals without excessive false positives.
  • High-stakes confirmatory decisions where any false alarm carries serious consequences? Reserve Bonferroni or another strict FWER procedure for these rare situations.

Your sample-size workflow should reflect this choice prospectively, not retrospectively. Define your error-rate philosophy before you design the experiment, choose your correction method accordingly, then use appropriate power-analysis tools to calculate required sample sizes. Post-hoc corrections after underpowering a study will not recover lost detection ability.

Consider your organization's validation capacity honestly. FDR control only makes sense when you can actually follow up on promising leads. If your roadmap moves too fast for validation studies, you are implicitly accepting that false discoveries will ship. In that environment, the extra protection of FWER control is not optional. It is the only thing standing between you and noise-driven decisions.

Documentation matters more than most teams realize. Write your correction rationale into experiment plans before you collect data. This prevents post-hoc flexibility that erodes statistical integrity and aligns data science teams with business stakeholders who need to understand why certain results "did not reach significance." When everyone shares the same expectations about error-rate trade-offs, debates become more productive and decisions more defensible. This underscores why the initial choice matters.

Conclusion: Matching Method to Mission

No single correction method suits every A/B testing scenario. Effective teams don't just memorize procedures; they align methods with mission, balancing rigor and decision stakes.

The multiple comparisons problem is real and consequential. Running 20 tests at α = 0.05 without correction gives you a 64% chance of at least one false positive. That is not acceptable for high-stakes product decisions. But the solution is not reflexively applying Bonferroni, either. Its power penalty frequently costs more in missed improvements than false alarms ever cost in shipped noise.

The practical path forward is strategic selection: Dunnett's test for your standard A/B/n variants, BH FDR control for exploratory multi-metric monitoring where follow-up validation exists, Bonferroni only for those rare high-risk confirmatory tests, and Bayesian hierarchical approaches as your experimentation platform matures.

Update your sample-size calculators to reflect your chosen methods. Embed correction decisions in your experiment templates. Document your philosophy so stakeholders understand the trade-offs. The goal is not statistical purity. It is making better product decisions with appropriate confidence.

As your testing program evolves, so should your approach to multiplicity. The teams that treat correction method selection as a one-time decision are leaving both false positives and missed opportunities on the table. Update your calculators, embed this decision tree, and revisit the framework regularly. Your users and your business will benefit.

More from ABS