get.ARMA.data | R Documentation |
Generates data from an ARMA(p,q) model with iid Normal innovations.
get.ARMA.data(phi = NULL, theta = NULL, sigma = 1, n, trun = 500)
phi |
a vector with autoregressive coefficients. |
theta |
a vector the moving average coefficients. |
sigma |
the white noise variance. |
n |
the length of the realization to be generated. |
trun |
the number of terms to keep in the causal representation of the model, which is used to generate the data. |
a length-n
realization of the time series.
This function generates a length-n
realization from a causal invertible ARMA(p,q) model with iid Normal innovations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.