powered by
Find forecasts using a specified GARMA model
fore.garma.wge(x,u,lambda,phi,theta=0,n.ahead=10,lastn=TRUE,plot=TRUE)
Order of the AR model fit to the data
Forecasts based on the AR model
Forecasts based on the GARMA model
Realization to be analyzed
Parameter u in GARMA model
Parameter lambda in GARMA model
Coefficients of the AR component of the GARMA model
Coefficients of the MA component of the GARMA model
Number of values to forecast
If lastn=TRUE then the last n.ahead values are forecast. Otherwise, if lastn=FALSE the next n.ahead values are forecast
If plot=TRUE then plots of the data and forecasts are plotted
Wayne Woodward
Forecasts for an AR model fit to the data are also calculated and optionally plotted
Applied Time Series Analysis with R, second edition by Woodward, Gray, and Elliott
data(llynx) fore.garma.wge(llynx,u=.796,lambda=.4,phi=.51,theta=0,n.ahead=30,lastn=TRUE,plot=TRUE)
Run the code above in your browser using DataLab