calcResid_MSARXmdl | R Documentation |
This function computes residuals of a Markov-switching autoregressive model.
calcResid_MSARXmdl(mdl, mu, k)
mdl |
List containing relevant parameters. |
mu |
Vector with mean in each regime. |
k |
number of regimes. Must be greater than or equal to |
A (TxM
) matrix of residuals in each regime M
where M=k^(ar+1)
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.