Session 2 - ForecastingClass
Session 2 - ForecastingClass
• Introduction
• Demand Forecasting Techniques
– Qualitative Forecasting Methods
– Quantitative Forecasting Models
• Forecast Error
• Designing a Demand Forecasting System for PPC
• Case: Yankee Fork and Hoe Company
Forecasting
Effective planning requires matching product requirements of
customers with the capacity of operations
Qualitative methods
Based on subjective methods
Quantitative methods
Based on mathematical formulas
Qualitative Forecasting Methods
(subjective)
Characteristics:
– Based on experts’ intuition, experience, and opinions
– Not repeatable by others
– Useful when:
• Forecast has a long time horizon
• Environment is unstable during the forecast period
• Little or no historical data is available
Common Methods:
– Jury of Executive Opinion
– Sales Force Composite
– Delphi Method
– Consumer/Market Survey
Qualitative Forecasting Methods
Jury of Executive Opinion
– A qualitative forecasting method in which a group of senior
executives reviews historical sales data, market
intelligence, and internal reports.
– Each executive provides an estimate of future demand; these
estimates are discussed and consolidated into a single
forecast.
Main disadvantages-
– Senior executives may be removed from day-to-
day customer interactions.
– Forecasts may be influenced by organizational politics
or power dynamics rather than data.
Qualitative Forecasting Methods
Sales Force Composite
– A qualitative forecasting method in which each
salesperson estimates future sales for their
assigned territory.
– Territory-level forecasts are aggregated to obtain
the overall demand forecast.
– Often called a grass-roots approach, as salespeople
are close to customers and market conditions.
Main disadvantages-
– Salespeople may overestimate demand to appear
aggressive or protect their territory/job.
– Salespeople may underestimate demand to secure
lower sales quotas and earn higher bonuses.
Qualitative Forecasting Methods
Delphi Method
– A structured expert-based forecasting method.
– A coordinator gathers forecasts from a group of
external experts.
– A statistical summary of all responses is sent back to
the experts.
– Experts can revise their estimates anonymously, aiming to
reach consensus.
– Participant identities remain confidential to reduce bias.
Main Disadvantages
– Process can be time-consuming and lengthy.
Qualitative Forecasting Methods
Market Research
– A systematic approach to measure
consumer interest in a product or service.
– Involves developing hypotheses and
testing them through surveys,
questionnaires, or interviews.
– Helps in understanding demand,
preferences, and market trends before
forecasting.
Main Disadvantage
– Results may be biased or limited due to
poor response rates.
Quantitative methods
(numeric, objective)
Characteristics:
• Based on mathematical relationships between variables
• Repeatable by others using the same data and method
• Useful when:
• Historical data is available
• Forecasting short- to medium-term demand
Types of Quantitative Models:
1. Time Series Methods
Analyze historical demand patterns to project future demand
Examples: Moving Average, Exponential Smoothing, Holt–Winters
Quantity
• Stable demand with no clear upward or downward trend
• Values fluctuate (randomness) around a constant average
2. Trend Time
Quantity
• Gradual increase or decrease
over time
• Indicates long-term growth or
decline
Time
3. Seasonal
• Predictable relative highs and lows within a fixed,
Quantity
repeating period of less than one year (e.g., year, month,
Year 1
or week).
• Same month/week tends to have similar relative demand
period after period Year 2
• Example (yearly): Higher ice cream sales in May-June
• Example (weekly): Higher soda sales on weekends
4. Cyclical
• Fluctuations over multiple years
• Influenced by economic or industry cycles
• Unlike seasonal patterns, cycle length is variable and not fixed
Components of Demand in Time Series
• Individual components
– Permanent (Base) component, B
– Trend, T
– Seasonal, S
– Cyclic, C
– Promotion, P
– Random, et
• Combining different components
Yt = (B + T) + S + et , additive seasonality
Yt = (B + T) x S + et , multiplicative seasonality
Time-series method
Naive forecasting
Method 1A – Naive Method Method 1B – Naive Method with Trend
(Basic) Adjustment
Forecast = Last actual value Forecast = Last actual + change from
Formula: previous period
Ft+1=At
Formula:
Example:
Ft+1=At+(At−At−1)
August actual = 120 This includes the last period's trend in the
→ Forecast for September = forecast.
120 (Aug. actual) Example:
✅ Very simple
• July = 110
❌ Ignores trend and
• August = 120
seasonality • Trend = 120 (Aug)−110(Jul) =10
→ Forecast for September =
120 (Aug) + 10 (Trend)=130
✅ Simple trend-aware
❌ Assumes trend is linear and constant
Method 1 – Simple Moving Average
SMA(n)
Idea:
Forecast = Average of last n periods
Formula:
Ft+1 = [At + At-1 + ... + At-n+1 ]/n
Example (3-period SMA):
Jan = 100, Feb = 110, Mar = 150
→ Forecast for April = (100+110+150)/3 =120
✅ Smooths out noise
❌ Slow to react to changes
• Small n, more responsive to changes in data
• Large n, more stable forecasts over time
• n is typically between 3 & 10
Method 2 – Weighted Moving
Average, WMA(n)
Idea: Moving averages are unresponsive/sluggish to change.
Recent data is more important.
Ft+1 = w1 At + w2 At-1 + ... + wn At-n+1
Example (weights: 0.5, 0.3, 0.2):
Jan = 100, Feb = 110, Mar = 150
→ Forecast for April = 0.5(150)+0.3(110)+0.2(100)= 128
✅ More responsive
❌ Must select weights
One method to assign weights (not the only method):
– w1 > w2 > ... > wn > 0, weights sum to 1
– Sum-of-digits weights
S= 1+2+...+n
w1 = n/S, w2 = (n-1)/S, ……, wn = 1/S
Method 3 –Simple Exponential Smoothing,
SES (
SES reduces data needs by implicitly weighting past values — a
smarter form of moving average.
[Note: Ft+1 = At + At-1 + At-2 +…… + t F0 ]
Idea:
Forecast based on the last forecast and last actual value, with
smoothing factor α (0 < α ≤ 1)
Ft+1 = At + (1- Ft
Or Ft+1 = Ft + ( At - Ft), Here At - Ft = forecasting error in period t
Example:
α=0.3 March actual = 110 March forecast = 100
→ April forecast = 0.3(110)+0.7(100)=103
✅ Simple, smooths data
✅ Adapts to change (with right α)
• Larger values make forecast more responsive
• If =1, naive model
• In practice, 0.05 0.30
❌ Needs initial forecast and parameter tuning (can optimize using excel solver)
Time-Series Methods
Exponential Smoothing
450 — 6-week MA
3-week MA
forecast forecast
430 —
Patient arrivals
410 —
390 —
370 — Exponential
smoothing
= 0.10
| | | | | |
0 5 10 15 20 25 30
Week
Choosing a Method
FORECAST ACCURACY
E t = A t – Ft
CFE = Et
E 2
t
MSE =
n
|Et | [|Et | /At *(100)]
MAD MAPE =
n n
=
Choosing a Method
Forecast Error
Absolute
Error Absolute Percent
Month, Demand, Forecast, Error, Squared, Error, Error,
t At Ft Et E t2 |Et| (|Et|/At)(100)
1 200 225 -25 625 25 12.5%
2 240 220 20 400 20 8.3
3 300 285 15 225 15 5.0
4 270 290 –20 400 20 7.4
5 230 250 –20 400 20 8.7
6 260 240 20 400 20 7.7
7 210 250 –40 1600 40 19.0
8 275 240 35 1225 35 12.7
Total –15 5275 195 81.3%
Choosing a Method
Forecast Error
Measures of Error
Absolute
CFE = – 15 Error Absolute Percent
– 15Demand, Forecast,
Month, Error, Squared, Error, Error,
E =t =D–t 1.875 Ft |Et| (|Et|/At)(100)
Et E t2
8
1 200 225 –25 625 25 12.5%
2 5275240 220 20 400 20 8.3
3 300 285 15 225 15 5.0
MSE 4= = 659.4 –20 400 20 7.4
8 270 290
5 230 250 –20 400 20 8.7
6 260 240 20 400 20 7.7
7 210 250 –40 1600 40 19.0
195 35 1225 35 12.7
8 275 240
MAD = = 24.4 Total –15 5275 195 81.3%
8
81.3%
MAPE = = 10.2%
8
Tracking Signal (TS) – Monitoring Forecast Bias
Definition:
• A Tracking Signal (TS) is a measure used in demand forecasting to detect bias in
forecasts.
• It indicates whether a forecast consistently overestimates or underestimates actual
demand. Cumulative Forecast Error (CFE)
Formula: TSt = Mean Absolute Deviation (MAD)
Purpose:
• Helps monitor forecast accuracy over time.
• Alerts when corrective action is needed (adjust forecast method, parameters, or
model).
Interpretation:
• TS ≈ 0: Forecast is unbiased (errors cancel out over time).
• TS > +4 or TS < -4 (common rule of thumb): Forecast is biased → corrective
action needed.
• Positive TS: Forecast consistently underestimates demand.
• Negative TS: Forecast consistently overestimates demand.
TS = Observation:
t At Ft Et=At-Ft CFE MAD CFE/MAD
• TS = 4 →
Example
Step 4
Quarter Average Seasonal Index Forecast
1 (0.18 + 0.23 + 0.22 + 0.18)/4 = 0.20 650(0.20) = 130
2 (1.34 + 1.23 + 1.30 + 1.32)/4 = 1.30 650(1.30) = 845
3 (2.08 + 1.97 + 1.84 + 2.11)/4 = 2.00 650(2.00) = 1300
4 (0.40 + 0.57 + 0.63 + 0.39)/4 = 0.50 650(0.50) = 325
Linear Trend With Seasonality
A more refined method 1 2 170 160.1 9.9
1 3 140 172.3 -
370 32.3
using linear
Sales
41.1
2 4 200 233.3 -
33.3
220
trend model, Ft = a + bt +
3 1 320 245.5
64.5
3 2 310 257.5
et
52.3
3 3 230 269.9 -
39.9
3 4 260 282.1 -
Ft = 135.7 + 12.2 170 22.1
t Carpet Fcst
MAD = 33.9
At Ft
t Yr Qtr Act. Fcst Error Error2
1 1 1 160 158 +2 4
2 1 2 170 171 -1 1
3 1 3 140 136 +4 16
4 1 4 150 148 +2 4
5 2 1 230 232 -2 4
6 2 2 240 242 -2 4
7 2 3 180 187 -7 49
8 2 4 200 199 +1 1
9 3 1 310 305 +5 25
10 3 2 310 313 -3 9
11 3 3 230 238 -8 64
12 3 4 260 250 +10 100
trend) 1
t-1 t
Level or Average (Lₜ) = α × Aₜ + (1 – α)(Lₜ₋₁ + Tₜ₋₁)
Trend (Tₜ) = β × (Lₜ - Lₜ₋₁) + (1 – β)Tₜ₋₁ Fₜ
Forecast (h periods ahead): Fₜ₊ₕ = Lₜ + h* Tₜ
Example: Given: α=0.4, β=0.3 and initialization for quarter 1: L1=50,T1=4
Task: Show computation from Quarter 2 onwards and forecast for first 3 qtrs. In next year
t Aₜ Lₜ Tₜ
2 54 0.4(54)+0.6(50+4)=54.0 0.3(54-50)+0.7(4)=4.00
3 58 0.4(58)+0.6(54+4)=58.0 0.3(58-54)+0.7(4)=4.00
4 63 0.4(63)+0.6(58+4)=62.2 0.3(62.2-58)+0.7(4)=4.06
Example: Given: s=4 α=0.4, β=0.3, γ=0.2; Initial values L4=100,T4=5, S1=−10, S2=−5, S3=5,
S4=10
regression Y = a + bX
equation
{ Actual
value
of Y
Value of X used
to estimate Y
X
Independent variable
Causal Methods
Linear Regression
Sales Advertising
Month (000 units) (000 $)
a 1 264 2.5 = – 8.137
b 2 116 1.3 = 109.23
3 165 1.4
r = 0.98
4 101 1.0
5 209 2.0 r2 = 0.96
Causal Methods
Linear Regression
300 —
Sales (thousands of units)
250 —
Sales Advertising
Month (000 units) (000 $)
200 —
1 264 2.5 a = – 8.137
2—
150 116 1.3 b = 109.23
3 165 1.4 r = 0.98
4—
100 101 1.0 r2 = 0.96
5 209
Y= – 8.137 +2.0109.23X
50 | | | |
Forecast
1.0 1.5for Month
2.0 6
2.5
Advertising (thousands of dollars)
X = $1750, Y = 183.015, or 183,015 units
Causal Methods
Linear Regression (formula)
Sales, Y Advertising, X
Month (000 units) (000 $) XY X2 Y2
1 264 2.5 660.0 6.25 69,696
2 116 1.3 150.8 1.69 13,456
3 165 1.4 231.0 1.96 27,225
4 101 1.0 101.0 1.00 10,201
5 209 2.0 418.0 4.00 43,681
Total 855 8.2 1560.8 14.90 164,259
Y = 171 X = 1.64
XY – nXY
a = Y – bX b=
X 2 – n(X )2
Causal Methods
Linear Regression
Sales, Y Advertising, X
Month (000 units) (000 $) XY X2 Y2
1 264 2.5 660.0 6.25 69,696
2 116 1.3 150.8 1.69 13,456
3 165 1.4 231.0 1.96 27,225
4 101 1.0 101.0 1.00 10,201
5 209 2.0 418.0 4.00 43,681
Total 855 8.2 1560.8 14.90 164,259
Y = 171 X = 1.64
1560.8 – 5(1.64)(171)
a = Y – bX b=
14.90 – 5(1.64)2
Causal Methods
Linear Regression
Sales, Y Advertising, X
Month (000 units) (000 $) XY X2 Y2
1 264 2.5 660.0 6.25 69,696
2 116 1.3 150.8 1.69 13,456
3 165 1.4 231.0 1.96 27,225
4 101 1.0 101.0 1.00 10,201
5 209 2.0 418.0 4.00 43,681
Total 855 8.2 1560.8 14.90 164,259
Y = 171 X = 1.64
nXY – X Y
r=
[nX 2 – (X) 2][nY 2 – (Y) 2]
Coefficient of Correlation (r)
Coefficient of Correlation (r)
• r measures the direction and strength of the linear
relationship between x and y.
• Sign of r → direction of the relationship (same sign as
regression
slope b).
• |r| → strength of the relationship.
• Range: −1 to +1.
X Z
Forced forecast (units)
945 1312 Product lines: Level 2
0 5 420,000/399990*12500=13125
420,000/399990*9000=
9450
Forced forecast
X1 X2 ….
(units)
420 Individual items: Level
0 Z1 Z9 3
9450/9000*4000=42
00 5250
9450/90000*5000=5250
Thank You