Академический Документы
Профессиональный Документы
Культура Документы
Inventory Systems
Introduction
A supply chain
Production System
Supply
Uncertainty
Process
Uncertainty
Demand
Uncertainty
Demand Forecast
Capacity Constraints
Financial Constraints
Aggregate Planning
Workforce Plan
Monthly Production
Inventory Plan
Master Production
Schedule
MRP
Chapter 2
Forecasting
Introduction
Characteristics of Forecasting
Overview
Introduction
Evaluation of Forecasts
Moving Average
Exponential Smoothing
Linear trend
Linear Regression
Seasonality
Seasonal Decomposition
Winters Method
Introduction
Classification
: day, week
short-term sales
Intermediate-term
: week, month
product-family sales
labor planning
Long-term
: month, year
growth trend
Objective
Introduction
1.
Evaluation of Forecasts
1.
Notation
D1 ,D2 ,D3 , ,Dt 2 ,Dt 1 ,Dt
Forecasting
F1 , F2 , F3 , , Ft 1 , Ft , Ft + 1
Error:
et= Ft Dt
Introduction
2.
Measuring Errors
1 n
1 n
Mean Absolute Deviation (MAD) = et = Ft - Dt
n t =1
n t =1
Mean Square Error (MSE)
1 n 2
1 n
2
= et = ( Ft - Dt )
n t =1
n t =1
No squaring
e 1.25 MAD
E [ et ] = 0
Forecasting Map
Subjective Method
Causal Model : Regression
Stationary : Moving Average,
Exponential Smoothing
Quantitative Method
1.
where
E [ t ] 0,=
Var [ t ] 2
=
Moving Average
Example
Month
Demand
MA(3)
Error
MAD
MSE
200
250
175
MA(6)
Error
186
208
22
22
484
225
204
-21
21
441
285
195
-90
90
8100
305
232
-73
73
5329
220
-85
190
272
82
82
6724
238
48
58
4126
Short-cut
Given Ft , Dt
to compute Ft + 1
1 t
Ft+1 =
Di
N i =
t N +1
1
=
( Dt + Dt 1 + + Dt N + 1 )
N
1
( Dt + Dt 1 + + Dt N +1 + Dt N Dt N )
N
1
{Dt + ( Dt 1 + + Dt N + 1 + Dt N ) Dt N }
N
1
1
( Dt 1 + + Dt N + 1 + Dt N ) + ( Dt Dt N )
N
N
Ft +1 =
Ft +
1
( Dt Dt N )
N
FN + 2 =
FN + 1 +
1
( DN + 1 D1 )
N
Dt +
Ft +
1 t
1
Ft+ = F=
D
=
( Dt + Dt 1 + + Dt N + 1 )
t+1
i
N i =
N
t N +1
Since the underlying time series is stationary
Example
Month
Demand
MA(3)
200
250
175
186
208
225
204
285
195
305
190
Exponential Smoothing
Ft + 1 = Dt + ( 1 - ) Ft ,
0 < 1
= Dt + Ft Ft
=Ft ( Ft Dt )
= Ft et
Exponential Smoothing
0 < 1
= Dt + ( 1 ) [ Dt 1 + (1 )Ft 1 ]
= Dt + ( 1 ) Dt 1 + (1 )2 Ft 1
= Dt + ( 1 ) Dt 1 + (1 )2 [ Dt 2 + (1 )Ft 2 ]
= Dt + ( 1 ) Dt 1 + (1 )2 Dt 2 + (1 )3 Ft 2
= Dt + ( 1 ) Dt 1 + (1 )2 Dt 2 + (1 )3 Dt 3 +
0.800
alpha=0.3
Coefficient
0.700
alpha=0.5
alpha=0.7
0.600
alpha=0.9
0.500
0.400
0.300
0.200
0.100
0.000
1
11
13
15
17
19
Weight
21
23
25
27
29
31
33
Demand
MA(1)
MA(2)
MA(3)
MA(4)
ES(0.1)
ES(0.2)
ES(0.3)
ES(0.4)
4.00
4.00
4.00
4.00
4.00
4.00
4.00
4.00
4.10
4.20
4.30
4.40
4.5
4.33
4.5
4.33
4.25
4.09
4.16
4.21
4.24
5.00
4.75
4.28
4.53
4.75
4.94
5.5
5.00
4.35
4.62
4.82
4.97
4.67
4.5
4.22
4.30
4.28
4.18
4.5
4.67
4.40
4.64
4.79
4.91
10
6.5
5.33
5.25
4.66
5.11
5.46
5.74
11
5.33
4.75
4.49
4.69
4.72
4.65
12
3.5
4.67
4.44
4.55
4.50
4.39
13
3.67
4.5
4.40
4.44
4.35
4.23
14
4.5
4.33
4.46
4.55
4.55
4.54
15
4.00
4.31
4.24
4.08
3.92
16
4.5
4.67
4.5
4.48
4.59
4.66
4.75
17
5.5
4.67
4.75
4.53
4.67
4.76
4.85
18
4.67
4.25
4.38
4.34
4.23
4.11
3.5
4.00
4.5
4.34
4.27
4.16
4.07
19
Moving Average
Demand/Forecast
8
7
6
5
4
3
2
Demand
MA(1)
MA(2)
MA(3)
MA(4)
0
1
10
11
Period
12
13
14
15
16
17
18
19
20
7
6
5
4
3
2
Demand
ES(0.2)
MA(1)
ES(0.3)
MA(2)
ES(0.4)
MA(3)
MA(4)
ES(0.1)
0
0
10
Period
12
14
16
18
20
Idea: Equate the average age of the data used in both forecasts
Moving Average:
Ft
=
1
( Dt 1 + Dt 2 + + Dt N )
N
Ave. age=
1
( 1 + 2 ++ N
N
1 N ( N + 1)
N
2
N +1
2
Exponential Smoothing:
Ft + 1 = Dt + ( 1 - ) Ft ,
0 < 1
= Dt + ( 1 ) Dt 1 + (1 )2 Dt 2 + (1 )3 Dt 3 +
Ave. age = 1 + (1 ) 2 + (1 )2 3 + (1 )3 4 +
(1 )i 1 i
i=1
=
=
1
i 1
=
(1
)
i=1
Idea: Equate the average age of the data used in both forecasts
In summary, we have
Moving Average:
Ave. age =
Exponential Smoothing:
N +1
2
Ave. age =
N +1 1
=
2
=
N=
2
N +1
2
N vs. \alpha
45.00
40.00
35.00
30.00
25.00
20.00
15.00
10.00
5.00
\alpha
95
0.
85
0.
75
0.
65
0.
55
0.
45
0.
35
0.00
0.
1.00
0.67
0.50
0.40
0.33
0.29
0.25
0.22
0.20
0.18
0.17
0.15
0.14
0.13
0.13
0.12
0.11
0.11
0.10
0.10
25
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
0.
15
N
39.00
19.00
12.33
9.00
7.00
5.67
4.71
4.00
3.44
3.00
2.64
2.33
2.08
1.86
1.67
1.50
1.35
1.22
1.11
1.00
0.
2
N +1
05
0.05
0.10
0.15
0.20
0.25
0.30
0.35
0.40
0.45
0.50
0.55
0.60
0.65
0.70
0.75
0.80
0.85
0.90
0.95
1.00
0.
N=
Period
Demand
MA(1)
MA(2)
MA(3)
MA(4)
ES(0.1)
ES(0.2)
ES(0.3)
ES(0.4)
4.00
4.00
4.10
4.20
4.30
4.40
4.5
4.33
4.5
4.33
4.25
4.09
4.16
4.21
4.24
5.00
4.75
4.28
4.53
4.75
4.94
5.5
5.00
4.35
4.62
4.82
4.97
4.67
4.5
4.22
4.30
4.28
4.18
4.5
4.67
4.40
4.64
4.79
4.91
10
6.5
5.33
5.25
4.66
5.11
5.46
5.74
11
5.33
4.75
4.49
4.69
4.72
4.65
12
3.5
4.67
4.44
4.55
4.50
4.39
13
3.67
4.5
4.40
4.44
4.35
4.23
14
4.5
4.33
4.46
4.55
4.55
4.54
15
4.00
4.31
4.24
4.08
3.92
16
4.5
4.67
4.5
4.48
4.59
4.66
4.75
17
5.5
4.67
4.75
4.53
4.67
4.76
4.85
18
4.67
4.25
4.38
4.34
4.23
4.11
3.5
4.00
4.5
4.34
4.27
4.16
4.07
19
MAD
1.25
1.08
MSE
2.04
1.93