Lesson 12 of 25 · 7 min
Rolling correlation, and what it reveals about regimes
A six-month window read 0.20, then 0.87, then 0.23, on twelve months in which neither holding changed.
A single correlation hides its own instability. Recomputing it on a window that slides forward one period at a time exposes the instability, and introduces a second artefact that has to be read around.
Run a six-month window across lesson 11's twelve months, one step at a time. The seven readings are 0.2010, 0.8110, 0.8591, 0.8485, 0.8541, 0.8738 and 0.2337. The two lowest are the first and the last. Those are the only two windows that sit entirely inside one regime. The five high readings are precisely the windows that straddle the break between the rising stretch and the falling one.
So a rolling correlation does not report high co-movement when co-movement rises. It reports high co-movement when its window contains a level shift, for exactly the reason lesson 11 computed. The rolling series is a regime detector: the shape of it tells you when the relationship changed, and the level it prints while changing is contaminated by the change itself.
Two further readings are worth taking. The move from 0.8738 to 0.2337 came from dropping one month and adding one — a 0.64 swing from a two-observation change, and a measured 0.8738 on six observations carries a 95 percent interval of roughly 0.21 to 0.99. The window length is also a choice with a cost either way: shorter windows detect a change sooner and are noisier, longer ones are steadier and place the change late.
For a pledged portfolio the consequence is specific. A lender re-estimating on a rolling window sees correlations rise at the start of a drawdown for both reasons at once — the genuine convergence lesson 13 measures, and the pooling artefact. Both push the same way, so a grouping decision taken on a rolling estimate in the first weeks of a drawdown is more conservative than the underlying co-movement alone justifies.
Key terms
- Rolling correlation
- A correlation recomputed on a fixed-length window that advances one period at a time, producing a series rather than a single number.
- Window length
- How many periods each rolling estimate covers. Short windows react quickly and jump about; long ones are stable and slow to register a change.
- Straddling window
- A rolling window containing a regime change. Its reading is raised by the change itself and is not an estimate of co-movement within either regime.
Worked example
Seven overlapping windows on twelve months
Lesson 11's two return series. A six-month correlation, recomputed at each possible starting month. The regime break falls between months six and seven.
- Months 1-6, entirely in the rising stretch
- 0.2010
- Months 2-7, first window to straddle the break
- 0.8110
- Months 3-8
- 0.8591
- Months 6-11
- 0.8738
- Months 7-12, entirely in the falling stretch
- 0.2337
- Swing from the sixth window to the seventh
- 0.64
The highest reading of the seven.
One month dropped, one added.
The five highest readings all contain the break and none of them describes co-movement within a regime. The two readings that do describe it are the two lowest.
Check yourself
A rolling six-month correlation on one pair of holdings reads 0.87 in one window and 0.23 in the next. Only one month was dropped and one added. What does that tell you about the 0.87?
Saved in this browser only. No account, nothing sent anywhere.
Educational only. Nothing in this lesson is investment, legal or tax advice, or a recommendation to enter into any transaction. Figures are illustrative and computed from the inputs stated in the lesson.