Professional Documents
Culture Documents
Lec.4 Forecasting
Lec.4 Forecasting
Forecasting
Learning Objectives (1 of 2)
After completing this chapter, students will be able to:
5.1 Understand and know when to use various families of
forecasting models.
5.2 Compare moving averages, exponential smoothing,
and other time-series models.
5.3 Calculate measures of forecast accuracy.
5.4 Apply forecast models for random variations.
5.5 Apply forecast models for trends and random
variations.
Topic Outline
5.1 Types of Forecasting Models
5.2 Components of a Time Series
5.3 Measures of Forecast Accuracy
5.4 Forecasting Models – Random Variations Only
5.5 Forecasting Models – Trend and Random Variations
5.6 Adjusting for Seasonal Variations
5.7 Forecasting Models – Trend, Seasonal, and Random
Variations
Introduction
• Main purpose of forecasting
– Reduce uncertainty and make better estimates of what
will happen in the future
• Subjective methods
– Seat-of-the pants methods, intuition, experience
• More formal quantitative and qualitative techniques
Forecasting Models
Figure 5.1 Forecasting Models
Qualitative Models (1 of 3)
• Incorporate judgmental or subjective factors
– Useful when subjective factors are important or
accurate quantitative data is difficult to obtain
• Common qualitative techniques
1. Delphi method
2. Jury of executive opinion
3. Sales force composite
4. Consumer market surveys
Qualitative Models (2 of 3)
• Delphi Method
– Iterative group process
– Respondents provide input to decision makers
– Repeated until consensus is reached
• Jury of Executive Opinion
– Collects opinions of a small group of high-level
managers
– May use statistical models for analysis
Qualitative Models (3 of 3)
• Sales Force Composite
– Allows individual salespersons estimates
– Reviewed for reasonableness
– Data is compiled at a district or national level
• Consumer Market Survey
– Information on purchasing plans solicited from
customers or potential customers
– Used in forecasting, product design, new product
planning
Time-Series Models (1 of 2)
• Predict the future based on the past
• Uses only historical data on one variable
• Extrapolations of past values of a series
• Ignores factors such as
– Economy
– Competition
– Selling price
Components of a Time Series (1 of 3)
• Sequence of values recorded at successive intervals of
time
• Four possible components
– Trend (T)
– Seasonal (S)
– Cyclical (C)
– Random (R)
Components of a Time Series (2 of 3)
Figure 5.2 Scatter Diagram for Four Time Series of
Quarterly Data
Components of a Time Series (3 of 3)
Figure 5.3 Scatter Diagram of a Time Series with Cyclical
and Random Components
Time-Series Models (2 of 2)
• Two basic forms
– Multiplicative
Demand T S C R
– Additive
Demand T S C R
MAD
forecast error
n
Measures of Forecast Accuracy (2 of 5)
Table 5.1 Computing the Mean Absolute Deviation (MA D)
2 100 110
3 120 100
4 140 120
5 170 140
6 150 170
7 160 150
8 190 160
9 200 190
10 190 200
11 — 190
Measures of Forecast Accuracy (4 of 5)
MAD
forecast error 160
17.8
n 9
ACTUAL ABSOLUTE VALUE OF
SALES OF WIRELESS ERRORS (DEVIATION),
MONTH SPEAKERS FORECAST SALES (ACTUAL − FORECAST)
1 110 — —
2 100 110 | 100 110 | 10
3 120 100 | 120 100 | 20
4 140 120 | 140 120 | 20
5 170 140 | 170 140 | 30
6 150 170 | 150 170 | 20
| 160 150 | 10
7 160 150
| 190 160 | 30
8 190 160
| 200 190 | 10
9 200 190
| 190 200 | 10
10 190 200
11 — 190 —
Blank Blank Blank
Sum of errors 160
Blank Blank Blank
MAD 160 9 17.8
Measures of Forecast Accuracy (5 of 5)
• Other common measures
– Mean squared error (M S E)
MSE
(error)2
n
– Mean absolute percent error (MAP E)
error
actual
MAPE 100%
n
– Bias is the average error
Forecasting Random Variations
• No other components are present
• Averaging techniques smooth out forecasts
– Moving averages
– Weighted moving averages
– Exponential smoothing
Moving Averages (1 of 2)
• Used when demand is relatively steady over time
– The next forecast is the average of the most recent n
data values from the time series
– Smooths out short-term irregularities in the data series
where
Ft 1
(Weight in period i )(Actual value in period i )
(Weights)
– Mathematically
w1Yt w 2Yt 1 ... w nYt n 1
Ft 1
w1 w 2 ... w n
where
w i weight for the i th observation
Wallace Garden Supply (3 of 4)
• Use a 3-month weighted moving average model to
forecast demand
– Weighting scheme
Wallace Garden Supply (4 of 4)
Table 5.3 Weighted Moving Average Forecast for Wallace
Garden Supply
Exponential Smoothing (1 of 2)
• Exponential smoothing
– A type of moving average
– Easy to use
– Requires little record keeping of data
New forecast = Last period’s forecast
+α (Last period’s actual demand
Last period’s forecast)
where
Ft 1 new forecast (for time period t + 1)
Yt pervious forecast for time period t
α smoothing constant (0 α 1)
Yt pervious period’s actual demand
α = 0.50
Alpha equals 0.50
8 182
186.30
178.22 equals 178.02 plus 0.10, left parenthesis, 180 minus 178.02, right parenthesis.
Port of Baltimore Example (2 of 2)
Table 5.5 Absolute Deviations and MAD s for the Port of
Baltimore Example
Exponential Smoothing with Trend (1
of 2)
• The equation for the trend correction uses a new
• smoothing constant β
Tt 1 Tt (Ft 1 FITt )
FITt 1 Ft 1 Tt 1
Selecting a Smoothing Constant
• A high value of β makes the forecast more responsive
to changes in trend
• A low value of β gives less weight to the recent trend
and tends to smooth out the trend
• Values are often selected using a trial-and-error approach
based on the value of the MA D for different
values of β
Midwestern Manufacturing (1 of 6)
• Demand for electrical generators from 2007 – 2013
– Midwest assumes F1 is perfect, T1 0, α 0.3, β 0.4
Step 1: Compute Ft +1
T2 = T1 + (F2 FIT1 )
=0 +.4(74 74) = 0
Midwestern Manufacturing (3 of 6)
Step 3: Calculate the trend-adjusted exponential
smoothing forecast (Ft +1 ) using
FIT2 = F2 + T2
=74 + 0 = 74
Midwestern Manufacturing (4 of 6)
For 2009 (time period 3)
Step 3: FIT3 = F3 + T3
= 75.5 + 0.6 = 76.1
Midwestern Manufacturing (5 of 6)
Table 5.7 Midwestern Manufacturing Exponential Smoothing
with Trend Forecasts
TIM DEMAN
E (t) D (Yt) Ft +1 = FITt + 0.3(Yt FITt ) Tt+1 Tt + 0.4(Ft +1 FITt ) FITt +1 = Ft +1 + Tt +1
1 74 74 0 74
2 79 74 74 0.3(74 74) 0 0 0.4(74 74) 74 74 0
3 80 75.5 74 0.3(79 74) 0.6 0 0.4(75.5 74) 76.1 75.5 0.6
4 90 77.270 1.068 78.338 77.270 1.068
76.1 0.3(80 76.1) 0.6 0.4(77.27 76.1)
5 105 81.837 2.468 84.305 81.837 2.468
78.338 0.3(90 78.338) 1.068 0.4(81.837 78.338)
6 142 90.514 4.952 95.466 90.514 4.952
84.305 0.3(105 84.305) 2.468 0.4(90.514 84.305)
7 122 109.426 10.536 119.962 109.426
95.446 0.3(142 95.466) 4.952 0.4(109.426 95.466) 10.536
8
Blank
Yˆ b0 b1 X
where
Yˆ predicted value
b0 intercept
b1 slope of the line
X time period (i.e.,X 1, 2, 3, , n )
Midwestern Manufacturing (1 of 4)
Based on least squares regression, the forecast equation is
Yˆ 56.71 10.54X
Jan July.
Feb. Aug.
Mar. Sep
Apr. Oct.
Nov.
May.
June. Dec
Seasonal Indices with Trend (1 of 2)
• Changes could be due to trend, seasonal, or random
• Centered moving average (CM A) approach prevents
trend being interpreted as seasonal
• Turner Industries sales contain both trend and seasonal
components
Seasonal Indices with Trend (2 of 2)
• Steps in CM A
1. Compute the CM A for each observation (where
possible)
2. Compute the seasonal ratio = Observation ÷ CMA
for that observation
1 115.67
108 116 123
2 133.67
125 134 142
3 159.00
150 159 168
4 152.67
141 152 165
Average 140.25
131.00 140.25 149.50
Turner Industries (2 of 7)
Table 5.9 Quarterly Sales $1,000,000s for Turner
Industries
Turner Industries (3 of 7)
• To calculate the CM A for quarter 3 of year 1, compare the
actual sales with an average quarter centered on that time
period
• Use 1.5 quarters before quarter 3 and 1.5 quarters after
quarter 3
– Take quarters 2, 3, and 4 and one half of quarters 1,
year 1 and quarter 1, year 2
Turner Industries (4 of 7)
• Compare the actual sales in quarter 3 to the CM A to find
the seasonal ratio
Turner Industries (5 of 7)
Table 5.10 Centered Moving Averages and Seasonal Ratios
for Turner Industries
SEASONAL
YEAR QUARTER SALES ($1,000,000s) CM A
RATIO
1 1 108
Blank Blank
2 125
Blank Blank Blank
3 168
Blank Blank Blank
4 165
Blank Blank Blank
Turner Industries (6 of 7)
• The two seasonal ratios for each quarter are averaged to
get the seasonal index