Part 6 Demand Forecasting in The Supply Chain
Part 6 Demand Forecasting in The Supply Chain
Part 6
Demand Forecasting in the Supply Chain
1-1
The role of demand forecasting in supply chain
1-2
Characteristics of forecasts
1-3
Forecasting methods
1-4
Time series forecasting
1-5
Elements of time series
• Trend: trend is the long term pattern of a time series. A trend can be
positive or negative (The growth or decline in Sales over time ).
1-6
Elements of time series
1-7
Elements of time series
• Cyclic variation: a cyclic pattern exists when data exhibit rises and
falls that are not of fixed period.
1-8
Elements of time series
1-9
Naive forecast
1-
11
Moving average
1-
12
Moving average
• Question: What are the 3 week and 9 week moving average forecasts
for the following demand?
1-
13
Moving average
1-
14
Moving average
1-
15
Weighted moving average
1-
16
Weighted moving average
1-
17
Simple exponential smoothing
• 0.0 ≤ α ≤ 1.0
If α = 0.20, then Ft +1 = 0.20 Dt + 0.80 Ft
If α = 0, then F t +1 = 0 Dt + 1 Ft = Ft . Forecast does
not reflect recent data
If α = 1, then Ft +1 = 1 Dt + 0 Ft = Dt. Forecast based
only on most recent data
1-
19
Simple exponential smoothing
1-
20
Simple exponential smoothing
Obtain the forecast value of the demand for this product for
the seventh period by using the simple exponential
smoothing method and by selecting the appropriate alpha
from the numbers 0.2, 0.3, and 0.4. Assume the forecasted
demand for this product in the first period is 55.
1-
21
Simple exponential smoothing
1 59 55 4 55 4 55 4
1-
22
Simple exponential smoothing
1-
23
Trend-adjusted Exponential Smoothing
(Holt’s Model)
• The trend-adjusted exponential smoothing (Holt’s model) is appropriate
when demand is assumed to have a trend in, but no seasonality.
In this case, in Period t, given estimates of level Lt and trend Tt, the forecast for
future periods is expressed as:
Ft = Lt-1 + Tt-1
Lt = αDt + (1- α)(Lt-1 + Tt-1)
Tt = β(Lt – Lt-1) + (1-β)Tt-1
where:
Lt: is estimates of level in period t
Tt: is estimates of trend in period t
1-
α and β are smoothing constants for level and trend, respectively (0< α and β<1) 24
Trend-adjusted Exponential Smoothing
(Holt’s Model)
We obtain an initial estimate of level and trend by running a linear
regression between demand, Dt , and time, Period t, of the form
Dt = at + b
1-
26
Trend-adjusted Exponential Smoothing
(Holt’s Model)
Example. An electronics manufacturer has seen
demand for its latest MP3 player increase over the
past six months. Observed demand (in thousands) has
been D1 = 8415, D2 = 8,732, D3 = 9014, D4 = 9,808,
D5 =10416, and D6 = 11,961. Forecast demand for
Period 7 using trend-adjusted exponential smoothing
with α = 0.1, β = 0.2.
The first step is to obtain initial estimates of level and
trend using linear regression.
1-
27
Trend-adjusted Exponential Smoothing
(Holt’s Model)
t D t2 tD •
1 8415 1 8415
2 8732 4 17464
3 9014 9 27042
4 9808 16 39232
5 10413 25 52065
6 11961 36 71766
1-
28
Trend-adjusted Exponential Smoothing
(Holt’s Model)
L1 = αD1 + (1- α)(L0 + T0) = (0.1*8415) + 0.9*(7367 + 673) = 8078
T1 = β(L1 – L0) + (1-β)T0 = [0.2 * (8078 – 7367)] + (0.8*673) = 681
F2 = L1 + T1 = 8078 + 681 = 8759
Continuing in this manner, we obtain L2 = 8755, T2 = 680, L3 = 9393,
T3 = 672, L4 = 10039, T4 = 666, L5 = 10676, T5 = 661, L6 = 11399, T6
= 673.
This gives us a forecast for Period 7 of
F7 = L6 + T6 = 11399 + 673 = 12072
1-
29
Trend- and seasonality-adjusted
Exponential Smoothing (Winter’s Model)
• Trend- and seasonality-adjusted exponential smoothing (winter’s
model): This method is appropriate when the systematic component
of demand has a level, a trend, and a seasonal factor.
In Period t, given estimates of level, Lt, trend, Tt, and seasonal factors,
St, the forecast for future periods is given by
Ft = (Lt-1 + Tt-1)St
Lt = α(Dt/St) + (1- α)(Lt-1 + Tt-1)
Tt = β(Lt – Lt-1) + (1-β)Tt-1
St+p = γ (Dt/Lt) + (1- γ)St
where:
α, β, are γ smoothing constants for level, trend, and seasonal
factor, respectively. (0< <1) 1-
30
Trend- and seasonality-adjusted
Exponential Smoothing (Winter’s Model)
Steps of Winter’s model:
1- Deseasonalizing the demand data. Deseasonalized demand
represents the demand that would have been observed in the
absence of seasonal fluctuations.
2- Run linear regression based on deseasonalized demand to
estimate initial level and trend (same as Holt’s model).
3- Estimate seasonal factors.
4- Forecast
1-
31
Trend- and seasonality-adjusted
Exponential Smoothing (Winter’s Model)
•
1-
32
Trend- and seasonality-adjusted
Exponential Smoothing (Winter’s Model)
•
1-
33
Trend- and seasonality-adjusted
Exponential Smoothing (Winter’s Model)
• Example. Quarterly retail demand data for the past three years are
shown in bellow table. Using Winter’s model, forecast demand for
period 1 and 2 with α=0.1 , β=0.2, γ=0.1
1-
34
Trend- and seasonality-adjusted
Exponential Smoothing (Winter’s Model)
1-
36
Trend- and seasonality-adjusted
Exponential Smoothing (Winter’s Model)
1-
37
Trend- and seasonality-adjusted
Exponential Smoothing (Winter’s Model)
•
1-
38
Trend- and seasonality-adjusted
Exponential Smoothing (Winter’s Model)
1-
39
Trend- and seasonality-adjusted
Exponential Smoothing (Winter’s Model)
•
1-
40
Trend- and seasonality-adjusted
Exponential Smoothing (Winter’s Model)
So far we obtained initial estimates of level, trend and seasonal factors as:
L0 = 18439, T0 = 524, S1 = 0.47, S2 = 0.68, S3 = 1.17, S4 = 1.67
Ft = (Lt-1 + Tt-1)St
F1 = (L0 + T0)S1 = (18439 + 524) * 0.47 = 8913
Lt = α(Dt/St) + (1- α)(Lt-1 + Tt-1)
L1 = α(D1/S1) + (1- α)(L0 + T0) = [0.1 * (8000/0.47)] + [0.9 * (18439 + 524]
= 18769
Tt = β(Lt – Lt-1) + (1-β)Tt-1
T1 = β(L1 – L0) + (1-β)T0 = [0.2 *(18769 – 18439)]+ (0.8 * 524) = 485
1-
41
Trend- and seasonality-adjusted
Exponential Smoothing (Winter’s Model)
So far we obtained initial estimates of level, trend and seasonal factors as:
St+p = γ (Dt/Lt) + (1- γ)St
S5 = γ (D1/L1) + (1- γ)S1 = [0.1 * (8000/18769)] + (0.9 * .47) = 0.47
1-
42
Static Method
A static method assumes that the estimates of level, trend, and seasonality
do not vary as new demand is observed. In this case, we estimate each of
these parameters based on historical data and then use the same values for
all future forecasts.
Ft = (L0 + tT0) St
1-
43
Static Method
Example. Consider the previous example and forecast for the next four
periods using the static forecasting method.
we obtained initial estimates of level, trend and seasonal factors as in the
previous example:
L0 = 18439, T0 = 524, S1 = 0.47, S2 = 0.68, S3 = 1.17, S4 = 1.67
F13 = (L0 + 13T0)S13 = (18439 + 13 * 524) 0.47 = 11868
F14 = (L0 + 14T0)S14 = (18439 + 14 * 524) 0.68 = 17527
F15 = (L0 + 15T0)S15 = (18439 + 15 * 524) 1.17 = 30770
F16 = (L0 + 16T0)S16 = (18439 + 16 * 524) 1.67 = 44794
1-
44
Linear Regression
1-
45
Linear Regression
1-
46
Linear Regression
Example. A company based on its research, has concluded that the amount
of product sales is directly related to the amount of advertising. The data of
the last 4 years are as follows:
Advertising cost (x) Sales amount (y)
32 130
52 151
50 150
55 158
If the company allocates $ 53 million for advertising for the next year,
forecast the amount of sales by using linear regression method. What is
1-
your idea about the accuracy of this model? 47
Linear Regression
1-
48
Linear Regression
1-
49
Linear Regression
1-
50
Measures of forecast error
1-
51
Measures of forecast error
1-
52
Measures of forecast error
1-
53
Forecasting Process
1-
54