powered by
Forecasts and associated plots for an ARMA model
fore.arma.wge(x,phi=0,theta=0,n.ahead=5,lastn=FALSE,plot=TRUE,alpha=.05,limits=TRUE)
Vector of forecasts
Lower limits
Upper limits
Residuals
White noise variance estimate
Sample mean of data in x
Se for each forecast
psi weights
RMSE is output if lastn=TRUE
MAD is output if lastn=TRUE
Realization
AR vector
MA vector
Number of steps ahead
Logical variable, TRUE means plot forecast for last n.ahead values of realization
Logical variable , TRUE means plot forecasts
Significance level for prediction limits
Logical variable, TRUE means plot limits
Wayne Woodward
"Applied Time Series Analysis with R, 2nd edition" by Woodward, Gray, and Elliott
data(fig6.1nf) fore.arma.wge(fig6.1nf,phi=.8,n.ahead=20)
Run the code above in your browser using DataLab