Day 73 — HAC standard errors, and the lag choice nobody defends
Sunday, 18 October 2026 · Week 11 of 52 · Time series · Study day · 55 min
Overlapping observations and persistent regressors are how predictive regressions in this field are usually run, and the standard errors that come out of ordinary least squares are wrong by a factor you can compute.
What you should be able to do tonight
- Say what Newey-West is estimating and why the naive standard error is too small under positive residual autocorrelation.
- Show how much the t-statistic on your own predictive regression moves under three different lag truncation choices.
Tasks 55 min
30 min Rerun last night’s predictive regression with ordinary standard errors and with Newey-West at lag truncations of 4, 12 and the automatic Newey-West rule from statsmodels. Report four t-statistics from the same point estimate. The spread is the honest uncertainty about your uncertainty.
25 min Demonstrate the mechanism on a case with a known answer: simulate a regression with autocorrelated residuals and a persistent regressor, and compare the empirical standard deviation of the estimated coefficient across replications against what the ordinary and HAC formulas each report. Then say which of the two matched.
Resources
Deliverable
notebooks/day-073-hac.ipynb with four t-statistics from one regression and a simulation confirming which standard error is calibrated.
Checkpoint
Your predictive regression uses 12-month overlapping returns. Roughly what factor should the standard error be inflated by, and where does that factor come from?
Prepare for tomorrow
Ten minutes tonight so Day 74, Monday, 19 October 2026 starts clean. This is what the evening email sends you.
Take your 12-month momentum strategy’s monthly returns and compute the mean with an ordinary standard error and with a Newey-West standard error.
Note the two t-statistics.
Tomorrow this becomes part of the strategy’s write-up rather than an exercise.