Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… ·...

29
MIT Center for Transportation & Logistics CTL.SC1x -Supply Chain & Logistics Fundamentals Introduction to Demand Planning & Forecasting

Transcript of Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… ·...

Page 1: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

MIT Center for Transportation & Logistics

CTL.SC1x -Supply Chain & Logistics Fundamentals

Introduction to Demand Planning

& Forecasting

Page 2: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

CTL.SC1x - Supply Chain and Logistics Fundamentals Lesson: Demand Forecasting Basics

Demand Process – Three Key Questions Demand Planning

n  Product & Packaging n  Promotions n  Pricing n  Place

2

What should we do to shape and create demand for our product?

What should we expect demand to be given the demand plan in place?

How do we prepare for and act on demand when it materializes?

Demand Forecasting n  Strategic, Tactical, Operational n  Considers internal & external factors n  Baseline, unbiased, & unconstrained

Demand Management n  Balances demand & supply n  Sales & Operations Planning (S&OP) n  Bridges both sides of a firm

Material adapted from Lapide, L. (2006) Course Notes, ESD.260 Logistics Systems.

Page 3: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

CTL.SC1x - Supply Chain and Logistics Fundamentals Lesson: Demand Forecasting Basics

Forecasting Levels

3

Level Horizon Purposes

Quarterly •  Brand Plans •  Budgeting •  Sales Planning •  Manpower Planning

Strategic Year/Years •  Business Planning •  Capacity Planning •  Investment Strategies

Tactical

Months/Weeks •  Short-term Capacity Planning •  Master Planning •  Inventory Planning

Operational Days/Hours •  Transportation Planning •  Production Planning •  Inventory Deployment

Material adapted from Lapide, L. (2006) Course Notes, ESD.260 Logistics Systems.

Page 4: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

CTL.SC1x - Supply Chain and Logistics Fundamentals Lesson: Demand Forecasting Basics

Agenda

•  Forecasting Truisms •  Subjective vs. Objective Approaches •  Forecast Quality •  Forecasting Metrics

Page 5: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

CTL.SC1x - Supply Chain and Logistics Fundamentals Lesson: Demand Forecasting Basics

Forecasting Truisms 1: Forecasts are always wrong

5

Page 6: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

CTL.SC1x - Supply Chain and Logistics Fundamentals Lesson: Demand Forecasting Basics

1. Forecasts are always wrong Why?

n  Demand is essentially a continuous variable n  Every estimate has an “error band” n  Forecasts are highly disaggregated

w  Typically SKU-Location-Time forecasts

n  Things happen . . .

OK, so what can we do? n  Don’t fixate on the point value n  Use range forecasts n  Capture error of forecasts n  Use buffer capacity or stock

6

Page 7: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

CTL.SC1x - Supply Chain and Logistics Fundamentals Lesson: Demand Forecasting Basics

Forecasting Truisms 2: Aggregated forecasts are more accurate

7

Page 8: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

CTL.SC1x - Supply Chain and Logistics Fundamentals Lesson: Demand Forecasting Basics

2. Aggregated forecasts are more accurate

8

•  Aggregation by SKU, Time, Location, etc. •  Coefficient of Variation (CV)

n  Definition: Standard Deviation / Mean = σ/µ n  Provides a relative measure of volatility or uncertainty n  CV is non-negative and higher CV indicates higher volatility

-

20

40

60

80

100

120

140

160

180

200

2/26/11 3/28/11 4/27/11 5/27/11 6/26/11 7/26/11 8/25/11

Dai

ly D

eman

d

Red: µ=100, σ=45, CV=0.45 Blue: µ=100, σ=1, CV=0.01

Page 9: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

CTL.SC1x - Supply Chain and Logistics Fundamentals Lesson: Demand Forecasting Basics

Aggregating by SKU

9

•  Coffee Cups and Lids @ the Sandwich Shop n  Large ~N(80, 30) CV = 0.38 n  Medium ~N(450, 210) CV = 0.47 n  Small ~N(250, 110) CV = 0.44

-

100

200

300

400

500

600

700

800

8/14/13 9/13/13 10/13/13 11/12/13 12/12/13 1/11/14 2/10/14 3/12/14 4/11/14 5/11/14 6/10/14

Small

Medium

Large

Page 10: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

CTL.SC1x - Supply Chain and Logistics Fundamentals Lesson: Demand Forecasting Basics 10

•  What if I design cups with a common lid? •  Common Lid ~N(780, 239) CV = 0.31

