Day 75 — Differencing throws away the thing you wanted
Tuesday, 20 October 2026 · Week 11 of 52 · Time series · Study day · 60 min
The standard fix for a unit root removes the level information, and for a spread that is exactly the information the trade lives on, which is the gap week 12 fills.
What you should be able to do tonight
- Say what differencing does to a series’ long-run relationship, and give one example where the differenced series is useless for the decision you need to make.
- State the practical consequence of a near-unit-root series being differenced when it should not have been.
Tasks 60 min
30 min Demonstrate the loss: take your mean-reverting spread, difference it, and try to build a trading rule from the differenced series alone. Then build the same rule from the level. Report both Sharpe ratios. The differenced version cannot see the level, so it cannot know when the spread is wide.
20 min Read the section of the Forecasting: Principles and Practice ARIMA chapter on differencing and over-differencing, and write down the ACF signature of an over-differenced series so that you can recognise it later.
10 min Write the setup for next week in one paragraph: two series that are individually non-stationary, whose difference is stationary, is a structure that neither differencing nor levels regression handles correctly.
Resources
Deliverable
notebooks/day-075-differencing.ipynb comparing a level-based and a difference-based rule on the same spread, with both Sharpe ratios reported.
Checkpoint
What does an over-differenced series’ autocorrelation function look like, and what is the cost of over-differencing in a trading context?
Prepare for tomorrow
Ten minutes tonight so Day 76, Wednesday, 21 October 2026 starts clean. This is what the evening email sends you.
Simulate a stationary AR(1) with a single mean shift halfway through the sample, and plot it next to a genuine random walk.
Look at the two panels and decide which is which by eye. Write your call down.
Install ruptures into the quant environment if it is not there already.