Description Usage Arguments Details Value See Also Examples
An AR(1) series with mean zero and variance 1 and with autocorrelation paramater phi is simulated.
1 | SimulateAR1(n, phi)
|
n |
length of series |
phi |
autocorrelation parameter |
The model equation is: z[t] = phi*z[t-1]+a[t], where z[1] is N(0,1) and a[t] are NID(0, siga), siga=√(1/(1-phi^2)).
autocorrelated time series of length n
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.