Professional Documents
Culture Documents
1
2
3 4
1
SES Weights
0.2
Brown’s Method
SES Example
350
n Suitable for linear trend series
300
250 Yt = β 0 + β1t + εt
Y
200 alpha=0.1
150 alpha=0.5 where β 0 and β 1 may change slowly with time.
100 alpha=0.9
50
0
0 5 10 15
Months
12
2
Basic Equations for Brown’s Method Brown’s Method
At = αyt + (1 − α) At − 1 (4.4) It can be shown that
A″t = αAt + (1 − α) A″t − 1 (4.5) 1 −α
at = 2At − A″t (4.6) E (A t ) = E ( yt ) − β1
bt =
α
(A − A′t ′) α
1− α t (4.7) That is the expected value of the simple exponential
Ft+ m = at + bt m (4.8) smoothed statistic At will tend to lag behind the level
of the series at time t, E(yt), by an amount equal to
where
1 − α β .
At : simple exponential smoothed statistic, 1
A″t : double exponential smoothed statistic α
at : estimate of β0 at time t, and
bt : estimate of β1 at time t. 13 14
Similarly it can be shown that The current level of the data, β0, can be estimated by
1 −α
E( A′t′) = E(At ) − β1 at = At + (At − A″ t) = 2At − A″ t
α
The slope of the series, β1, can be estimated by
α
That is, the expected value of the double smoothed bt = ( At − A′t ′)
statistics A″ t lags behind the expected value of At by the 1 −α
1 −α
β
same amount equal to α 1.
The forecast for period t + m is obtained by extrapolating the
trend m periods into the future F t + m = at + bt m.
15 16
α = 0.2)
Brown’s Example:Inventory Demand Data (α
Period Actual Single Exponential Smoothing Double Exponential Smoothing Forecast
1 143.00 143.00 143.00 143.00
A0 =a 0 − 1 − α b 0
19 204.00 202.46 184.35 229.91
20 227.00 207.37 188.95 225.11
α
21 223.00 210.50 193.26 230.40
22 242.00 216.80 197.97 232.04
23 239.00 221.24 202.62 240.34
−α 0
A′0′ = a0 − 2 1
24 266.00 230.19 208.14 244.51
b 25 --- 257.76 ( m = 1)
α
26 --- 263.27 ( m = 2)
where a 0 and b 0 are least squares estimates of β0 and β1 by 27 --- 268.78 ( m = 3)
28 --- 274.30 ( m = 4)
fitting a straight line to, for example, one half of the data.
17
3
Holt’s Method Holt's Method
Suitable for linear trend series
yt = β0 + β1t + εt
§ Equation (4.9) is similar to equation (4.1) except that
a term for the trend (Tt−1 ) is added to adjust for the
where β0 and β1 may change slowly with time.
trend in the data. The value of this term is calculated
The basic equations for Holt’s Method are: using equation(4.10).
A t = αyt + (1 − α ) (A t − 1 + T t − 1) (4.9)
Tt = β(A t − A t − 1) + (1 − β)Tt − 1 (4.10) § The difference between 2 successive exponential
F t+ m = A t + mTt (4.11) smoothing values (At – At–1 ) is used as an estimate of
where the trend. The estimate of the trend is smoothed by
A t estimate the level of the series, β0, at time t, and multiplying it by β and then multiplying the old
Tt estimate the slope of the series, β1, at time t. estimate of the trend by (1 – β).
19 20
Choice of α
α , ββ and Initialization in Holt's Method
Holt's Method
§ Choice of α
α and ββ
Ø Choose one that minimize MSE or MAPE.
§ Equation (4.10) is similar to equation (4.9) or equation (4.1)
except that the smoothing is not done for the actual data but § Initialization
rather for the trend. The final result of equation (4.10) is a Ø Makridakis (P.159)
smoothed trend that does not include much randomness. Level : A0 = y1
Trend : T0 = y 2 – y1
• To forecast, the trend is multiplied by the number of periods or T0 = y 4 − y1
ahead that one desires to forecast and then the product is 3
added to At (the current level of the data that have been or
T0 = ( y 2 − y 1 ) + ( y4 − y3 )
smoothed to eliminate randomness). 2
Ø Makridakis (P.161), Bowerman (P.403)
Fit a trend line to first few or one half of the historical data to find A0 and
T0 .
21 22
Holt's Method 5
6
137
174
149.64
165.32
6.96
7.59
162.34
156.60
7 142 157.42 6.47 172.91
8 141 152.42 5.64 163.89
9 162 160.03 5.78 158.06
§ Advantage
10 180 172.92 6.30 165.82
11 164 171.59 5.75 179.22
12 171 174.16 5.52 177.34
apply different weights to randomness and Test 13 206 192.87 6.47 179.68
14 193 196.16 6.24 199.34
trend Set
15
16
207
218
204.71
214.56
6.41
6.66
202.40
211.11
17 229 225.12 6.94 221.22
18 225 228.52 6.68 232.06
§ Disadvantage
19 204 219.57 5.55 235.20
20 227 226.06 5.62 225.12
21 223 227.33 5.31 231.68
specify 2 parameters, not simple 22
23
242
239
237.33
240.98
5.64
5.50
232.64
242.97
24 266 256.26 6.21 246.48
25 262.47 (m = 1)
26 268.68 (m = 2)
27 274.89 (m = 3)
28 281.09 (m = 4)
29 287.30 (m = 5)
30 293.51 (m = 6)
Analysis of errors from period 10 to period 24
Mean Error = 0.78 Mean Absolute Percentage Error = 5.45
23 Mean Absolute Error = 11.29 Theil’s U-statistic = 0.78
Mean Square Error = 194.78
4
Winters' Multiplicative Method Basic equations for Winters' Multiplicative Method
25 26
§ Winters' exponential smoothing is an extension of Holt's linear § The estimate of seasonality is given as an index, fluctuating around
exponential smoothing. Winters' smoothing uses the 3 equations of 1, and is calculated with equation (4.14).
Holt's model but introduces the seasonal index St into the formulas
and includes an extra equation that is used to estimate seasonality. § The form of equation (4.14) is similar to that of all other
exponential smoothing equations i.e. a value − in this case yt /At −
§ Equations (4.12), (4.13) and (4.15) are used to obtain estimates of is multiplied by a constant γ and is then added to its previous
the present level of the data, the trend, and the forecast for some smoothed estimate which has been multiplied by 1 − γ.
future period, t + m.
§ Equation (4.15) is similar to equation (4.11) except that the
§ There is a slight difference between equation (4.12) and (4.9). In estimate for the future period, t + m, is multiplied by St−L +m . This
equation (4.12), y t is divided by St–L . This removes the seasonal is the last seasonal index available and hence is used to readjust the
effects which may exist in the original data y t . forecast for seasonality. Multiplying the forecast by St −L +m has the
opposite effect of dividing y t by St−L in equation (4.12).
27 28
AL AL AL
29 30
5
Initialization in Winters' Multiplicative Method Initialization in Winters' Multiplicative Method
§ Bowerman (P.403-7) § Bowerman (P.403-7)
1. Calculate the initial estimate of β1 (trend component) by
y − y1
T0 = m 2. Calculate the initial estimate of β0 by
(m − 1 )L
where L
A0 = y1 − T
y1 , the average of observations in year 1, measure the average 2 0
level of the time series in the middle of year 1; The number of seasons that have elapsed from the start of year 1
to the middle of year 1 is L/2. So the initial estimate of β0 which
ym , the average of observations in year m, measure the average represents the average level of the time series at time 0 is the
level of the time series in the middle of year m; average level of the time series at the middle of year 1 less the
amount this average level has changed from the start of year 1 ot
(m – 1)L is the total number of seasons elapsed between the middle the middle of year 1.
of year 1 and the middle of year m.
33 34
∑
S j
28 718.59 (m = 4)
t=1
29 777.04 (m = 5)
30 841.50 (m = 6)
Analysis of errors from period 10 to period 24
Mean Error = 3.39 Mean Absolute Percentage Error = 3.13
Mean Absolute Error = 20.65 Theil’s U-statistic = 0.25
6
Winters' Additive Method Basic Equations for Winters' Additive Method
§ Suitable for linear trend and additive seasonality series At = α[ yt − St − L ] + (1− α )( At − 1 + Tt −1 ) (4.16)
37 38
39