This function is used by the Monte Carlo testing procedures to estimate restricted and unrestricted models.
estimMdl(Y, p, q, k, Z = NULL, control = list())
List with estimated model properties.
Series to be tested. Must be a (T x q
) matrix.
integer specifying the number of autoregressive lags.
integer specifying the number of series.
integer specifying the number of regimes.
exogeneous regressors. Defualt is NULL.
List with control options for model estimation. For default values, see description of model being estimated.