state-space models
1 post
- Quant techniques · state-space models
A hedge ratio that moves: the Kalman filter in five lines
Rolling regressions make you choose a window and still lag. A Kalman filter treats the hedge ratio as a hidden random walk, updates it one observation at a time, and picks its own memory from the noise levels. Here is the filter, why it works, and how to tune it.