Factor Zoo Multiple Testing: Harvey–Liu–Zhu’s t-Ratio Hurdle in Python

A factor with a t-statistic of 2.4 clears the usual |t| > 2.0 screen, yet Harvey, Liu, and Zhu argue a newly discovered factor needs a t-ratio above 3.0. Their argument is about what happens when researchers try many candidate factors, then highlight the ones that pass a familiar significance screen. This review is based on official documentation and published research; the demo runs on synthetic data.
The practical takeaway is not to replace every threshold with 3.0. It is to distinguish a pre-specified test from a discovery emerging out of a research process, understand family-wise error rate (FWER) versus false discovery rate (FDR), and apply an explicit correction to a batch of candidate tests. The Python example below creates a synthetic factor zoo and reports results from no correction, Holm, and Benjamini–Hochberg.
The factor zoo: why |t| > 2.0 stopped making sense
Harvey, Liu, and Zhu review 313 papers on cross-sectional return patterns and argue that the usual |t| > 2.0 screen does not account for a large research universe (NBER Working Paper 20592). The underlying arithmetic is general: at a 5% level, 100 independent null tests produce five expected false rejections and about a 99.4% chance of at least one, per the Multiple comparisons problem overview.
The conventional cutoff has a history. In the paper’s introduction, the authors note that Fama and MacBeth’s 1973 reported t-ratio of 2.57 “comfortably exceeded” the usual 2.0 cutoff. When tests are scarce, a familiar single-test criterion can be a reasonable starting point. But when researchers inspect many candidate signals and report the survivors, the testing process—not merely the final statistic—matters.
Harvey, Liu, and Zhu put the problem directly: “Hundreds of papers and hundreds of factors attempt to explain the cross-section of expected returns.” They conclude that using the usual significance criteria for a newly discovered factor, such as a t-ratio greater than 2.0, “does not make any economic or statistical sense.” Their abstract says they provide historical significance cutoffs “from the first empirical tests in 1967 to today.” It also states that “most claimed research findings in financial economics are likely false.”
These statements are about the implications of multiple testing across a research literature. They are not a verdict on any particular factor. The relevant question is how many hypotheses, specifications, and candidate signals contributed to a reported discovery—and how the analysis accounts for that search.
Multiple testing in one page: FWER vs FDR
FWER procedures such as Bonferroni and Holm bound the probability of making even one false rejection in a family of tests, while Benjamini–Hochberg targets the expected share of false discoveries among rejections; the statsmodels multipletests documentation implements both families, and notes control in the independent case.
For a simple illustration, if all 100 null hypotheses are true and each is tested at 5%, the expected number of incorrect rejections is five. If the tests are independent, the probability of at least one is about 99.4%. These are definitions and examples from the secondary Multiple comparisons problem overview, not a claim about a particular finance study.
Bonferroni divides the family-level significance level by the number of comparisons, giving a per-test level of α/m. Šidák uses 1 − (1 − α)^(1/m). Both are ways to make a family-wise criterion more stringent as the number of tests grows. Holm’s step-down procedure also targets FWER, while Benjamini–Hochberg, implemented in statsmodels, targets FDR. FDR is not the probability that any finding is false; it concerns the expected proportion of false rejections among the rejected hypotheses.
The statsmodels function accepts a vector of p-values and a method name. Its documented methods include bonferroni, sidak, holm-sidak, holm, simes-hochberg, hommel, fdr_bh, fdr_by, fdr_tsbh, fdr_tsbky, fdr_gbs, and lfdr. For factor screening, the key choice is not which option sounds most conservative, but which error rate matches the intended use of the results.
What the 3.0 hurdle actually says
Harvey, Liu, and Zhu estimate that “a newly discovered factor needs to clear a much higher hurdle, with a t-ratio greater than 3.0”; they explicitly retain 2.0 for a single, independent test at the 5% level, and note that theory-derived factors may merit a lower hurdle in the published paper and NBER working paper.
The distinction matters: 3.0 is a proposed hurdle for a new factor claim in a multiple-testing context, not a replacement cutoff for every isolated hypothesis test. The authors’ note is explicit: “For a single, independent test … At 5% significance level, we should always use 2.0 for single test.” A pre-specified hypothesis and a factor found after searching a broad research universe are different statistical situations.
Their proposed framework addresses features of the research process that a basic correction may not capture. The paper says, “Our new method allows for correlation among the tests as well as missing data.” It also distinguishes purely empirical findings from theory-derived factors, for which the authors say a lower hurdle may be appropriate. Those qualifications are reasons to interpret 3.0 as a model-based recommendation rather than a universal constant or a mechanical rule for every paper.
Python demo: a synthetic 200-factor zoo
This demo simulates 200 factors over 240 months: 180 nulls and 20 planted signals calibrated to a population |t| of 2.5, below the proposed 3.0 hurdle. It computes each factor’s mean-return t-statistic and two-sided p-value, then applies Holm and Benjamini–Hochberg; all data are explicitly synthetic. The statsmodels multipletests reference covers only the correction call.
The code prints the generated discovery counts rather than presupposing them. Those counts depend on the specified random seed and the realized sample. The Bonferroni-implied hurdle is calculated separately using the normal quantile in the code; it is a mechanical comparison, not Harvey, Liu, and Zhu’s estimated 3.0 hurdle.
"""
Factor-zoo multiple-testing demo — SYNTHETIC DATA ONLY.
Motivation: Harvey, Liu & Zhu (2016) argue that with hundreds of tested
factors, the usual |t| > 2.0 screen manufactures false discoveries and
a newly discovered factor should clear |t| > 3.0. This script simulates
a zoo of N=200 synthetic factors and counts "discoveries" under no
correction, Holm (FWER), and Benjamini-Hochberg (FDR) via statsmodels.
Stack: numpy, pandas, statsmodels (scipy provides the t/normal CDFs).
No real factor data is used or claimed.
"""
import numpy as np
import pandas as pd
from scipy import stats
from statsmodels.stats.multitest import multipletests
rng = np.random.default_rng(7) # fixed seed -> reproducible output
N, T, ALPHA = 200, 240, 0.05 # 200 factors, 240 months, 5% level
sigma = 0.05 # monthly return volatility
# 1) Synthetic zoo: 180 pure nulls + 20 planted factors with
# population |t| = 2.5 ("publishable" at 2.0, below HLZ's 3.0).
mu = np.zeros(N)
mu[rng.choice(N, size=20, replace=False)] = 2.5 * sigma / np.sqrt(T)
rets = rng.normal(mu[:, None], sigma, size=(N, T))
# 2) Per-factor t-test of the mean return (H0: E[r] = 0).
tstats = rets.mean(axis=1) / (rets.std(axis=1, ddof=1) / np.sqrt(T))
pvals = 2.0 * stats.t.sf(np.abs(tstats), df=T - 1)
# 3) Bonferroni-implied |t| hurdle at m = N (two-sided, independent):
# t_cut = Phi^{-1}(1 - 0.025/m).
t_cut = stats.norm.ppf(1.0 - 0.025 / N)
# 4) Discovery counts under three rules.
rules = {
"No correction (p<0.05)": pvals < ALPHA,
"Holm (FWER)": multipletests(pvals, alpha=ALPHA, method="holm")[0],
"Benjamini-Hochberg (FDR)": multipletests(
pvals, alpha=ALPHA, method="fdr_bh"
)[0],
}
planted = mu != 0.0
rows = [
{
"rule": name,
"discoveries": int(rej.sum()),
"true_signals": int(rej[planted].sum()),
"false_positives": int(rej[~planted].sum()),
}
for name, rej in rules.items()
]
print(f"SYNTHETIC factor zoo: N={N} factors, T={T} months, alpha={ALPHA}")
print(f"Bonferroni-implied |t| hurdle at m={N}: {t_cut:.3f}")
print("HLZ (2016) hurdle for a NEW factor: |t| > 3.0\n")
print(pd.DataFrame(rows).to_string(index=False))
Reading the output: no correction vs Holm vs BH
Output from one run of the script above (seed 7):
SYNTHETIC factor zoo: N=200 factors, T=240 months, alpha=0.05
Bonferroni-implied |t| hurdle at m=200: 3.662
HLZ (2016) hurdle for a NEW factor: |t| > 3.0
rule discoveries true_signals false_positives
No correction (p<0.05) 25 14 11
Holm (FWER) 2 2 0
Benjamini-Hochberg (FDR) 5 4 1
The script prints the Bonferroni-implied |t| hurdle at m=200 (the two-sided normal quantile at 0.025/200), followed by discovery counts for raw p < 0.05, Holm, and Benjamini–Hochberg; the statsmodels reference documents the correction methods.
Read the table by separating total discoveries from true signals and false positives. The printed counts are one synthetic realization, not estimates of how many real factors are genuine.
The Bonferroni calculation provides a mechanical benchmark based on the specified number of tests and family-level alpha. Harvey, Liu, and Zhu’s 3.0 hurdle is instead an estimate from a model of the research process. Neither should be presented as the other, and the normal-quantile benchmark is not a replication of their method.
| Rule | Error-rate target | What to inspect in the printed table |
|---|---|---|
| No correction | No family-level adjustment | Total discoveries and false positives |
| Holm | FWER | Whether any false rejections remain in this realization |
| Benjamini–Hochberg | FDR | The false-positive share among discoveries |
Dropping multipletests into a factor-research workflow
Collect one p-value for every candidate factor and call multipletests(pvals, alpha=0.05, method=...) once: choose holm for FWER or fdr_bh for FDR; statsmodels documents independent-case control, robustness of most procedures under positive correlation, and alpha-independent corrected p-values except for two-stage FDR in its API documentation.
In a real workflow, define the family before looking at which candidates pass. That might mean all factors in a planned screen, or all variants generated by a specific research pipeline. If tests are split across notebooks, parameter sweeps, or successive research rounds, adjusting only the final small subset can understate the search that produced it. Keep a record of candidate definitions, raw p-values, and the correction method used.
The function returns a rejection array, corrected p-values, and additional alpha thresholds. For many workflows, the rejection array is enough to build a screening table; retaining corrected p-values supports transparent reporting and later review. The documentation also notes that, except for two-stage FDR, corrected p-values do not depend on the specified alpha. This lets a researcher examine a different decision level without recalculating those corrected values, while still applying a clearly stated alpha to the decision.
Choice of procedure depends on the cost of errors. A broad exploratory screen may prioritize controlling the expected false-discovery share. A high-stakes single headline claim may call for controlling the chance of any false rejection across its family. Neither choice turns dependent tests into independent tests, and neither correction substitutes for a defensible hypothesis, sound return construction, or appropriate out-of-sample evaluation.
Limitations and caveats: what this post does not show
Nothing here tests real factors: the zoo is synthetic, and its counts illustrate mechanics rather than evidence about actual premiums; the NBER paper describes a framework that allows correlation and missing data, while this demo assumes independent simulated factor returns.
Its tests are independent by construction, unlike many research settings where candidate factors may be related. The code does not reproduce Harvey, Liu, and Zhu’s estimator or their historical analysis.
Likewise, the code’s Bonferroni-implied hurdle is a mechanical benchmark, not the source of their 3.0 estimate. The paper’s proposed hurdle is model-based and draws on its review of 313 papers and historical cutoffs beginning with empirical tests in 1967. It should not be treated as an invariant constant. The authors also say that theory-derived factors may justify a lower hurdle, and that their tests are unconditional.
One fixed-seed simulation is one realization. Its printed discoveries are useful for understanding how rules differ on a known synthetic setup, not for estimating expected performance across simulations or making claims about any actual premium. This is not a backtest, and it is not investment advice.
FAQ
The right interpretation depends on whether the hypothesis was specified in advance or emerged from a wider search; the Harvey, Liu, and Zhu paper distinguishes the single-test 2.0 cutoff from its higher hurdle for newly discovered factors in a multiple-testing context.
My factor has |t| = 2.4 — is it dead?
Not necessarily. Harvey, Liu, and Zhu say a single, independent test at 5% still uses 2.0; their greater-than-3.0 hurdle concerns a newly discovered factor after multiple testing. They also note that theory-derived factors may warrant a lower hurdle. The important context is how many hypotheses and specifications were tried.
Holm or Benjamini–Hochberg — which should I use?
They target different errors: Holm controls FWER, or the chance of at least one false rejection in the family, while Benjamini–Hochberg targets FDR, the expected share of false discoveries among rejections. A screening task may favor FDR; a claim where any false rejection is costly may favor FWER. Both are available through statsmodels.
My factor tests are correlated — is this still valid?
Do not assume validity under arbitrary dependence. Statsmodels says its included procedures control FWER or FDR in the independent case and that most are robust under positive correlation. Harvey, Liu, and Zhu’s own framework allows correlation and missing data, but the synthetic demo assumes independence and does not implement their method.
How This Guide Was Built
This guide is based on the published paper, library documentation, and a synthetic-data simulation; we did not run any strategy on real market data. The source material is the published Review of Financial Studies article, its NBER working-paper page and PDF, and the statsmodels documentation. The code labels its data synthetic, prints its own results, and makes no empirical claim about real factors.
← Back to all posts

