MarkovSwitchingAR.update_coefficients#
- static MarkovSwitchingAR.update_coefficients(target, lags, smoothed, sigma2, layout)[source]#
M-step coefficient update by responsibility-weighted GLS.
All regimes are solved in one stacked system so that non-switching blocks are estimated jointly across regimes rather than per regime.
- Parameters:
- Return type:
- Returns:
A tuple
(intercepts, ar_params)of shapes(K,)and(K, p).