n  µ = (80 + 450 + 250) = 780 units/day n  σ = sqrt(302 + 2102 + 1102) = 239 units/day

-

200

400

600

800

1,000

1,200

1,400

1,600

8/14/13 9/13/13 10/13/13 11/12/13 12/12/13 1/11/14 2/10/14 3/12/14 4/11/14 5/11/14 6/10/14

Aggregating by SKU

Example of Modularity or Parts Commonality •  Reduces the relative variability •  Increases forecasting accuracy •  Lowers safety stock requirements

Large ~N(80, 30) CV=0.38 Med. ~N(450, 210) CV=0.47 Small ~N(250, 110) CV=0.44

Lids ~N(780, 239) CV=0.31

Page 11: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

CTL.SC1x - Supply Chain and Logistics Fundamentals Lesson: Demand Forecasting Basics 11

Aggregating by Time

-

400

800

1,200

1,600

8/14/13 9/13/13 10/13/13 11/12/13 12/12/13 1/11/14 2/10/14 3/12/14 4/11/14 5/11/14 6/10/14

Daily Demand for Lids ~N(780, 239) CV=0.31

-

2,000

4,000

6,000

8,000

1 5 9 13 17 21 25 29 33 37 41 45 49

Weekly Demand for Lids ~N(5458, 632) CV=0.12

-

5,000

10,000

15,000

20,000

25,000

30,000

1 2 3 4 5 6 7 8 9 10 11 12

Monthly Demand for Lids ~N(21840, 1264) CV=0.06

•  Forecasts with longer time buckets have better forecast accuracy.

•  The time bucket used should match the situation.

Page 12: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

CTL.SC1x - Supply Chain and Logistics Fundamentals Lesson: Demand Forecasting Basics

Aggregating by Locations •  Suppose we have three sandwich shops

n  Weekly lid demand at each ~N(5458, 632) CV=0.12

12

•  What if demand is pooled at a common Distribution Center? n  Weekly lid demand at DC ~N(16374, 1095) CV=0.07

~N(5458, 632) ~N(5458, 632) ~N(5458, 632)

CV reduces as we aggregate over SKUs,

time, or locations.

~N(16374, 1095)

CVind =σµ

CVagg =σ nµn

µ n=CVindn

Page 13: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

CTL.SC1x - Supply Chain and Logistics Fundamentals Lesson: Demand Forecasting Basics

Forecasting Truisms 3: Shorter horizon forecasts are more accurate

13

Page 14: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

CTL.SC1x - Supply Chain and Logistics Fundamentals Lesson: Demand Forecasting Basics 14

3. Shorter horizon forecasts are more accurate

12 11 10 9 8 7 6 5 4 3 2 1 24 23 22 21

?

?

?

?

Page 15: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

CTL.SC1x - Supply Chain and Logistics Fundamentals Lesson: Demand Forecasting Basics 15

3. Shorter horizon forecasts are more accurate

12 11 10 9 8 7 6 5 4 3 2 1 24 23 22 21

?

•  Postponed final customization to closer time of consumption

•  Risk pooling of component (e.g., ham) increases forecast accuracy.

Page 16: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

CTL.SC1x - Supply Chain and Logistics Fundamentals Lesson: Demand Forecasting Basics

Forecasting Truisms

•  Forecasts are always wrong è Use ranges & track forecast error

•  Aggregated forecasts are more accurate è Risk pooling reduces CV

•  Shorter time horizon forecasts are more accurate

è Postpone customization until as late as possible

16

Page 17: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

CTL.SC1x - Supply Chain and Logistics Fundamentals Lesson: Demand Forecasting Basics

Subjective & Objective Approaches

17

Page 18: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

CTL.SC1x - Supply Chain and Logistics Fundamentals Lesson: Demand Forecasting Basics

Fundamental Forecasting Approaches

Judgmental n  Sales force surveys n  Jury of experts n  Delphi techniques

Experimental n  Customer surveys n  Focus group sessions n  Test marketing

Causal / Relational n  Econometric Models n  Leading Indicators n  Input-Output Models

Time Series n  “Black Box” Approach n  Past predicts the future n  Identify patterns

Often times, you will need to use a combination of approaches

Subjective Objective

Page 19: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

CTL.SC1x - Supply Chain and Logistics Fundamentals Lesson: Demand Forecasting Basics

Forecasting Quality

19

Page 20: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

CTL.SC1x - Supply Chain and Logistics Fundamentals Lesson: Demand Forecasting Basics

Cost of Forecasting vs Inaccuracy

Cost of Forecasting

Forecast Accuracy

