MarkovSwitchingSSM.smooth_densities#

MarkovSwitchingSSM.smooth_densities(filtered)[source]#

Run the Kim smoother over a completed forward pass.

Parameters:

filtered (_HamiltonFilterResult) – A forward pass produced with this system’s transition matrix.

Return type:

_KimSmootherResult

Returns:

The smoothed marginal and consecutive-pair regime probabilities.