View source: R/univariate_autoregressive_hmm_functions.R
get_ar_mean | R Documentation |
Get mean corresponding to a given index in an autoregressive series
get_ar_mean(mu, phi, x, q, i)
mu |
Vector of length m, containing means for the white noise in each state dependent distribution |
phi |
Matrix of size m x q, containing autoregressive parameters. Each row contains the parameters corresponding to a single state. |
x |
Vector of observations coming from an autoregressive series |
q |
Order of the autoregressive model |
i |
Index of the desired mean |
Vector 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.