View source: R/multivariate_autoregressive_hmm_functions.R
get_mar_mean | R Documentation |
Get mean corresponding to a given index in a multivariate autoregressive series
get_mar_mean(mu, phi, x, m, q, k, i)
mu |
List of vectors of length m, means for white noise in each state dependent distribution |
phi |
List of k x (k x q) matrices, containing the autoregressive parameters. Each matrix corresponds to a state. The first k x k entries are the parameters for index i - 1, and so on up to index i - q. |
x |
Observations coming from a multivariate autoregressive series, in a matrix with k rows. Each row corresponds to a variable. |
m |
Number of states |
q |
Order of the autoregressive model |
k |
Number of variables |
i |
Index of the desired mean |
List of vectors of length m containing means corresponding to index i for the given autoregressive model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.