simAR1 | R Documentation |
Simulate a First order Autoregressive Model AR(1)
simAR1(n = 100, delta = 0, phi = 0.5, sderror = 1)
n |
Length of the series to simulate |
delta |
Constant term (delta) |
phi |
Coefficient of Z(t-1) |
sderror |
Standard deviation of the error term |
A time series simulated from the model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.