| gen_arima | R Documentation | 
Generate an ARIMA(p,d,q) process with supplied vector of Autoregressive Coefficients (φ), Integrated d, Moving Average Coefficients (θ), and σ^2.
gen_arima(N, ar, d, ma, sigma2 = 1.5, n_start = 0L)
| N | An  | 
| ar | A  | 
| d | An  | 
| ma | A  | 
| sigma2 | A  | 
| 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.
Please note, this function will generate a sum of N + d number of observations, where d denotes the number of differences necessary.
# Generate an ARIMA model xt = gen_arima(10, c(.3,.5), 1, c(.1), 1.5, 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.