Basic Prerequisites: 02 · Point Estimation and 03 · The CLT & Sampling.
1. Intuition & Practical Objective
A point estimate is half an answer. The other half is a set of plausible values (a confidence interval) or a decision with a stated error rate (a hypothesis test). These two are the same construction viewed from two sides: a confidence interval is exactly the set of parameter values that a level- test would not reject (C&B Thm 9.2.1). Inverting the test gives the interval; the interval’s coverage gives the test’s size.
For a quant this is not academic:
- “The strategy’s mean return is positive” a one-sided -test, and the Sharpe ratio’s -statistic .
- “The fund’s VaR is 2%” an interval estimator of a tail quantile.
- A p-value is the probability, under the null, of seeing a test statistic at least as extreme as observed - not the probability the null is true (the single most abused number in finance).
Why the grader cares. Backtest overfitting is a multiplicity problem: test strategies and the best looks significant by construction; the expected best spurious -statistic grows like . Testing theory, done right, is what separates a real signal from the best of coin flips.
2. Mathematical Ground Truth & Derivations
2.1 Intervals by inverting tests (C&B §9.2.1)
For each , let be the acceptance region of a level- test of . Then
is a confidence set; its coverage probability satisfies . The confidence coefficient is (C&B §9.3.1).
2.2 Pivots (C&B §9.2.2)
A pivot is whose distribution is independent of all parameters (Def 9.2.1). For normal data, is a pivot, giving the exact -interval
When no pivot exists, the CLT gives an approximate interval (C&B §9.4.2): for a statistic with ,
For MLEs the likelihood-based interval inverts the (asymptotically normal) pivot (eq 9.4.1).
2.3 Hypothesis testing: size, power, p-value (C&B §8.3)
Reject if the test statistic falls in the rejection region . Two error types:
- Type I ( true, rejected), probability - the size .
- Type II ( true, not rejected); power , . Ideal: power 0 on , 1 on .
The p-value is the smallest at which the observed data would be rejected; equivalently - data-dependent, not a fixed error rate (C&B §8.3.3).
2.4 Optimal tests (C&B §8.3.2, §8.2.1)
- Neyman–Pearson Lemma (Thm 8.3.1): for simple vs , the most powerful level- test rejects when the likelihood ratio , with set by the size.
- Karlin–Rubin (Thm 8.3.2): for a monotone likelihood-ratio family, a threshold test on the sufficient statistic is UMP for one-sided hypotheses.
- Generalised likelihood-ratio test (Def 8.2.1): reject for small . Wilks’ theorem (Thm 8.4.1): under , , .
2.5 Multiplicity (the finance-critical part)
Testing hypotheses at level each inflates the family-wise error rate (FWER):
- Bonferroni: use per test FWER .
- Benjamini–Hochberg FDR: sort p-values , reject the largest with ; controls the expected proportion of false discoveries .
- Max-statistic correction: the best of independent zero-skill strategies has -statistic with - the deflated Sharpe / White Reality Check threshold.
3. Computational Implementation - t-Intervals, LRT, and the Multiplicity Tax
Standard library only, with a self-contained regularised incomplete gamma (for ) and normal inverse. We check -interval coverage, a Poisson likelihood-ratio test against , and the multiplicity problem.
The -interval is exact for normal data (0.9504) but under-covers on exponential data (0.9123) - the CLT’s finite-sample error, visible. The LRT statistic matches its limit. And 20 independent nulls produce at least one “significant” result 65% of the time - Bonferroni restores the 5% FWER (0.0483).
4. Failure Modes & First-Principles Breakdowns
- Interpreting as “4% chance the null is true”. The p-value is , not ; the two differ by the prior odds (Bayes’ rule). A 4% p-value on a coin that all prior evidence says is fair is weak evidence.
- Ignoring multiplicity. Reporting the best of many tested strategies at a raw 5% level is a near-certain false positive; the expected best-of- spurious . Correct with Bonferroni/FDR or a bootstrap Reality Check.
- Confusing statistical and economic significance. A t-stat of 3 from a century of daily data with a 1-basis-point edge is statistically “real” and economically worthless; and a short high-Sharpe sample can be economically huge and statistically indistinguishable from noise.
- Under-covering intervals. Using instead of , or the CLT on short fat-tailed samples, produces intervals that cover less than advertised (0.912 not 0.950) - your “95%” is really 91%.
- One-sided vs two-sided silent switch. Peeking at the data, then choosing the direction of a one-sided test, doubles the true Type-I rate. Pre-specify the test.
- The LRT’s edge-of-support trap. Wilks’ theorem fails when the null is on the boundary of the parameter space or the support depends on ; then is not . Check the regularity conditions.
5. References
- Casella & Berger, Statistical Inference
- Hastie, Tibshirani & Friedman, ESL
- White, H. (2000), A Reality Check for Data Snooping
- Harvey, Liu & Zhu (2016), “…and the Cross-Section of Expected Returns”
6. Connected Graph Bridges
- Back: 03 · The CLT & Sampling · 02 · Point Estimation · Index Hub
- Continue: 05 · Bias–Variance & Validation · 06 · Advanced Extensions
- Applications: Quantitative Research (backtesting, signal validation) · VaR & Expected Shortfall (tail interval estimation) · Econometrics (ACF/PACF and Ljung–Box are hypothesis tests)