Professional Documents
Culture Documents
weight
1/n
n ... 3 2 1
today
Moving Average
400
350
300
250
Units
200
150
100
50
0
Apr-01 Sep-02 Jan-04 May-05 Oct-06 Feb-08 Jul-09 Nov-10 Apr-12 Aug-13
Month
Example:
Moving Average
Forecasting
Exponential Smoothing I
Include all past observations
Weight recent observations much more heavily
than very old observations:
weight
Decreasing weight given
to older observations
today
Exponential Smoothing I
Include all past observations
Weight recent observations much more heavily
than very old observations:
0 1
weight
Decreasing weight given
to older observations
today
Exponential Smoothing I
Include all past observations
Weight recent observations much more heavily
than very old observations:
0 1
weight
Decreasing weight given
to older observations
(1 )
today
Exponential Smoothing I
Include all past observations
Weight recent observations much more heavily
than very old observations:
0 1
weight
Decreasing weight given
to older observations
(1 )
(1 ) 2
today
Exponential Smoothing: Concept
Include all past observations
Weight recent observations much more heavily
than very old observations:
0 1
weight
Decreasing weight given
to older observations
(1 )
(1 ) 2
(1 ) 3
today
Exponential Smoothing: Math
Ft Dt (1 ) Dt 1 (1 ) 2 Dt 2
Ft Dt (1 )Dt 1 (1 a ) Dt 2
Exponential Smoothing: Math
Ft Dt (1 ) Dt 1 (1 ) 2 Dt 2
Ft Dt (1 )Dt 1 (1 a ) Dt 2
Ft aDt (1 a ) Ft 1
Exponential Smoothing: Math
Ft aDt a (1 a ) Dt 1 a (1 a ) Dt 2 2
Ft aDt (1 a ) Ft 1
Thus, new forecast is weighted sum of old forecast and actual
demand
Notes:
Only 2 values (Dt and Ft-1 ) are required, compared with n for moving
average
Parameter a determined empirically (whatever works best)
Rule of thumb: < 0.5
Typically, = 0.2 or = 0.3 work well
Forecast for k periods into future is:
Ft k Ft
Exponential Smoothing
450
400
= 0.2
350
300
250
Units
200
150
100
50
0
Jan-03 May-04 Sep-05 Feb-07 Jun-08 Nov-09 Mar-11 Aug-12
Month
Example:
Exponential Smoothing
Complicating Factors
560
550 Actual
540
Demand 530 Forecast
520
510
500
490
480
1 2 3 4 5 6 7 8 9 10
Month
Holt’s Method:
Double Exponential Smoothing
Ideas behind smoothing with trend:
``De-trend'' time-series by separating base from trend effects
Smooth base in usual manner using
Smooth trend forecasts in usual manner using
Smooth the base forecast Bt
Bt Dt (1 )( Bt 1 Tt 1 )
Smooth the trend forecast Tt
Tt ( Bt Bt 1 ) (1 )Tt 1
Forecast k periods into future Ft+k with base and trend
Ft k Bt kTt
ES with Trend
450
400
= 0.2, = 0.4
350
300
250
Units
200
150
100
50
0
Jan-03 May-04 Sep-05 Feb-07 Jun-08 Nov-09 Mar-11 Aug-12
Month
Example:
Exponential Smoothing
with Trend
Winter’s Method:
Exponential Smoothing
w/ Trend and Seasonality
Ideas behind smoothing with trend and seasonality:
“De-trend’: and “de-seasonalize”time-series by separating base from
trend and seasonality effects
Smooth base in usual manner using
Smooth trend forecasts in usual manner using
Smooth seasonality forecasts using
Tt ( Bt Bt 1 ) (1 )Tt 1
Smooth the seasonality forecast St
Dt
St (1 ) St m
Bt
Winter’s Method:
Exponential Smoothing
w/ Trend and Seasonality
Forecast Ft with trend and seasonality
Ft k ( Bt 1 kTt 1 ) St k m
Smooth the trend forecast Tt
Tt ( Bt Bt 1 ) (1 )Tt 1
Smooth the seasonality forecast St
Dt
St (1 ) St m
Bt
ES with Trend and Seasonality
500
450
= 0.2, = 0.4, = 0.6
400
350
300
Units
250
200
150
100
50
0
Jan-03 May-04 Sep-05 Feb-07 Jun-08 Nov-09 Mar-11 Aug-12
Month
Example:
Exponential Smoothing
with
Trend and Seasonality
Forecasting Performance
How good is the forecast?
Mean Forecast Error (MFE or Bias): Measures
average deviation of forecast from actuals.
1 n
MFE ( Dt Ft )
n t 1
1 n
MAD Dt Ft
n t 1
100 n
Dt Ft
MAPE
n t 1 Dt
1 n
MSE ( Dt Ft ) 2
n t 1
Mean Forecast Error (MFE or Bias)
1 n
MFE ( Dt Ft )
n t 1
Want MFE to be as close to zero as possible -- minimum
bias
A large positive (negative) MFE means that the forecast is
undershooting (overshooting) the actual observations
Note that zero MFE does not imply that forecasts are
perfect (no error) -- only that mean is “on target”
Also called forecast BIAS
Mean Absolute Deviation (MAD)
1 n
MAD Dt Ft
n t 1
100 n Dt Ft
MAPE
n t 1 Dt
1 n
MSE ( Dt Ft ) 2
n t 1