MarkovSwitchingSSM#
- cultivars.state_space.regime_switching.MarkovSwitchingSSM[source]#
alias of
_MarkovSwitchingStateSpace
Attributes#
Per-regime autoregressive coefficients, shape |
|
Distribution of the regime at the first modelled observation. |
|
Per-regime intercepts. |
|
Observed dimension; one, since the chain drives a scalar series. |
|
the number of regimes. |
|
The number of regimes, named as the chain rather than as a dimension. |
|
Autoregressive order of the per-regime observation equation. |
|
The row-stochastic regime transition matrix. |
|
Per-regime innovation variances. |
Methods#
|
Per-regime conditional means |
|
The |
Split a series into the modelled target and its lag block. |
|
|
Filter a series, returning regime probabilities and the likelihood. |
|
Run the Hamilton filter over an already-built density matrix. |
|
Gaussian log conditional densities, one column per regime. |
The exact log-likelihood of a series under this system. |
|
|
Filter, then smooth, returning full-sample regime probabilities. |
|
Run the Kim smoother over a completed forward pass. |