Professional Documents
Culture Documents
Forelæsning 6 Forecasting-I
Forelæsning 6 Forecasting-I
Forecasting
Why Forecast?
• Assess long-term capacity needs
• Develop budgets, hiring plans, etc.
• Plan production or order materials
• Get agreement within firm and across
supply chain partners (collaborative
forecasts)
Chapter 9, Slide 2
Forecast Characteristics
Chapter 9, Slide 3
Role of Forecasting
in a Supply Chain
• The basis for all strategic and planning decisions in
a supply chain
• Collaborative forecasts
• Examples:
– Production: scheduling, inventory, aggregate planning
– Marketing: sales force allocation, promotions, new
production introduction
– Finance: plant/equipment investment, budgetary planning
– Personnel: workforce planning, hiring, layoffs
• All of these decisions are interrelated
Chapter 9, Slide 4
Forecasting Approaches
Qualitative Quantitative Methods
Methods • Used when situation is
• Used when situation ‘stable’ and historical
is vague and little data exist
– Existing products
data exist – Current technology
– New products
– New technology • Heavy use of
• Involves intuition, mathematical
experience techniques
*******************************
***************************** • E.g., forecasting sales
• E.g., forecasting sales of a mature product
to a new market
Chapter 9, Slide 5
Forecasting methods
Next slide
Chapter 9, Slide 6
Qualitative Forecasting,
2018
• Executive opinions
• Life cycle analogy
• Consumer surveys
• Outside opinions
• Delphi method
Chapter 9, Slide 7
Life-Cycle Planning Framework
Quantitativ forecasting:
Headlines
• 9.5 Basic time series models
Moving Average, Weighted MA
Exponential Smoothing,
Linear Regression
Seasonal Adjustment
Multiple Regression
Period Demand.
1 12
2 15
3 11
4 9
5 10
6 8
7 14
8 12
What assumptions
must we make to
use this data to
Chapter 9, Slide 10
forecast?
Time Series Components of
Demand . . .
Demand
. . . randomness
Time
Chapter 9, Slide 11
Time Series with . . .
Demand
Time
Chapter 9, Slide 12
Time series with . . .
Demand
Period Demand
1 12
2 15
3 11
4 9
5
6
7
8
10
8
14
12
3-period moving average
forecast for Periode 8:
= (14 + 8 + 10) / 3
= 10.67
Chapter 9, Slide 15
Moving Average Modeller,
MA(3), forecast of D8
Period Demand
1 12
2 15
3 11
4 9
5
6
7
8
10
8
14
12
3-periode moving
average forecast for
period 8:
= (14 + 8 + 10) / 3
= 10.67
Chapter 9, Slide 16
Weighted Moving Averages,
(slightly different formula)
Chapter 9, Slide 18
. . . and Resulting Graph
Chapter 9, Slide 21
Exponential Smoothing II
Formula Weighted average of
i) last periodes actual demand, and
ii) last periodes demand forecast
Ft+1 =
a × Dt + (1 – a) × Ft =
Ft + a (Dt – Ft)
Chapter 9, Slide 23
Resulting Graph -
Exponential Smoothing
Chapter 9, Slide 24
Resulting Graph -
Exponential Smoothing
Actual
Demand
Chapter 9, Slide 25
Graph - Exponential
Smoothing
Demand
Notice, all forecasting methods so far, i.e. MA(m), Weighted MA(m) and
Exponential Smothing ”require an assumption”, that there is no trend in
data, i.e. data can be described generated as (in a statistical sense):
Exponential
Actual Smoothing
Period Demand Forecast
1 11 11.00
2 12 11.00
3 13 11.30
4 14 11.81 Exponential Smothing
5 15 12.47
Since the model
6 16 13.23 is based on
7 17 14.06 historical demand,
8 18 14.94 it always lags
9 15.86
the obvious
upward trend
Chapter 9, Slide 29
Adjusting Exponential Smoothing for
Trend
Double exponential Smoothing
Chapter 9, Slide 30
Adjusted exponential
smoothing with trend.
Double exponential smoothing
• Ft+1 = a × Dt + (1 – a) × Ft
• Tt+1 = × (Ft+1 – Ft) + (1 – ) × Tt
• AFt+1 = Ft+1 + Tt+1
• Ft+1We are
adjusted
weighting
for trend is AF t+1
i) last period’s actual demand/trend, and
ii) last period’s demand/trend forecast.
Not quite true, since (Ft+1 – Ft) is the trend derived from forecasts
Chapter 9, Slide 31
Simple Linear Regression
• Time series OR causal model
• Assumes a linear relationship:
y
y = a + b(x)
x
Chapter 9, Slide 32
Definitions
Y = a + b(X)
Y = predicted
variable (i.e., demand)
X = predictor-variable
Chapter 9, Slide 34
Example 9.3 – Clem’s
Competition Clutches
• Mike Clem, owner of Clem’s
Competition Clutches, designs
and manufacturers heavy-duty car
clutches for use in drag racing.
In his first 10 months of business,
Mike has experienced the demand
shown in Table 9.7 and Figure 9.11.
Use Linear Regression to forecast
demand for months 11, 12, and 13.
Table
9.7
Example 9.3 – Clem’s
Competition Clutches
Ten-Month Time Series of Demand
Figure
9.11
Example 9.3 – Clem’s
Competition Clutches
Ex9_3.xls
Example 9.3 – Clem’s Competition Clutches
Month Demand Regression
1 8 11,8
2 12 19,13333
3 25 26,46667
4 40 33,8
5 50 41,13333
6 65 48,46667
7 36 55,8
8 61 63,13333
9 88 70,46667
10 63 77,8
SUMMARY OUTPUT
Regression Statistics
Multiple R 0,873286
R Square 0,762628
Adjusted R
Square 0,732957
Observations 10
ANOVA
df SS MS F Significance F
Coefficients Standard Error t Stat P-value Lower 95% Upper 95% Lower 95,0% Upper 95,0%
Intercept 4,466667 8,975213 0,497667 0,632108 -16,2302 25,16354 -16,2302 25,16354
Figure
9.12
Dealing with Seasonality
Winter 02 1 80
Spring 2 240
Summer 3 300
Fall 4 440
Winter 03 5 400
Spring 6 720
Summer 7 700
Fall 8 880
Chapter 9, Slide 40
What Do You Notice?
Forecasted Demand = –18.57 + 108.57 x period
Actual Regression
Period Demand forecast Forecast Error
Winter 02 1 80 90 -10
Spring 2 240 198.6 41.4
Summer 3 300 307.1 -7.1
Fall 4 440 415.7 24.3
Winter 03 5 400 524.3 -124.3
Spring 6 720 632.9 87.2
Summer 7 700 741.4 -41.4
Fall 8 880 850 30
Chapter 9, Slide 41
Regression picks up trend, but
not seasonality effect
spring
spring
Chapter 9, Slide 42
A simple 4 step procedure to do seasonal
adjustment
To make sense it requires a time series covering more than
one year
1. For each of the demands in the time series, calculate the
corresponding forecast using one of the forecast method (i.e.
regression) (not doing any adjustment).
2. For each demand value, calculate the ratio Demand/Forecast.
i. If the ratio < 1, then the forecast model has “over-
forecasted”
ii. If the ratio > 1, then the forecast model has “under-
forecasted”;
3. Since the time series covers more than one year we can
calculate the average value of these ratios Demand/Forecast
for each of the months or each quarter. Use these 12 (4)
averages as SEASON INDEX
4. Multiply the non-adjusted forecasts from step 1 with these
season index to get the adjusted values. Chapter 9, Slide 43
Calculating Seasonal
Index: Winter Quarter
(Actual / Forecast) for Winter Quarters:
Chapter 9, Slide 44
Seasonally adjusted forecast
model
For Winter Quarter
Or more generally:
Chapter 9, Slide 45
Seasonally adjusted
forecasts
Demand Forecast = –18.57 + 108.57 x period
Seasonal
Actual Regression Demand/ Seasonal adjusted Forecast
Period Demand forecast Forecast Index Forecast Error
Winter 02 1 80 90 0.89 0.83 74.33 5.67
Spring 2 240 198.6 1.21 1.17 232.97 7.03
Summer 3 300 307.1 0.98 0.96 294.98 5.02
Fall 4 440 415.7 1.06 1.05 435.19 4.81
winter 03 5 400 524.3 0.76 0.83 433.02 -33.02
Spring 6 720 632.9 1.14 1.17 742.42 -22.42
Summer 7 700 741.4 0.94 0.96 712.13 -12.13
Fall 8 880 850 1.04 1.05 889.84 -9.84
Chapter 9, Slide 46
Seasonally adjusted forecasts
SimpleSeasonalityCorrection2018.xlsx
Chapter 9, Slide 47
Example 9.4 – Seasonal
Adjustments
Based on the results of the regression model, develop a seasonal
index for each month and reforecast months 1 through 24 (January
2016 – December 2017) using the seasonal indices.
Figure 9.15
Example 9.4 – Seasonal
Adjustments 98.71 + 8.22*t
Example 9.4 – Seasonal
Adjustments
Example 9.4 – Seasonal
Adjustments
Calculate the (Demand/Forecast) for each of the time periods:
January 2016: (Demand/Forecast) = 51/106.9 = 0.477
January 2017: (Demand/Forecast) = 112/205.6 = 0.545
Figure 9.16