TapCub is live — analytics, insights and live chat, free on one platform
Glossary

What is the false discovery rate? Benjamini-Hochberg explained

The false discovery rate is the expected share of false positives among the results you call significant. How it differs from family-wise error, the Benjamini-Hochberg procedure step by step, and a worked example against Bonferroni.

Su He Reviewed by Lin Zhou Also called FDR Last updated Nov 7, 2026 Glossary

Quick answer

The false discovery rate (FDR) is the expected proportion of false positives among all results declared significant. The Benjamini-Hochberg procedure controls it, so that when many hypotheses are tested at once, on average no more than a chosen share (for example 5%) of the discoveries are false.

Formula: Reject the k smallest p-values, where k is the largest i with p₍ᵢ₎ ≤ (i ÷ m) × q

What is the false discovery rate?

The false discovery rate (FDR) is the expected proportion of false positives among all the results you declare significant. If you run 40 tests and call 10 of them significant, an FDR of 5% means you expect, on average, about half a false one among those 10.

It matters whenever you test many things at once: twenty metrics in an A/B test, every country in a breakdown, hundreds of features in a model. Test enough hypotheses at p < 0.05 and some will cross the line by chance. The Benjamini-Hochberg (BH) procedure, published in 1995, is the standard way to control the FDR.

FDR vs family-wise error rate

Family-wise error rate (FWER)False discovery rate (FDR)
ControlsThe chance of any false positiveThe expected share of false positives among discoveries
Typical methodBonferroni: test each at α ÷ mBenjamini-Hochberg
StrictnessVery strict with many testsAdapts: stricter with few discoveries, looser with many
Good forConfirming a few critical claimsScreening many metrics, segments or features
CostMisses many real effects (type II errors)Accepts a few false leads

The Benjamini-Hochberg procedure

With m tests and a target FDR level q (often 0.05):

  1. Sort the p-values from smallest to largest: p₍₁₎ ≤ p₍₂₎ ≤ … ≤ p₍ₘ₎.
  2. For each rank i, compute the threshold (i ÷ m) × q.
  3. Find the largest i for which p₍ᵢ₎ ≤ (i ÷ m) × q.
  4. Declare that test and all tests with smaller p-values significant, even if some of them sat above their own threshold.

A worked example

Sample data: an A/B test of a new onboarding flow reports ten secondary metrics. q = 0.05, m = 10.

Rank iMetricp-valueBH threshold (i ÷ 10 × 0.05)Below threshold?BH-adjusted p
1Activation0.0010.005Yes0.010
2Invites sent0.0080.010Yes0.040
3Day-7 retention0.0120.015Yes0.040
4Time to first report0.0210.020No0.053
5Support chats0.0340.025No0.068
6Docs views0.0480.030No0.080
7Pricing page views0.0900.035No0.129
8Logins0.2000.040No0.250
9Session length0.4100.045No0.456
10Exports0.7300.050No0.730

The largest rank below its threshold is 3, so three metrics are discoveries. Compare the three approaches:

MethodThresholdSignificant metrics
No correction (p < 0.05)0.05 each6
Benjamini-Hochberg (q = 0.05)Step-up line3
Bonferroni (FWER 0.05)0.005 each1

Without correction, "time to first report", "support chats" and "docs views" would have been reported as wins; with ten metrics, a couple of chance results are expected. Bonferroni keeps only activation and misses two effects that are probably real.

Adjusted p-values

Instead of thresholds, many tools report BH-adjusted p-values (sometimes called q-values): for rank i, the smallest value of (m ÷ j) × p₍ⱼ₎ over all j ≥ i, capped at 1. A result is significant at FDR q when its adjusted p-value is ≤ q. In the table, the three discoveries are exactly the ones with adjusted p ≤ 0.05.

Assumptions and limits

  • BH controls the FDR when the tests are independent or positively dependent, which covers most metric sets in practice. For arbitrary dependence, the Benjamini-Yekutieli variant is valid but more conservative.
  • FDR is an average over many studies; any single list of discoveries may contain more or fewer false ones.
  • It does not fix peeking or p-hacking; decide which tests are in the family before looking.

When to use it

Use BH when you screen many hypotheses and will follow up on the discoveries: secondary metrics in experiments, many segments in a breakdown, many features or keywords. Use a family-wise method such as Bonferroni when a single false claim is costly, such as the primary metric of a pricing decision. Pre-register one primary metric either way.

FDR and TapCub

TapCub reports breakdowns and comparisons, not p-values, and it does not apply multiple-comparison corrections. The idea still applies: when Why did it change or a breakdown across dozens of countries or pages highlights a few unusual values, some will be unusual by chance. Treat them as hypotheses, as described in diagnostic analytics, and if you test them formally, adjust for how many you looked at. For background on single tests, see p-value.

Sources

Was this explanation clear?

We use your answers to fix and expand this page.

Su He

Data Analyst

Explores traffic sources, conversion funnels, and retention, using clear metric definitions and concrete examples to explain what the numbers mean.

FAQ

Questions people ask

Short answers to the follow-up questions that come up most.

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

What is the difference between FDR and FWER?

Family-wise error rate (FWER) is the chance of making even one false positive across all tests. False discovery rate (FDR) is the expected share of false positives among the results you call significant. FDR is less strict, so it finds more real effects.

How does the Benjamini-Hochberg procedure work?

Sort the m p-values from smallest to largest, compare the i-th one with (i ÷ m) × q, find the largest i where it is below that line, and declare that one and all smaller p-values significant.

When should I use Benjamini-Hochberg instead of Bonferroni?

When you test many hypotheses and can accept a small share of false leads, such as screening many metrics or segments. Use Bonferroni when any single false positive is costly.

What is a BH-adjusted p-value?

The smallest q at which a result would be declared significant by the procedure. Compare it directly with your chosen FDR level, such as 0.05.

See this number on your own site

Add one script tag for web and apps, and the first reports fill in within minutes.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics