Day 216 — Cross-sectional labels, and the demeaning that decides the bet
Wednesday, 10 March 2027 · Week 31 of 52 · Machine learning · Study day · 60 min
A model that predicts raw returns spends most of its capacity predicting the market, and a cross-sectionally demeaned label spends all of it on the thing you actually trade.
What you should be able to do tonight
- Show how much of a raw-return model’s predictive power is the market factor, and what remains after demeaning.
- State which label you will use for the audit in week 34 and why.
Tasks 60 min
30 min Decompose it: fit the same model to raw forward returns and to cross-sectionally demeaned forward returns, and for the first one report how much of its out-of-sample R-squared disappears once you remove the common component. Most of it will.
20 min Fix the protocol for the rest of the phase and write it down: the label, the horizon, the weighting scheme, the validation scheme and the metric. Freeze it in a configuration file and commit it, because week 34’s audit is only meaningful if the protocol predates the models.
10 min Note the exception: a time-series model on an index is legitimately predicting the market and should not be demeaned, so the protocol needs to say which problem it applies to.
The running strategy
The modelling protocol is frozen in a committed configuration file before any model is fitted: label, horizon, weights, validation scheme and metric. Week 34’s audit compares models under it without any of them having chosen it.
Resources
Deliverable
The frozen protocol configuration committed, plus the decomposition showing how much of a raw-return model is the market factor.
Checkpoint
Why demean the label cross-sectionally, and when would that be the wrong thing to do?
Prepare for tomorrow
Ten minutes tonight so Day 217, Thursday, 11 March 2027 starts clean. This is what the evening email sends you.
Reread the protocol file once and check you could hand it to someone else.
Check the arithmetic drill times.
Nothing else.