powered by
Find forecasts using a specified FARMA model
fore.farma.wge(x, d, 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 FARMA model
Realization to be analyzed
Parameter d in FARMA model
Coefficients of the AR component of the FARMA model
Coefficients of the MA component of the FARMA 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
fore.farma.wge(Nile, d=.37, phi=0, theta = 0, n.ahead = 30, lastn = TRUE, plot = TRUE)
Run the code above in your browser using DataLab