100 likes | 103 Views
Stat 153 - 25 Sept 2008 D. R. Brillinger Chapter 5 - Forecasting. Data x 1 ,..., x N. What about x N+h , h>0. No single method universally applicable. extrapolation. conditional statement. scenarios. Conditional expected value, E(Y|X). X can be vector-valued.
E N D
Stat 153 - 25 Sept 2008 D. R. Brillinger Chapter 5 - Forecasting Data x1 ,..., xN What about xN+h, h>0 No single method universally applicable extrapolation conditional statement scenarios
Conditional expected value, E(Y|X) X can be vector-valued Y = XN+hX=(X1,...,XN)
Multiple regression Fit by least squares lm() Residuals
Linear c's to minimize E(XN+h - c0 XN -...-cN-1 X1 )2 Conditional expected value if {Xt} Gaussian/normal
Prediction/forecast error Linear process The error is Represent series as linear process
Box-Jenkins Model. arima(p,d,q) Stages of Box-Jenkins forecasting model (1) Model identification. Which p,d,q? (2) Estimation. arima() (3) Diagnostic checking. residuals (4) Consideration of alternate models. If necessary Cp. The scientific method
Pertinent R functions arima() tsdiag() predict() - applied to output of arima help("predict.Arima")