| argrid_MSARmdl | R Documentation |
This function creates a grid of mean and variance consistent with a Markov-switching autoregressive model.
argrid_MSARmdl(mu, sig, k, ar, msmu, msvar)
mu |
vector ( |
sig |
vector ( |
k |
integer determining the number of regimes. |
ar |
number of autoregressive lags. |
msmu |
Boolean indicator. If |
msvar |
Boolean indicator. If |
List with (M x ar+1) matrix of means for each regime M (where M = k^(ar+1)) and each time t,... t-ar, vector with variance for each regime M, and vector indicating the corresponded 1,..., k regime.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.