powered by
This function calls arima.sim but with more simple parameter structure for stationary ARIMA (or ARMA) models
gen.arima.wge(n, phi=0, theta=0, d=0,s=0,mu=0,vara=1,plot=TRUE,sn=0)
This function simply generates and (optionally plots) an ARIMA (or ARMA) realization
Length of realization to be generated
Vector of AR coefficients
Vector of MA coefficients
Order of the difference
Seasonal order
White noise variance, default=1
Theoretical mean of data in x, default=0
Logical: TRUE=plot, FALSE=no plot
determines the seed used in the simulation. sn=0 produces new/random realization each time. sn=positive integer produces same realization each time
Wayne Woodward
"Applied Time Series Analysis with R, 2nd edition" by Woodward, Gray, and Elliott
gen.arima.wge(n=100, phi=c(1.6,-.9), theta=.8, d=1, vara=1, plot=TRUE)
Run the code above in your browser using DataLab