1. Summary
Final evaluation from 2018Question: does deep learning forecast the volatility of equity indices better than simple models like HAR and GARCH? Answer: only in part. A small GRU, estimated on all three indices together and averaged over 5 seeds, is the best model at 1 and 5 days, especially on the European indices. At 22 days the HAR remains the best. Ridge and LightGBM do not beat the HAR. In volatility targeting all the model-based strategies hit the 10% volatility target, but the GRU does not give a Sharpe ratio different from the HAR's: the statistical improvement does not become a measurable economic gain.
Where these numbers come from: they are counts made by the generator on tables F1, F3 and S3 of docs/results.md, not recalculations.
2. Data and volatility proxy
Descriptive — data from 2000 (start dates per asset)Three price indices from Yahoo Finance (dividends excluded). Volatility is not observed: the Parkinson estimator is used, based on the day's high-low range. No raw price or return is included in this page: only derived quantities.
Series length, reliable start and rows removed
What to look at: total rows, "stale" rows removed (holidays with a dummy value) and days with high = low. What it means: the usable sample starts from each index's reliable date; the Euro Stoxx 50 only has data from 2007.
What to look at: how many sessions fall in initial estimation, tuning and evaluation. What it means: the evaluation period is the same for all the indices; only the length of the initial estimation changes.
What to look at: the ratio of Parkinson to squared return, year by year. What it means: no break in the construction of the historical data: the proxy is homogeneous over time.
Year-by-year anomalies, Parkinson/r² ratio per year, removed days, extreme returns, VIX, proxy floor
What to look at: anomalous days per year (stale, high = low, open equal to the previous close). What it means: the anomalies are concentrated in the more distant history.
What to look at: the last column (ratio divided by the median). What it means: outside [0.80; 1.25] the year is flagged; isolated violations are market events, not data errors.
Days removed because stale (date only; prices are not shown).
Days with |return| above 10%, flagged and not modified (date only).
VIX aligned to each index's trading date, never with later dates.
Proxy values ≤ 0 replaced with a floor computed on the past only.
Parkinson proxy over time
What to look at: the dark line (22-session moving average) and the grey daily spikes. What it means: volatility moves in waves (2008, 2011, 2020, 2022): it is predictable precisely because it persists.
Stylised facts
What to look at: the autocorrelations of r², |r| and log-Parkinson stay positive for many lags. What it means: long memory of volatility, the reason for using 5, 22 and 66-day averages.
What to look at: excess kurtosis and the frequency of days beyond 4 standard deviations. What it means: tails much heavier than a normal (the last column says how many times more); this is why the GARCH models use a Student's t.
3. Tuning period (2013-2017)
Tuning 2013-2017 — this is not the evaluationThese numbers only serve to choose hyperparameters and candidates, with rules fixed beforehand. They should not be compared with those of the final evaluation.
Model ranking by QLIKE
What to look at: the shortest bars. What it means: lower QLIKE = better forecasts in tuning. The "average" is the simple mean of the 9 cells of table 2 of results.md; the robustness variants (not rescaled) and the VIX scenario are in a lighter shade; the naive forecast is excluded from the chart (much worse, it is in the table).
QLIKE and MSE tables for tuning
Hyperparameter grids
What to look at: the solid bar is the chosen configuration. What it means: the lowest average QLIKE across the 9 cells wins (rule declared beforehand, A5.6); for the linear models the curve is almost flat.
What to look at: GRU with a 60 or 120-day window and 32 or 64 units. What it means: the smallest network wins (rule A6.7); larger networks don't help.
Full grid tables
Ridge against HAR, and HAR with the 66-day average
The 66-day HAR is an exploratory post-hoc analysis (A5.9)What to look at: how close the bar of the HAR with 66 days gets to Ridge. What it means: at 5 and 22 days Ridge's advantage comes almost entirely from the 66-day variable, not from the model.
LightGBM SHAP importances
What to look at: the variables with the longest bars. What it means: at 1-5 days the 5-day average matters, at 22 days the 66-day average; the negative return (leverage) matters little. Last re-estimation of the tuning.
Neural networks: dispersion across seeds, ensemble, local versus global
What to look at: the bar goes from the best to the worst seed, relative to the ensemble's QLIKE (= 1); the empty dot is the seed average (ratios computed from table 10). What it means: individual seeds differ by a few percentage points, as much as the differences between models; the ensemble is below the seed average: without an ensemble the comparison would be a lottery.
What to look at: the cells where the single model on the three indices beats the separate ones. What it means: the global model helps mainly the flexible models (LightGBM, GRU), Ridge little.
Estimation diagnostics (GARCH, R/Python cross-check, network training)
4. Final evaluation (from 2018)
Final evaluation from 2018 — run once after the pre-eval tagTen candidates, one per family (local and global version where it exists), chosen in tuning with declared rules. Benchmark: HAR with leverage term.
Losses by model, index and horizon
Table
Diebold-Mariano against the HAR (QLIKE)
What to look at: the blue cells with the asterisk. What it means: negative statistic = candidate with a lower loss than the HAR; * = p < 0.05. Single tests, not corrected for multiple comparisons (that is what the MCS is for).
Model Confidence Set (α = 0.10)
What to look at: the green cells are the models in the set of the best, with the MCS p-value (1.00 = the best). What it means: at 1 and 5 days on the European indices almost only the GRUs remain; on the S&P 500 the HAR and the global GRU cannot be told apart; at 22 days almost all remain.
Mincer-Zarnowitz: slope (R²)
What to look at: slopes close to 1. What it means: below 1 the forecasts are too variable relative to the realised value (the HAR), above 1 too flat.
Regimes: calm, stress, Covid 2020, year 2022
What to look at: the colour of the GRU rows in stress. What it means: QLIKE relative to the HAR in the regime; descriptive, no test. In stress the global GRU is below 1 in all cells; in calm it wins at 1-5 days and loses at 22.
5. Forecasts versus realised volatility
Final evaluation from 2018What to look at: the grey line is realised volatility (Parkinson averaged over the following days), the others are the forecasts; the bands highlight Covid 2020 and 2022. Drag to zoom. What it means: the HAR explodes after the extreme days of March 2020; GRU and EGARCH are smoother. Illustrative episodes, not proof.
6. Cumulative QLIKE difference relative to the HAR
Final evaluation from 2018What to look at: whether the curve falls below zero and when. What it means: sum over time of QLIKE(candidate) − QLIKE(HAR): below zero the candidate has accumulated lower losses; a jump indicates a single decisive episode. Descriptive: significance is in the Diebold-Mariano test.
7. Robustness and exploratory
Exploratory / robustness — does not change the main resultsS&P 500 with the sample from 2007
What to look at: the two columns per horizon (main sample and from 2007). What it means: with the shorter sample the global GRU is still the best at 1 day, but the advantage is no longer significant.
What to look at: no blue cell with an asterisk for the networks. What it means: Diebold-Mariano against the HAR on the S&P 500 from 2007: on the US market the gain from deep learning is not robust.
Models on non-rescaled returns
What to look at: rescaled EGARCH against non-rescaled. What it means: rescaling to the proxy's level helps at 1-5 days, not at 22.
Ensemble against single seeds
What to look at: the last column. What it means: at 1-5 days almost all the seeds of the global GRU beat the HAR: the result does not depend on a lucky seed.
Post-hoc check A7.8: HAR without leverage and excluding February-April 2020
What to look at: the "in the MCS" column and the sign of the DM in all scenarios. What it means: the conclusion on the global GRU at 1 and 5 days does not change either with another benchmark or without Covid.
What to look at: the GRU rows. What it means: QLIKE relative to the scenario's benchmark (below 1 = better), horizons 1 and 5 only.
Diebold-Mariano and MCS of the scenario
8. Volatility targeting
Final evaluation from 2018 — parameters fixed beforehand (A8)Weight = 10% divided by the forecast volatility for tomorrow (maximum leverage 1.5), decided at the end of the day; costs per unit of turnover. Price returns without dividends.
What to look at: the models' curves against buy-and-hold (logarithmic scale). What it means: less return and much less fluctuation; the HAR and GRU curves almost overlap.
What to look at: how close the curves stay to the 10% line. What it means: 63-session realised volatility (main cost); the models hold the target, buy-and-hold doesn't.
What to look at: the depth of the drawdowns. What it means: targeting roughly halves the maximum drawdown (main cost).
Sharpe differences with confidence intervals
What to look at: whether the interval crosses zero. What it means: 95% interval with stationary bootstrap; if it contains zero the difference is not significant. Global GRU against HAR: never significant.
What to look at: realised volatility against 10%, Sharpe, drawdown, turnover. What it means: metrics at the main cost (2 basis points).
What to look at: how the Sharpe falls from 0 to 5 basis points. What it means: the models' signals turn the portfolio over a lot, so they suffer more from costs.
Full table of Sharpe differences
9. How the study was run
Method- Rules before results. Grids, selection rules, final candidates and strategy parameters were committed before computing the corresponding losses; the choices use only the tuning period.
- A single evaluation period, used once. Candidates, code and forecasts frozen with the git tag
pre-eval(commit); unlock in a separate commit (); evaluation run once. The code had been tried beforehand on the tuning. - The rest is declared exploratory (section 7), without changing candidates or results. Decision log A0.1-A9.10 in
docs/methodology.md; all the tables indocs/results.md.
Limitations
- No hyperparameter search of its own for the global models (A7.2).
- Price returns without dividends; no leverage cost or slippage in the targeting.
- Euro Stoxx 50 with a sample from 2007, shorter than the other indices.
- Small numerical differences between computers (A7.6); the versioned forecasts are the reference.
- HAR with explosive forecasts in March 2020; the A7.8 check shows the conclusion does not change.
- On the S&P 500 the GRU's advantage is not robust to the sample from 2007.
Consistency checks with results.md
The generator stops if a reconstructed number does not match the tables (A9.4). Checks passed:
Glossary
- Parkinson proxy
- Estimate of a day's variance from the ratio between high and low: ln(H/L)² / (4 ln 2). It is the "realised" value the forecasts try to guess.
- QLIKE
- Main loss: realised/forecast − ln(realised/forecast) − 1. It is 0 for a perfect forecast and penalises mainly under-estimates; it is robust to a noisy proxy.
- MSE, MAE
- Mean squared error on the variance (dominated by very volatile days) and mean absolute error on the volatility.
- Walk-forward and purging
- Models are re-estimated over time using only past data; purging removes from the estimation the targets that end after the re-estimation date, so no future data enter the model.
- Diebold-Mariano (DM)
- Test on the mean loss difference between two models, corrected for autocorrelation; here a negative statistic = candidate better than the HAR.
- Model Confidence Set (MCS)
- Set of the models that cannot be told apart from the best at the 10% level; it accounts for the comparison of many models together.
- Mincer-Zarnowitz
- Regression of the realised value on the forecast: slope 1 and intercept 0 for a well-calibrated forecast.
- Seed ensemble
- Average of the forecasts of 5 identical networks trained with different random initialisations; it reduces the dependence on luck.
- Global model
- A single model estimated on the three indices together (with standardisation per index), against a separate model per index (local).
- HAR, GARCH, EWMA, ARMA
- Classic models: regression on 1, 5 and 22-day averages (HAR); conditional variance with past shocks (GARCH, EGARCH); exponential average (EWMA); autoregressive model on the log of volatility (ARMA).
- Tuning and final evaluation
- 2013-2017 to choose; from 2018 to judge, once only.