powered by
This function is to generate a time series sequence.
arma.sim(ars, mas, nobs, c = 0, sigma = 1, seed = NA)
The arma.sim method returns an object of class “Time Series”.
AR part.
MA part.
Length of time series sequence.
Constant.
The standrad error.
Set seed.
ts <- arma.sim(ars = c(-0.9, -1.4, -0.7, -0.6), mas = c(0.5, -0.4), nobs = 100)
Run the code above in your browser using DataLab