Professional Documents
Culture Documents
TOPIC 4. Forecasting 1
TOPIC 4. Forecasting 1
Forecasting 1
Fall 2021
Department of Business Administration
UC3M
Professor Gemma Berenguer
Agenda
• Forecasting 1
Operations Management
2
Gemma Berenguer
Characteristics of Forecasts
1. Forecasts are always inaccurate
2. Long-term forecasts are usually less accurate than short-
term forecasts
Gemma Berenguer
Operations Management
3. Aggregate forecasts are usually more accurate than
disaggregate forecasts
4. In general, the farther up the supply chain a company is,
the greater is the distortion of information it receives
3
Components and Methods
• Companies must identify the factors that
influence future demand and then ascertain the
relationship between these factors and future
Gemma Berenguer
Operations Management
demand
4
Components and Methods
1. Time Series
• Use historical demand only
• Best with stable demand
Gemma Berenguer
Operations Management
2. Qualitative
• Primarily subjective
• Rely on judgment
3. Causal
• Relationship between demand and some other factor
4. Simulation
• Imitate consumer choices that give rise to demand 5
Components of an Observation
Observed demand (O) = systematic component (S)
+ random component (R)
Gemma Berenguer
Operations Management
− Level (current deseasonalized demand)
− Trend (growth or decline in demand)
− Seasonality (predictable seasonal fluctuation)
• Random component – part of forecast that deviates
from systematic component
• Forecast error – difference between forecast and actual
demand 6
Behaviors
• Level
Demand
No Pattern
Gemma Berenguer
Operations Management
• Trend Time
• Seasonality
Repetition at Fixed Intervals
7
Components of Demand
Trend
component
Demand for product or service
Seasonal peaks
Actual demand
line
Average demand
over 4 years
Random variation
| | | |
1 2 3 4
Time (years)
Figure 4.1
Time Series Models
Gemma Berenguer
Operations Management
Moving average No trend or seasonality
9
Steps in Forecasting
• Initialize
• Compute initial estimates of level (L0), trend (T0), and
seasonal factors (S1,…,Sp), p: periodicity of seasonal
demand
Gemma Berenguer
Operations Management
• Forecast
• Forecast demand for period t + 1 (Ft+1)
• Estimate error
• Compute error Et+1 = Ft+1 – Dt+1
• Revise estimates (adaptive)
• Modify the estimates of level (Lt+1), trend (Tt+1), and
seasonal factor (St+p+1) 10
Moving Average
❑Used when demand has no observable trend or seasonality
❑Systematic component of demand = level
Gemma Berenguer
Operations Management
periods
Lt = (Dt + Dt-1 + … + Dt–N+1) / N
Gemma Berenguer
Operations Management
• Forecast demand for Period 5 using a four-period moving average
120,75
12
Moving Average Example
❑Forecast demand for Period 5
Gemma Berenguer
Operations Management
❑ Next, step revised demand
Comments on MA
• What historical data (how many past periods) does this
method use?
N
Gemma Berenguer
Operations Management
• What weight is given to old and new observations?
The same
14
Exponential Smoothing
❑Used when demand has no observable trend or seasonality
❑Systematic component of demand = level
❑The level in period t is
Gemma Berenguer
Operations Management
Lt = a Dt +(1– a )Ft , L0 = D0
❑The forecast in period t+1 is
Ft+1 = Lt
❑After observing the demand for period t + 1, revise the estimates
Gemma Berenguer
Operations Management
• What is the forecast error if demand in Period 5 turns out to be 125
gallons?
16
Comments on ES
• What historical data (how many past periods) does this
method use?
ALL
Gemma Berenguer
Operations Management
• What weight is given to old and new observations?
More weight to the most recent one
17
Trend-Corrected Exponential
Smoothing (Holt’s Model)
• Appropriate when the demand is assumed to have a level and
trend in the systematic component of demand but no seasonality
Systematic component of demand = level + trend
Gemma Berenguer
Operations Management
• Obtain initial estimate of level and trend by running a linear
regression
Dt = at + b, T0 = a, L0 = b
• In Period t the forecast for future periods is
Ft+1 = Lt + Tt and Ft+n = Lt + nTt
• After observing demand of time t+1, revise
Gemma Berenguer
Operations Management
• Using regression analysis we obtain
L0 = 7,367(intercept) and T0 = 673(slope)
• Forecast for period 1 is
F1 = L0 + T0 = 7,367 + 673 = 8,040
19
Example Holt’s Model
• What is the forecast of period 7?
Gemma Berenguer
Operations Management
20
Measures of forecast error
• Error E = F – D
t t t
𝑛
• Bias 𝑏𝑖𝑎𝑠𝑛 = 𝐸𝑡
Gemma Berenguer
Operations Management
𝑡=1
• Tracking Signal (TS) = Bias/MAD <= |6|
𝑛
1
• Mean absolute deviation (MAD) 𝑀𝐴𝐷𝑛 = 𝑛 𝐴𝑡 , 𝐴𝑡 = |𝐸𝑡 |
𝑛 𝑡=1
1
• Mean squared error (MSE) 𝑀𝑆𝐸𝑛 = 𝐸𝑡2
𝑛
𝑡=1 𝐸𝑡
σ𝑛𝑡=1 100
• Mean absolute percent error (MAPE) 𝐷𝑡
𝑀𝐴𝑃𝐸𝑛 = 21
𝑛
Criteria for selecting method
• Plot your historical demand and look for patterns: level, trend,
and seasonality
• Forecast errors provide important information for choosing
the best forecasting method
Gemma Berenguer
Operations Management
• Forecast errors can also be used to select the best values for
the parameters needed for the method
• Criteria used:
• Minimizing bias;
• Minimizing MAPE, MAD or MSE;
• Meeting managerial expectations
22
Several pointers for quantitative
methods forecasting
• Don’t forget to distinguish between sales data and demand
data
• Bias is the worst kind of forecast error; strive for zero bias
Gemma Berenguer
Operations Management
• Whenever possible, forecast at aggregate levels. Forecast in
detail only where necessary
23