This function takes the parameter vector of interest and converts it to a list with specific parameter vectors needed for univariate Markov-switching functions.
paramList_MSARXmdl(theta, p, k, qz, msmu, msvar)
List with the mean, variance, transition matrix, limiting probabilities, and a vector of state indicators.
Vector of parameters.
Number of autoregressive lags.
Number of regimes.
Number of exogenous variables.
Boolean indicating if the mean switches with regime.
Boolean indicating if the variance switches with regime.