Quant Memo
Advanced

Storey q-Values and the Null Proportion

When testing thousands of trading signals at once, a q-value improves on a simple false-discovery-rate correction by first estimating how many of the tests are probably true nulls, giving a less conservative and more accurate significance threshold.

Prerequisites: False Discovery Rate (FDR)

When a quant researcher backtests thousands of candidate signals, most standard multiple-testing corrections (like Bonferroni or Benjamini-Hochberg) implicitly assume that essentially all the tested hypotheses are truly null — that is, that almost none of the signals actually work — which makes the correction unnecessarily conservative if, in reality, a meaningful fraction genuinely do have skill. Storey's q-value approach fixes this by first estimating π0\pi_0, the actual proportion of tests that are true nulls, directly from the data, and using that estimate to calibrate a less pessimistic threshold.

The estimate of π0\pi_0 typically comes from looking at the distribution of p-values across all tested signals: truly null signals produce p-values spread uniformly between 0 and 1, so the density of p-values in the "boring" region near 1 (say, above 0.5) estimates how much of the whole population is null. If 4,000 signals are tested and 1,800 of them have p-values above 0.5, a rough estimate is π^01800/(4000×0.5)=0.9\hat{\pi}_0 \approx 1800 / (4000 \times 0.5) = 0.9 — suggesting about 90% of the tested signals are genuinely null and 10% may carry real signal.

A q-value for a given test is then this estimated null proportion multiplied by the usual false-discovery-rate-adjusted p-value, so it's always smaller than (or equal to) the more conservative Benjamini-Hochberg-adjusted value whenever π^0<1\hat{\pi}_0 < 1. In practice this means fewer real signals get thrown out simply because thousands of hopeless candidates were tested alongside them.

The Storey q-value improves on standard false-discovery-rate corrections by first estimating the actual fraction of tested hypotheses that are true nulls, giving a less conservative significance threshold than assuming (as most corrections do) that almost everything tested is null.

Related concepts

Practice in interviews

Further reading

  • Storey, A Direct Approach to False Discovery Rates (2002)
ShareTwitterLinkedIn