Cost

Cost of Errors In Forecast

Total Cost ß Overly Naïve Models à ß Excessive Causal Models à ß Good Region à

Page 21: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

CTL.SC1x - Supply Chain and Logistics Fundamentals Lesson: Demand Forecasting Basics

How do we determine if a forecast is good? •  What metrics should we use? •  Example - Which is a better forecast?

n  Squares & triangles are different forecasts n  Circles are actual values

time

1000

900

1100

Page 22: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

CTL.SC1x - Supply Chain and Logistics Fundamentals Lesson: Demand Forecasting Basics

Accuracy versus Bias

Accurate

Not Accurate

Biased Not Biased

n  Accuracy - Closeness to actual observations n  Bias - Persistent tendency to over or under predict

Page 23: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

CTL.SC1x - Supply Chain and Logistics Fundamentals Lesson: Demand Forecasting Basics

Forecasting Metrics

23

Page 24: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

CTL.SC1x - Supply Chain and Logistics Fundamentals Lesson: Demand Forecasting Basics

Forecasting Metrics

1

n

tte

MADn

==∑

1

n

tte

MDn==∑

MPE =

etAtt=1

n

∑n

2

1

n

tte

MSEn

==∑

MAPE =

etAtt=1

n

∑n

2

1

n

tte

RMSEn

==∑

Notation: At = Actual value for obs. t et = Error for observation t Ft = Forecasted value for obs. t n = Number of observations

et = At – Ft Mean Deviation (MD)

Mean Absolute Deviation (MAD)

Mean Squared Error (MSE)

Root Mean Squared Error (RMSE)

Mean Percent Error (MPE)

Mean Absolute Percent Error (MAPE)

Page 25: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

CTL.SC1x - Supply Chain and Logistics Fundamentals Lesson: Demand Forecasting Basics

Example: Forecasting Bagels •  For the bagel forecast and actual values

shown below, find the: n  Mean Absolute Deviation (MAD) n  Root Mean Square of Error (RMSE) n  Mean Absolute Percent Error (MAPE)

25

Forecast Actual Monday 50 43 Tuesday 50 42 Wednesday 50 66 Thursday 50 38 Friday 75 86

1

n

tte

MADn

==∑

MAPE =

etAtt=1

n

∑n

2

1

n

tte

RMSEn

==∑

Page 26: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

CTL.SC1x - Supply Chain and Logistics Fundamentals Lesson: Demand Forecasting Basics

Example: Forecasting Bagels •  Solution:

1.  Graph it. 2.  Extend data table:

w  Error: et=At-Ft w  Abs[error] = |et| w  Sqr[error] = e2 w  AbsPct[error] = |et/At|

3.  Sum and find means

26

Ft At et |et| e2 |et/At| Monday 50 43 -7 7 49 16.3% Tuesday 50 42 -8 8 64 19.0% Wednesday 50 66 16 16 256 24.2% Thursday 50 38 -12 12 144 31.6% Friday 75 86 11 11 121 12.8%

Sum 0 54 634 104% Mean 0 10.8 126.8 21%

30

40

50

60

70

80

90

Monday Tuesday Wednesday Thursday Friday

Dai

ly B

agel

Dem

and

Forecast Actual

MAD = 54/5 = 10.8 RMSE = sqrt(126.8) = 11.3 MAPE = 104%/5 = 21%

Page 27: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

CTL.SC1x - Supply Chain and Logistics Fundamentals Lesson: Demand Forecasting Basics

Key Points from Lesson

27

Page 28: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

CTL.SC1x - Supply Chain and Logistics Fundamentals Lesson: Demand Forecasting Basics

Key Points

•  Forecasting is a means not an end •  Forecasting Truisms

n  Forecasts are always wrong n  Aggregated forecasts are more accurate n  Shorter horizon forecasts are more accurate

•  Subjective & Objective Approaches n  Judgmental & experimental n  Causal & time series

•  Forecasting metrics n  Capture both bias & accuracy n  MAD, RMSE, MAPE

Page 29: Introduction to Demand Planning & Forecasting - edXMITx+CTL.SC1x_1+2T2015+type@ass… · Introduction to Demand Planning & Forecasting . CTL.SC1x - Supply Chain and Logistics Fundamentals

MIT Center for Transportation & Logistics

CTL.SC1x -Supply Chain & Logistics Fundamentals

Questions, Comments, Suggestions? Use the Discussion!

[email protected]

“Janie” Photo courtesy Yankee Golden

Retriever Rescue (www.ygrr.org)