Learn R Programming

MSTest (version 0.1.5)

paramList_MSARXmdl: Parameter list for Markov-switching ARX model

Description

This function takes the parameter vector of interest and converts it to a list with specific parameter vectors needed for univariate Markov-switching functions.

Usage

paramList_MSARXmdl(theta, p, k, qz, msmu, msvar)

Value

List with the mean, variance, transition matrix, limiting probabilities, and a vector of state indicators.

Arguments

theta

Vector of parameters.

p

Number of autoregressive lags.

k

Number of regimes.

qz

Number of exogenous variables.

msmu

Boolean indicating if the mean switches with regime.

msvar

Boolean indicating if the variance switches with regime.