View source: R/gen.garma.wge.R
gen.garma.wge | R Documentation |
This function calls gen.geg.wge and arima.sim
gen.garma.wge(n,u,lambda,phi = 0,theta=0,trun=300000,burn_in=600,vara=1,plot=TRUE,sn=0)
n |
the realization length to be generated |
u |
Parameter u in the GARMA model given in (11.16) of Woodward, Gray, and Elliott text |
lambda |
Parameter lambda in the GARMA model given in (11.16) of Woodward, Gray, and Elliott text |
phi |
vector of AR parameters of ARMA part of GARMA model |
theta |
vector of MA parameters of ARMA part of GARMA model using signs as given ijn the Woodward, Grayu, and Elliott text |
trun |
the truncation point of the infinite GLP form |
burn_in |
is the burning-in period for the simulation |
vara |
White noise variance, default=1 |
plot |
Logical: TRUE=plot, FALSE=no plot |
sn |
determines the seed used in the simulation. sn=0 produces new/random realization each time. sn=positive integer produces same realization each time |
This function generates and (optionally plots) an GARMA realization
Wayne Woodward
"Applied Time Series Analysis with R, 2nd edition" by Woodward, Gray, and Elliott
gen.garma.wge(n=100, u=.8,lambda=.4,phi=.9)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.