---
title: Benjamini–Hochberg Procedure
description: "How Statsig applies the Benjamini-Hochberg procedure to control the false discovery rate when analyzing many metrics in an experiment scorecard."
product: general
lang: en
last_updated: 2025-09-18
token_estimate: 875
---
# Benjamini–Hochberg Procedure

The Benjamini-Hochberg (BH) procedure adjusts the significance level when a scorecard tests many metrics, so that only a controlled share of the results you call significant are false positives. That share is the false discovery rate. [Bonferroni correction](https://docs.statsig.com/experiments/statistical-methods/methodologies/bonferroni-correction) instead controls the family-wise error rate, the chance of at least one false positive. BH therefore rejects at least as many null hypotheses as Bonferroni for the same p-values, and usually more. Use BH when a scorecard has many metrics and a small, controlled share of false positives is acceptable. Use Bonferroni when any single false positive is costly.

> For AI agents: a documentation index is available at [/llms.txt](/llms.txt). Append `.md` to any page URL for markdown, or send `Accept: text/markdown`.

Enable the BH procedure for a single experiment under _Advanced Settings_ on its _Setup_ tab, in [Multiple Hypothesis Corrections](https://docs.statsig.com/experiments/setup/analysis-settings#significance-level-adjustments). Organization admins can set it as the default, and enforce it so that teams can't turn it off, through [experiment policies](https://docs.statsig.com/access-management/org-admin/experiment_policy).

## How BH adjusts the significance level

The BH procedure replaces your pre-set significance level ($\alpha$) with a new one. Statsig calculates it as follows:

1. Sort the metric p-values in ascending order.
2. Pair each p-value with a threshold. The threshold is the target false discovery rate ($q$), which is your significance level, divided by the number of comparisons ($m$), multiplied by the rank ($k$) of that p-value in the ordered list. $m$ is the number of scorecard metrics, the number of test groups, or their product, depending on which set of p-values Statsig applies the procedure to.
3. Take the largest threshold that is higher than its paired p-value. That threshold becomes the new significance level ($\alpha$). If no p-value is below its threshold, the new significance level is the smallest threshold, $q/m$.

Statsig can apply the BH procedure across one of the following sets of p-values:

- **Test groups** (multiple treatment hypotheses): For each metric, Statsig aggregates the p-values from each variant and runs the BH procedure on that list.
- **Metrics in the scorecard**: For each variant, Statsig aggregates the p-values from each metric and runs the BH procedure on that list.
- **Both test groups and metrics**: Statsig aggregates all p-values and runs the BH procedure once.

When you also select **Apply Benjamini-Hochberg Procedure for Primary Metrics Only**, Statsig runs the procedure on primary metrics only. Secondary metrics keep your unadjusted significance level.

Statsig doesn't apply the BH procedure to the p-values of event-dimension or user-property breakdowns of an experiment metric. Statsig compares only the top-line metric results to the new significance level.

## How the adjusted significance level appears in experiment results

In the experiment scorecard, Statsig derives confidence intervals for applicable metrics from (1 - adjusted $\alpha$). Hovering over a confidence interval displays the adjusted $\alpha$ alongside other metric details.

In the experiment explore section, Statsig calculates a new adjusted $\alpha$ based on your selections, and the confidence intervals use (1 - adjusted $\alpha$).

