Looking back with hindsight
The forward algorithm gives filtered probabilities: our belief about day using only the data up to day . After we have the whole history we can do better for the past. If day one looked calm but days two and three had large moves, those later days tell us something about day one. Smoothing uses all the data. It needs a second quantity : the probability of the observations after day , given that day is in state . We compute it backward, starting from .
The product is the probability of all the data together with being in state on day : covers the past and today, covers the future. Dividing by the sum over states gives the smoothed probability , the belief about day given the whole sample. Summing over the states gives the same number for every , the probability of the data. Smoothed probabilities are the right tool to describe the past, for example to label historical regimes. They are the wrong tool to trade on, because on the day itself the future is not known.
- Backward values : the chance of all later observations given the state on day .
- Smoothing : the belief about day given all the data, past and future.
- For describing the past only: smoothed probabilities use future data, so they cannot be used to trade.
Lab · what's graded
- A backward value15 pts
- Another backward value15 pts
- The smoothed chance of stormy15 pts
- A check on the sum10 pts
- Filtered versus smoothed10 pts
- What smoothing adds10 pts
- Match the vocabulary10 pts
- Why smoothed and filtered differ15 pts