backcast.wge | R Documentation |
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)
x |
realization |
phi |
AR coefficients |
theta |
MA coefficients |
n.back |
Backcast to X(-n.back) |
The n backcast residuals are returned
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.