MarkovSwitchingSSM.smooth#

MarkovSwitchingSSM.smooth(y)[source]#

Filter, then smooth, returning full-sample regime probabilities.

Parameters:

y (ArrayLike) – The series.

Return type:

_KimSmootherResult

Returns:

The smoothed marginal and consecutive-pair regime probabilities over the effective sample.