powered by
Generate synthetic observations
sim(a, n = 100)
Returns a vector of n synthetic observations.
n
ARMA model
Number of synthetic observations required
The ARMA model is a list with the following components.
phi
theta
sigma2
a = specify(ar=c(0,0,.99)) x = sim(a,60) plotc(x)
Run the code above in your browser using DataLab