gen_sarma | R Documentation |
Generate an ARMA(P,Q) process with supplied vector of Autoregressive Coefficients (φ), Moving Average Coefficients (θ), and σ^2.
gen_sarma(N, ar, ma, sar, sma, sigma2 = 1.5, s = 12L, n_start = 0L)
N |
An |
ar |
A |
ma |
A |
sar |
A |
sma |
A |
sigma2 |
A |
s |
An |
n_start |
An |
The innovations are generated from a normal distribution. The σ^2 parameter is indeed a variance parameter. This differs from R's use of the standard deviation, σ.
A vec
that contains the generated observations.
gen_sarma(10, c(.3,.5), c(.1), c(.2), c(.4), 1, 12, 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.