Day 88 — HAR: three lags beat a fitted GARCH most of the time
Monday, 2 November 2026 · Week 13 of 52 · Time series · Study day · 60 min
A linear regression on daily, weekly and monthly realised variance outperforms most of the GARCH family out of sample, which is worth knowing before you spend a week on maximum likelihood.
What you should be able to do tonight
- State the HAR specification and the economic story behind its three horizons.
- Report the out-of-sample comparison between HAR, GARCH and EWMA under a loss function you chose in advance.
Tasks 60 min
35 min Fit HAR on log realised variance and compare it out of sample against your GARCH and EWMA forecasts at the one-day and five-day horizons, under both mean squared error and QLIKE. Choose the loss before you look at the results and say why.
25 min Run the Diebold-Mariano comparison on the forecast loss differentials rather than eyeballing the numbers, using a Newey-West standard error for the mean differential. This is week 11’s tool doing real work.
Resources
Deliverable
notebooks/day-088-har.ipynb with a three-model forecast comparison under two losses and a Diebold-Mariano test on the differentials.
Checkpoint
HAR beats GARCH out of sample on your data. Give two reasons that could be true and one way it could be an artifact of your evaluation.
Prepare for tomorrow
Ten minutes tonight so Day 89, Tuesday, 3 November 2026 starts clean. This is what the evening email sends you.
Write down what a good volatility forecast is for. There are at least three uses and they want different loss functions.
For each use, name the loss function you would evaluate under.
Ten minutes on paper, no code.