Demand Forecasting Techniques Guide
Demand Forecasting Techniques Guide
>
Wasteful
Supply Demand Costly
<
Opportunity Loss
Supply Demand Customer
Dissatisfaction
Supply
= Demand Ideal
What is Forecasting?
A statement about the future
Basis of Forecast I see that you will
accomplish the targeted
objectives
- History: projection techniques
- Causal relationships: Trend and
regression analysis.
- Opinions: e.g. executives, sales
force composite, consumer
survey, focus group, experts’
opinion (Delphi method)
Uses of Forecasts
Random
variations
Trend
2023
2022
2021
Seasonality
Revised from Figure 3-1
Quantitative Approaches
1. Naive approach
time-series associative
2. Simple Average
models
3. Moving average
4. Weighted moving average
5. Exponential smoothing
6. Trend projection
models
7. Causal Relationship Regression.
8. Exponential Smoothing with trend
9. Seasonality and trend analysis
Forecasting
2023 A(n)
2024 A(n)
F(n) F(n)
2023 A(n-1)
2024 A(n)
F(n-1) F(n)
Seasons S1 S2 S3 S4
Months 1 2 3 4 5 6 7 8 9 10 11 12
Demand 2023 4.5 5.3 3.5 3.5 6.7 5.5 3.7 6.5 4.4 6.4 6.5 8.5
Solution Steps :
1. Yearly Moving Average (MA) = 61.33333
2. Find weights of months or seasons from the overall year.
3. Step1 × Step2
Seasons S1 S2 S3 S4
Months 1 2 3 4 5 6 7 8 9 10 11 12
Demand 5.3/ 3.5/ 3.5/ 6.7/ 5.5/ 3.7/ 6.5/ 4.4/ 6.4/ 6.5/ 8.5/
4.5/ 65
2023 65 65 65 65 65 65 65 65 65 65 65
[Link] 0.08 0.05 0.05 0.10 0.08 0.05 0.10 0.06 0.09 0.10 0.13
0.069
Weights 2 4 4 3 5 7 0 8 8 0 0
3. F.
Months
4.23 5.1 3.3 3.3 6.32 5.21 3.5 6.13 4.2 6.01 6.13 8
Demand
2024
[Link] S1=4.5+5.3+3.5/65=0. S2=3.5+6.7+5.5/65= S3=3.7+6.5+4.4/65= S4=6.4+6.5+8.5/65=
Weights 205 0.242 0.225 0.329
3. F.
Seasons S1=0.205×61.333= S2=0.242×61.333= S3=0.225×61.333= S4=0.329×61.333=
Demand 12.573 14.843 13.799 20.1
2024
5. Simple Exponential Smoothing :
≥ ± 40%
Exponential Smoothing
Ft = Ft – 1 + (At – 1 - Ft – 1)
where Ft = new forecast
Ft – 1 = previous forecast
= smoothing (or weighting)
constant (0 ≤ ≤ 1)
[Link]
Logistics Management System 22
[Link]
Logistics Management System 23
Period (t)
Actual =0.10 = 0.40
Demand Forecast Error Forecast Error
1 42 - - - -
2 40 42 -2 42 -2
3 43 41.8 1.2 41.2 1.8
4 40 41.92 -1.92 41.92 -1.92
5 41 41.73 -0.73 41.15 -0.15
6 39 41.66 -2.66 41.09 -2.09
7 46 41.39 4.61 40.25 5.75
8 44 40.85 2.15 48.55 1.45
9 45 42.07 2.93 43.13 1.87
10 38 42.35 -4.35 43.88 -5.88
11 40 41.92 -1.92 41.53 -1.53
12 41.73 40.92
Period (t)
Actual =0.10 = 0.40
Demand Forecast Error Forecast Error
1 42 - - - -
2 40 42 -2 42 -2
3 43 41.8 1.2 41.2 1.8
4 40 41.92 -1.92 41.92 -1.92
5 41 41.73 -0.73 41.15 -0.15
6 39 41.66 -2.66 41.09 -2.09
7 46 41.39 4.61 40.25 5.75
8 44 41.85 2.15 42.55 1.45
9 45 42.07 2.93 43.13 1.87
10 38 42.35 -4.35 43.88 -5.88
11 40 41.92 -1.92 41.53 -1.53
12 41.73 -0.27 40.92 -0.27
Max +2.474 +2.471
6. Linear Trend
Yt = a + bt where, 180
160
140
Y = Dependent variable (Demand 120
180
160
140
120
100 Actual
80 Trend
60
Underlying
Demand
a 40
20
0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
b (slope)
b= Δy/ Δt.
Linear Trend Equation
10(5958) − 55(996 )
9 130 1168 81
10 116 1156 100 = = 5.79
11 131 1446 121 10(385) − (55) 2
55
66
996
1128
5958
7404
385
506 a=
Yt − b t
t Yt t n
2
tYt 996 − 5.79(55)
= = 67.78
Y12 = a+ b (12) = 69.5 +5.5 (12)= 135.5 10
Trend Adjusted Forecasting
180
160
140
120
100 Actual
80 Trend
60
40
20
0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Causal Models
5 153.85 53
𝐘(𝟓) = 𝐚 + bX = 92.9 + 1.15X
Tot 589 189 28202 9253 87165 𝐘 = 92.9 + 1.15 53 = 153.85
Y(6)=92.9+1.15(65)=167.66
6
Avg 147.25 47.25
Correlation Coefficient
◼ Correlation
◼ A measure of the strength and direction of relationship between two
variables
◼ Ranges between -1.00 and +1.00
◼ r2, square of the correlation coefficient
◼ A measure of the percentage of variability in the values of y that is
“explained” by the independent variable
◼ Ranges between 0 and 1.00
r 2
=
( xy)− ( x )( y )
n
n ( x )− ( x ) n ( y )− ( y )
2 2
2 2
Correlation Coefficient
How Good is the Fit?
• Correlation coefficient (r) measures the direction and strength of the linear
relationship between two variables. The closer the r value is to 1.0 the
better the regression line fits the data points.
𝐧 σ XY − σ 𝐗 σ 𝐘
𝐫=
𝐧 σ 𝐗 𝟐 − σ 𝐗 𝟐 ∗ 𝐧 σ 𝐘 𝟐 − σ𝐘 𝟐
= 0.982×100= 98.2%
𝐫 𝟐 = 𝟎.982 𝟐 = 0.964×100= 96.4%
60
Forecast Errort = At − Ft
40
Actual
( At − Ft )
20
Avg Error =
0 n
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Forecast Accuracy
0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Forecast Accuracy
∑ |deviations|
Rounded Absolute Rounded Absolute
MADActual
= Forecast Deviation Forecast Deviation
Tonnage n
with for with for
Quarter Unloaded = .10 = .10 = .50 = .50
1
For 180
= 0.10 175 5.00 175 5.00
2 168 = 82.45/8
175.5 = 10.31
7.50 177.50 9.50
3 159 174.75 15.75 172.75 13.75
4 For 175
= 0.50 173.18 1.82 165.88 9.12
5 190 173.36 16.64 170.44 19.56
6 205 = 98.62/8
175.02 = 12.33
29.98 180.22 24.78
7 180 178.02 1.98 192.61 12.61
8 182 178.22 3.78 186.30 4.30
82.45 98.62
Comparison of Forecast Error
∑ (forecast errors)2
Rounded Absolute Rounded Absolute
MSE = Actual Forecast Deviation Forecast Deviation
Tonnage
n
with for with for
Quarter Unloaded = .10 = .10 = .50 = .50
1
For 180
= 0.10 175 5.00 175 5.00
2 = 1,526.54/8
168 175.5 = 190.82
7.50 177.50 9.50
3 159 174.75 15.75 172.75 13.75
4 For 175
= 0.50 173.18 1.82 165.88 9.12
5 190 173.36 16.64 170.44 19.56
6 = 1,561.91/8
205 175.02 = 195.24
29.98 180.22 24.78
7 180 178.02 1.98 192.61 12.61
8 182 178.22 3.78 186.30 4.30
82.45 98.62
MAD 10.31 12.33
Comparison of Forecast Error
n
∑100|deviationi|/actuali
Rounded Absolute Rounded Absolute
MAPE = i=1
Actual Forecast Deviation Forecast Deviation
Tonnage with n for with for
Quarter Unloaded = .10 = .10 = .50 = .50
1
= 0.10175
For 180 5.00 175 5.00
2 168 = 44.75/8
175.5 = 7.50
5.59% 177.50 9.50
3 159 174.75 15.75 172.75 13.75
4 =
For 175 0.50173.18 1.82 165.88 9.12
5 190 173.36 16.64 170.44 19.56
6 205 = 54.05/8
175.02 =29.98
6.76% 180.22 24.78
7 180 178.02 1.98 192.61 12.61
8 182 178.22 3.78 186.30 4.30
82.45 98.62
MAD 10.31 12.33
MSE 190.82 195.24
Comparison of Forecast Error
Ft = (At - 1) + (1 - )(Ft - 1 + Tt - 1)
Tt = (Ft - Ft - 1) + (1 - )Tt - 1
Step 1: Compute Ft
Step 2: Compute Tt
Step 3: Calculate the forecast FITt = Ft + Tt
EXAMPLE
Table 4.1
Exponential Smoothing with Trend
Adjustment Example
35 –
25 –
20 –
15 –
0 – | | | | | | | | |
1 2 3 4 5 6 7 8 9
Figure 4.3
Time (month)
Seasonal Variations In Data
The multiplicative
seasonal model
can adjust trend
data for seasonal
variations in
demand (jet skis,
snow mobiles)
Seasonal Variations In Data
Periods Demand
ty t2
(t) (y)
1 1050 1050 1
2 1120 2240 4
3 1204 3612 9
∑t = 6 ∑y= 3374 ∑ty= 6902 ∑t2=14
Seasonal Index Example
2025 Forecast
140 – 2024 Demand
130 – 2023 Demand
2022 Demand
120 –
Demand
110 –
100 –
90 –
80 –
70 –
| | | | | | | | | | | |
J F M A M J J A S O N D
Time
Thank you