Quant Memo
Advanced

Overlapping Returns and the Hansen-Hodrick Correction

Sampling long-horizon returns every month manufactures dependence between consecutive observations that plain OLS standard errors do not see. The Hansen-Hodrick correction accounts for exactly the amount of overlap you built in.

Prerequisites: Autocorrelation and Serial Correlation, Newey-West HAC Standard Errors

Suppose you want to know whether dividend yield predicts the next twelve months of stock returns. You have monthly data, so the tempting move is to compute a 12-month forward return starting every single month and regress all of them on that month's yield. You now have almost as many rows as you have months of history. You have not gained nearly that much information, because your February-to-January return and your March-to-February return share eleven of their twelve months in common. Consecutive rows are telling you almost the same story twice, and ordinary regression standard errors have no idea.

Where the dependence comes from

This is a self-inflicted version of ordinary autocorrelation. If you sampled non-overlapping 12-month returns — January to January, then the next January to January — the rows would be genuinely separate observations, but you would only have one row per year, throwing away most of your sample. Overlapping lets you keep every month as a data point, at the cost of manufacturing a very specific, very predictable kind of dependence: a 12-month overlapping return series behaves like a moving-average process of order 11, because each observation is built from eleven of the same underlying monthly returns as its neighbour.

Ordinary least squares standard errors assume each row's error is unrelated to the next row's error. Overlap violates that assumption by construction, not by accident, so the fix has to know the overlap length.

The correction

Hansen and Hodrick's fix widens the regression's standard error to account for the known correlation structure. For a forecast horizon of kk periods, the corrected variance of the slope estimate sums the ordinary variance of the regression residual with k1k-1 extra covariance terms, weighted equally rather than tapered:

Var^HH=1T(γ^0+2j=1k1γ^j),\widehat{\text{Var}}_{HH} = \frac{1}{T}\left(\hat\gamma_0 + 2\sum_{j=1}^{k-1}\hat\gamma_j\right),

where γ^j\hat\gamma_j is the sample autocovariance of the regression residual at lag jj. In words: take the usual residual variance, then add back twice the covariance between each pair of residuals that are close enough together to share overlapping months, all the way out to k1k-1 lags — beyond that, two windows no longer share any months and the extra terms stop. This is the same idea as the Newey-West HAC Standard Errors correction, except Hansen-Hodrick was built specifically for the overlap problem and does not taper the distant lags down, since every lag inside the window is equally "real" overlap rather than a fading nuisance correlation.

Overlap does not make your standard error wrong by a small margin, it makes the naive count of observations wrong by roughly a factor of kk. A twelve-month-horizon regression on monthly data has closer to T/12T/12 independent observations than TT.

month 1 month 24 window starting month 1 window starting month 2 window starting month 3 window starting month 4 window starting month 5 each pair of neighbouring bars shares eleven of twelve months
Five consecutive 12-month return windows. Rows 1 and 2 differ by exactly one month out of twelve — almost the same observation, counted twice.

Worked example

A predictive regression of 12-month forward equity returns on dividend yield, run on T=240T = 240 months of overlapping data, gives a naive OLS slope standard error of 0.0450.045 (ignoring overlap). The regression residual's own lag-1 through lag-11 autocovariances, relative to its lag-0 variance γ^0\hat\gamma_0, sum to 2j=111γ^j=5.8×γ^02\sum_{j=1}^{11}\hat\gamma_j = 5.8 \times \hat\gamma_0 — a realistic figure for heavily overlapping 12-month windows.

Step 1. The corrected variance is γ^0(1+5.8)=6.8γ^0\hat\gamma_0(1 + 5.8) = 6.8\,\hat\gamma_0, versus γ^0\hat\gamma_0 for the naive calculation.

Step 2. Standard errors scale with the square root of variance, so SEHH=0.045×6.8=0.045×2.61=0.117\text{SE}_{HH} = 0.045 \times \sqrt{6.8} = 0.045 \times 2.61 = 0.117.

Step 3. A slope estimate of 0.090.09 that looked like t=0.09/0.045=2.0t = 0.09/0.045 = 2.0 (barely significant) becomes t=0.09/0.117=0.77t = 0.09/0.117 = 0.77 once corrected — not distinguishable from noise. The naive regression was implicitly claiming 240 independent years' worth of evidence about a 12-month effect from 20 years of data.

In practice

  • The correction never fixes the point estimate, only the error bar. The slope itself is unchanged; overlap only inflates how confident you should be in it.
  • The rule of thumb before running any correction: if your forecast horizon is kk periods and you sample every period, expect your effective sample size to fall to roughly T/kT/k. See Effective Sample Size With Autocorrelated Observations for the general version of this shrinkage.
  • Do not just widen the sample instead. Extending the history to get more overlapping rows does not solve the problem; the true information content still grows only with non-overlapping years, not months.
  • This is a first cousin of the panel problem that Clustered Standard Errors and Fama-MacBeth Regression solve in the cross-section: in every case, naive OLS counts rows that are not independent as if they were.

Long-horizon return-predictability results (dividend yield, valuation ratios, and similar) are especially prone to this: the apparent statistical power tends to rise with the forecast horizon precisely because overlap is worst at long horizons, which is backwards from genuine predictive strength. Any headline predictability result quoted without an overlap-robust standard error should be treated as provisional.

Related concepts

Practice in interviews

Further reading

  • Hansen & Hodrick (1980), Forward Exchange Rates as Optimal Predictors of Future Spot Rates
  • Cochrane, Asset Pricing (ch. 20, appendix on overlapping data)
ShareTwitterLinkedIn