The M step contains two parts. One for the estimation of the parameters of the hidden Markov chain and the other for the parameters of the auto-regressive models. A numerical algortihm is used for the emission parameters.
Mstep.hn.MSAR(data, theta, FB, covar = NULL, verbose = FALSE)array of univariate or multivariate series with dimension T*N.samples*d. T: number of time steps of each sample, N.samples: number of realisations of the same stationary process, d: dimension.
model's parameter; object of class MSAR. See also init.theta.MSAR.
Forward-Backward results, obtained by calling Estep.MSAR function
emissions covariates (the covariables act on the intercepts)
if verbose is TRUE some iterations of the numerical optimisation are print on the console.
List containing
intercepts
AR coefficients
variance of innovation
prior probabilities
transition matrix
emission parameters
The default numerical optimization method is ucminf (see ucminf).
Ailliot P., Monbet V., (2012), Markov switching autoregressive models for wind time series. Environmental Modelling & Software, 30, pp 92-101.
fit.MSAR, init.theta.MSAR, Mstep.hh.MSAR