powered by
An exact simulation method is used to simulate Gaussian ARMA models.
SimulateGaussianARMA(phi, theta, n, InnovationVariance = 1, UseC = TRUE)
AR coefficients
MA coefficients
length of series
innovation variable, default is 1
if UseC=TRUE, use C code. Otherwise, use slower R code.
UseC
a vector containing the time series
The detailed description is given in Hipel and McLeod (1994, 2006).
Hipel, K.W. and McLeod, A.I. (2006). Time Series Modelling of Water Resources and Environmental Systems.
arima.sim
# NOT RUN { z<-SimulateGaussianARMA(0.9, 0.5, 200) FitARMA(z, c(1,0,1)) # }
Run the code above in your browser using DataLab