This function is used by the MMC LRT procedure. It makes a copy of the restricted model under the null hypothesis and changes the parameters used to simulate the process under the null with values being considered in the search/optimization.
mdledit(mdl_h0, theta_h0, p, q, k0, exog)
List with model properties
List with restricted model properties.
vector of parameter values under null being considered.
integer specifying the number of autoregressive lags.
integer specifying the number of series.
integer specifying the number of regimes.