powered by
This function takes either a fitted (or true) model for the realization x and calculates the residuals using the backcasting procedure
backcast.wge(x, phi = 0, theta = 0, n.back = 50)
The n backcast residuals are returned
realization
AR coefficients
MA coefficients
Backcast to X(-n.back)
Wayne Woodward
Chapter 7 of Applied Time Series Analysis with R, second edition by Woodward, Gray, and Elliott
data(fig6.2nf) backcast.wge(fig6.2nf,phi=c(1.2,-.6),theta=.5,n.back=50)
Run the code above in your browser using DataLab