paramList_MSVARmdl function

Parameter list for Markov-switching vector autoregressive model

Parameter list for Markov-switching vector autoregressive model

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

paramList_MSVARmdl(theta, q, p, k, msmu, msvar)

Arguments

  • theta: Vector of parameters.
  • q: Number of time series.
  • p: Number of autoregressive lags.
  • k: Number of regimes.
  • msmu: Boolean indicating if the mean switches with regime.
  • msvar: Boolean indicating if the variance switches with regime.

Returns

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

  • Maintainer: Gabriel Rodriguez Rondon
  • License: GPL (>= 2)
  • Last published: 2025-02-24