This function performs the maximization step of the Expectation Maximization algorithm for Markov-switching autoregressive model.
EMaximization_MSARmdl(theta, mdl, MSloglik_output, k)
List with new maximized parameters.
Vector of model parameters.
List with model attributes.
List with output from ExpectationM_MSARmdl
.
Integer determining the number of regimes.