BJ models use only current and past values of the time series to produce forecasts (no other independent variables)
No
Data Preparation
Data has to be transformed to stationarity before applying BJ technique. Stationarity consists of three parts.
Data Preparation
Stationary in Variance
Fluctuation constant over time. Detectable by scatter plot. Usually enforced by taking loge or square root. Mathematically, Var(Yt) = 2.
Stationary in Mean
Fluctuates about a fixed level. Detectable by scatter plot and ACF. Usually enforced by differencing a suitable number of times d. Mathematically, E(Yt) = .
Covariance Stationary
Not detectable by scatter plot. Mathematically, for any k 0, Cov(Yt ,Yt-k) depends on k only.
Variance Stabilization
Yt = tt where t ~ iid N(5,1)
Before Taking Log
700
Backshift Operator : B
600
B k yt = yt k
(1 B) yt = yt yt 1
61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95 97 99
500
Y(t)
400
300
200
100
0 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59
t
After Taking Log
7
(1 B)2 yt = yt 2 yt 1 yt 2
(1 B)1 yt = (1 B B2 ...) yt
59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95 97 99
6 5
Log(Y(t))
2 1
0 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57
Yt 0 t 1t 1 ... qt q
Yt 0 (1 1B ... q B q )t
These are ARMA models fitted to data that need to be differenced to ensure stationarity in mean. General ARIMA(p,d,q) model :
(1 1B ... p B p ) (1 B )d Yt 0 (1 1B ... q B q )t
where 1 1B ... p B p does not contain the factor 1 B.
ARIMA(p,d,q) Models
ARIMA(2,1,1) = ARMA(2,1) fitted to data differenced once ARIMA(0,2,1) = MA(1) fitted to data differenced twice ARIMA(1,0,1) = ARMA(1,1)
Model Identification
First transform data to stationarity by differencing suitable number of times, taking logs, etc Choose those models (there may be more than one) with (1) the theoretical ACF most closely matches the sample ACF and (2) the theoretical PACF most closely matches the sample PACF
What is PACF ?
For given k, regress Yt against Yt-1,,Yt-k :
2.000
-2.000
-3.000
-4.000
-5.000
1.0000 .8000 .6000 ACF Upper Limit Low er Limit .4000 .2000 .0000 -.2000 -.4000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 PACF Upper Limit Low er Limit
(1 B)Yt t
Yt Yt 1 t Yt Yt 1 t
Forecast for t = 234 :
234 = 1482.37
Closing : SPSS
Forecast for t = 66 :
(1 B)Yt (1 0.351B)t
Yt Yt-1 0.351t-1 t
Forecast for t = 121 :
121 = 15.65 + 0.351(0.69) = 15.89