Skip to content

About

Causal, surrogate-controlled evaluation of EMD/Hilbert-Huang volatility forecasting (paper + harness). Finding: it does not forecast.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

Empirical Mode Decomposition Does Not Forecast Volatility

Code, results, and paper source for:

Mayer, E. (2026). "Empirical Mode Decomposition Does Not Forecast Volatility: A Causal, Surrogate-Controlled Evaluation." arXiv preprint.

TL;DR — Four pre-registered EMD/HHT volatility signals (a corrected version of Huang's "variability", an IMF-extension forecast, decomposition of the realized-volatility series, and an ensemble-EMD gap on implied-volatility indices and the VIX term structure) are evaluated on S&P 500, CAC 40, Nasdaq-100, WTI, and EUR/USD (1993–2026) with strict point-in-time causality, modern benchmarks (HAR, GARCH, EWMA, implied vol), and surrogate-data nulls. Every candidate fails — and the surrogate nulls show that on cycle-free simulated series the same features earn encompassing t-statistics of +2 to +3 on average, so nominal significance is uninformative for decomposition-based features. The paper proposes prefix-invariance tests and statistic-matched surrogate nulls as minimal reporting standards.

Layout

  • pipeline/ — the evaluation harness:
    • causal_emd.py — point-in-time EMD/EEMD with damped-sinusoid AR end extension (Landel 2008 option 4) and deterministic past-only seeding
    • features.py — the four pre-registered signals S1–S4
    • benchmarks.py, evaluate.py — HAR/GARCH/EWMA/IV benchmarks; QLIKE, Diebold–Mariano (HAC), Mincer–Zarnowitz, encompassing regressions
    • run_phase1.py / analyze_phase1.py — walk-forward screening + reports
    • run_eemd_confirm.py, analyze_s4_cross.py, run_s4_slope.py — EEMD confirmation passes and the S4 cross-asset / term-structure variants
    • run_surrogates.py, run_s4_null.py, run_slope_null.py — the surrogate-null generators (GARCH-t for prices; AR-bootstrap for IV)
    • tests/test_leakage.py — prefix-invariance leakage tests (the single most important file: it proves no feature dated t can see data after t)
  • results/ — surrogate-null distributions and per-asset evaluation reports exactly as generated
  • paper/ — LaTeX source, figure, and compiled PDF
  • scripts/download_data.py — fetches all input data (Yahoo Finance + CBOE); no market data is redistributed here

Reproduce

pip install -r requirements.txt
python scripts/download_data.py                     # ~1 min

# leakage tests (fast; run these first)
python -m pipeline.tests.test_leakage

# walk-forward screening, e.g. S&P 500 (~30 min single-core)
python -m pipeline.run_phase1 --asset spx --method emd --window 750 --start 1993-01-01
python -m pipeline.analyze_phase1 --asset spx --features results/phase1_spx_emd_w750.csv

# EEMD confirmation (stride 5, ~2 h) and surrogate nulls (~2 h each)
python -m pipeline.run_eemd_confirm --asset spx --stride 5 --trials 25
python -m pipeline.run_surrogates --asset spx --n 20 --stride 5
python -m pipeline.run_s4_null --n 12 --stride 5 --trials 25

See REPRODUCE.md for the exact command-to-table mapping for every number in the paper. Results are deterministic (all stochastic components are seeded from past-only quantities); small differences can arise from data-vendor revisions of the underlying series.

Caveats

This is research code, released for verification and reuse of the methodology. The evaluation uses daily data and squared-return volatility proxies (rankings are robust to unbiased proxy noise, Patton 2011). Nothing here is investment advice; the paper's conclusion is precisely that these signals do not work.

License & citation

MIT license. If you use the harness or the nulls, please cite the paper (CITATION.cff).

About

Causal, surrogate-controlled evaluation of EMD/Hilbert-Huang volatility forecasting (paper + harness). Finding: it does not forecast.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages