Module+2+Forecasting
Module+2+Forecasting
© McGraw-Hill Education
MODULE
Forecasting
2
© McGraw-Hill Education
LEARNING OUTCOMES
LO2.1 Compare and contrast the features of forecasting methods.
LO2.2 Explain the elements of a good forecast.
LO2.3 Outline the steps in the forecasting process.
LO2.4 Summarize forecast errors and use summaries to make decisions.
LO2.5 Explain qualitative forecasting techniques.
LO2.6 Execute different quantitative methods to make a forecast.
LO2.7 Construct control charts and use them to monitor forecast errors.
© McGraw-Hill Education
FORECAST
© McGraw-Hill Education
TWO IMPORTANT ASPECTS OF FORECASTS
© McGraw-Hill Education
USES OF FORECASTS
ACCOUNTING • Cost/profit estimates
© McGraw-Hill Education
YIELD MANAGEMENT
© McGraw-Hill Education
LONG-RANGE vs SHORT-RANGE
© McGraw-Hill Education
USES FOR FORECAST
© McGraw-Hill Education
USES FOR FORECAST
• Plan the use of the system
• Generally involves short- and
medium-range plans related to:
• Inventory management
• Workforce levels
• Purchasing
• Production
• Budgeting
• Scheduling
© McGraw-Hill Education
FEATURES COMMON TO ALL FORECASTS
1. Techniques assume some underlying
causal system that existed in the past
will persist into the future
2. Forecasts are not perfect
3. Forecasts for groups of items are more
accurate than those for individual
items
4. Forecast accuracy decreases as the
forecasting horizon increases
© McGraw-Hill Education
ELEMENTS OF A GOOD FORECAST
Techniqu
Should
es should
be
Should Should Should be simple Should
Should expresse
be be be in to be cost-
be timely d in
accurate reliable writing understa effective
meaningf
nd and
ul units
use
© McGraw-Hill Education
STEPS IN THE FORECASTING
PROCESS
1. Determine the purpose of the forecast
2. Establish a time horizon
3. Obtain, clean, and analyze appropriate data
4. Select a forecasting technique
5. Make the forecast
6. Monitor the forecast errors
© McGraw-Hill Education
APPROACHES TO FORECASTING
• Qualitative forecasting
• Qualitative techniques permit the inclusion
of soft information such as:
• Human factors
• Personal opinions
• Hunches
• These factors are difficult, or impossible, to
quantify
© McGraw-Hill Education
APPROACHES TO FORECASTING
• Quantitative forecasting
• These techniques rely on hard data
• Quantitative techniques involve either the
projection of historical data or the
development of associative methods that
attempt to use causal variables to make a
forecast
© McGraw-Hill Education
QUALITATIVE FORECASTS: JUDGMENTAL
© McGraw-Hill Education
QUALITATIVE FORECASTS: JUDGMENTAL
• Consumer surveys
• Since consumers ultimately determine demand,
it makes sense to solicit input from them
• Consumer surveys typically represent a sample
of consumer opinions
• Other approaches
• Managers may solicit opinions from other
managers or staff people or outside experts to
help with developing a forecast.
• The Delphi method is an iterative process
intended to achieve a consensus
© McGraw-Hill Education
TIME-SERIES FORECASTS
© McGraw-Hill Education
ASSOCIATIVE MODELS
© McGraw-Hill Education
FORECASTS BASED ON TIME-SERIES DATA
• Trend
• Seasonality
• Cycles
• Irregular variations
• Random variation
© McGraw-Hill Education
TRENDS AND SEASONALITY
Trend
• A long-term upward or downward movement in data
• Population shifts
• Changing income
Seasonality
• Short-term, fairly regular variations related to the calendar or
time of day
• Restaurants, service call centers, and theaters all experience
seasonal demand
© McGraw-Hill Education
Trends and Seasonality
• Trend
• A long-term upward or downward movement in data
Population shifts
Changing income
• Seasonality
• Short-term, fairly regular variations related to the
calendar or time of day
• Restaurants, service call centers, and theaters all
experience seasonal demand
© McGraw-Hill Education
CYCLES AND VARIATIONS
Random Variation
• Residual variation that remains after all other behaviors
have been accounted for
© McGraw-Hill Education
FORECASTING - NAÏVE FORECAST
• Naïve forecast
• Uses a single previous value of a time series
as the basis for a forecast
• The forecast for a time period is equal to the
previous time period’s value
© McGraw-Hill Education
FORECASTING - NAÏVE FORECAST
• Stable time series data
• F(t) = A(t-1)
• Future = past
• Seasonal variations
• F(t) = A(t-n)
• Future = past season
• Data with trends
• F(t) = A(t-1) + (A(t-1) – A(t-2))
• Future = past + difference from 2 periods ago
© McGraw-Hill Education
FORECASTING - NAÏVE FORECAST
• Simple to use
• Virtually no cost
• Quick and easy to prepare
• Data analysis is nonexistent
• Easily understandable
• Cannot provide high accuracy
• Can be a standard for accuracy
© McGraw-Hill Education
TIME-SERIES FORECASTING - AVERAGING
• These techniques work best when a
series tends to vary about an average
• Averaging techniques smooth variations
in the data
• They can handle step changes or
gradual changes in the level of a series
• Techniques
1. Moving average
2. Weighted moving average
3. Exponential smoothing
© McGraw-Hill Education
MOVING AVERAGE
Technique that averages a number of the most recent actual
values in generating a forecast
n
A t i
At n ... At 2 At 1
Ft MA n i 1
n n
where
Ft Forecast for time period t
MA n n period moving average
At i Actual value in period t i
n Number of periods in the moving average
© McGraw-Hill Education
MOVING AVERAGE
PERIOD DEMAND
1 42
2 40
3 43
4 40
5 41
© McGraw-Hill Education
WEIGHTED MOVING AVERAGE
• The most recent values in a time series are given more
weight in computing a forecast
• The choice of weights, w, is somewhat arbitrary and involves some
trial and error
Ft wt ( At ) wt 1 ( At 1 ) ... wt n ( At n )
where
wt weight for period t , wt 1 weight for period t 1, etc.
At the actual value for period t , At 1 the actual value for period t 1, etc.
© McGraw-Hill Education
Moving Average
• As new data become available, the forecast is
updated by adding the newest value and
dropping the oldest and then re-computing
the average
• The number of data points included in the
average determines the model’s sensitivity
• Fewer data points used—more responsive
• More data points used—less responsive
© McGraw-Hill Education
WEIGHTED MOVING AVERAGE
Compute a weighted average forecast using a weight of .40
for the most recent period, .30 for the next most recent, .20
for the next, and .10 for the next.
PERIOD DEMAND
1 42
2 40
3 43
4 40
5 41
© McGraw-Hill Education
MOVING AVERAGE
• As new data become available, the forecast is
updated by adding the newest value and dropping
the oldest and then re-computing the average
• The number of data points included in the average
determines the model’s sensitivity
• Fewer data points used—more responsive
• More data points used—less responsive
© McGraw-Hill Education
EXPONENTIAL SMOOTHING
Premise: The most recent observations might have the highest
predictive value.
• Therefore, we should give more weight to the more recent time
periods when forecasting.
• Weighted averaging method based on previous forecast plus a
percentage of the forecast error
© McGraw-Hill Education
EXPONENTIAL SMOOTHING
Suppose the previous forecast was 42 units, actual
demand was 40 units, and α = .10. Compute for the
new forecast.
Ft = Ft-1 + (At-1 - Ft-1)
© McGraw-Hill Education
Techniques for Trend
• Analysis of trend involves developing an
equation that will suitably describe the
trend (assuming that trend is present in
the data). Trends may be linear or
nonlinear.
3-38
© McGraw-Hill Education
Techniques for Trend
• The linear trend equation
Ft a bt
where
Ft Forecast for period t
a Value of Ft at t 0
b Slope of the line
t Specified number of time periods from t 0
3-39
© McGraw-Hill Education
Techniques for Trend
• The slope and the intercept can be
estimated from historical data.
n ty
t y
b
n t t
2
2
a
y b t
or y bt
n
where
n Number of periods
y Value of the time series 3-40
© McGraw-Hill Education
TREND-ADJUSTED EXPONENTIAL
SMOOTHING
• The trend adjusted forecast
consists of two components:
• Smoothed error
• Trend factor
• Alpha and beta are smoothing
constants
• Trend-adjusted exponential
smoothing has the ability to
respond to changes in trend
© McGraw-Hill Education
Trend-Adjusted Exponential Smoothing or
double-smoothing
• Trend-adjusted
exponential
smoothing has the
ability to respond to
changes in the trend
3-42
Copyright ©2018 McGraw-Hill Higher Education. All rights reserved. No reproduction or
distribution without the prior written consent of McGraw-Hill Education
Example 2:
Given the time series data in the next slide,
a. Use linear trend to forecast the demand
for periods 6 to 11.
b. Use trend-adjusted exponential
smoothing to forecast the demand for
periods 6 to 11 using α=0.40 and β=0.30.
3-43
© McGraw-Hill Education
Answer to Example 2a:
Period, Demand, Forecasted
ty t
2
t y demand,
1 700
2 724
3 720
4 728
5 740
6 742
7 758
8 750
9 770
10 775
11
© McGraw-Hill Education
Answer to Example 2a:
© McGraw-Hill Education
Steps to solve Example 2b:
• Compute the initial estimate of the trend. Since the
problem specifies that we forecast periods 6 to 11,
• Compute the average of the net changes for periods 1 to 4.
• Compute the forecast for period 5 by taking the sum of the
actual value for period 4 and the average net change for
periods 1 to 4.
• Compute S and T for the current period using the
formula provided.
• Compute TAF for the next period using the formula
provided.
Perio Deman Chang S T Forecast
d d e
=724 - 700
1 700
Step 2
Step 1
2 724 =720 - 724
4 728
5 740 9.333
6 742
7 758 =737.33+0.4(2.66
8 750 7) =740 – 737.33
9 770
10 775
Step 5 Step 4
11
© McGraw-Hill Education
Perio Deman S T Forecast Actual -
d d Forecast
1 700
Step 3
2 724
3 720 =728+9.333
4 728
5 740 738.400 9.333 737.33 2.667
0
6 742
=737.33+0.4(2.66
7 758 7) =740 – 737.33
8 750
9 770
10 775 Step 5 Step 4
11 © McGraw-Hill Education
Period Demand S T Forecast Actual - Forecast
1 700
Step 7
2 724
3 720 =9.333+0.3(747.728 - 737.33 -
9.333)
4 728
5 740 738.400 9.333 737.33 2.667
0 9.760 747.72 -5.728
745.440
6 742 8
7 758 =742 – 747.728
8 =747.728+0.4(-5.728)
750 =738.400 + 9.333
9 770 Step 8
10 775Step 9
Step 6
11 © McGraw-Hill Education
Period Demand S T Forecast Actual - Forecast
1 700
Step 7
2 724
3 720 =9.333+0.3(747.728 - 737.33 -
9.333)
4 728
5 740 738.400 9.333 737.33 2.667
0
6 742 745.440 9.760 747.728 -5.728
7 758 =742 – 747.728
8 =747.728+0.4(-5.728)
750
=738.400 + 9.333
9 770 Step 8
10 775Step 9
Step 6
11 © McGraw-Hill Education
Period Deman Change S T Forecast Error =
d Actual -
Forecast
1 700
2 724 24
3 720 -4
4 728 8
5 740 738.40 9.333 737.333 2.667
6 742 745.44 9.653 747.733 -5.733
7 758 756.26 8.965 755.093 2.907
8 750 759.13 9.314 765.221 -15.221
9 770 769.07 7.488 768.447 1.553
10 775 775.93 7.674 776.556 -1.556
11 783.607
© McGraw-Hill Education
Techniques for Seasonality
• Seasonal variations
• Regularly repeating movements in series
values that can be tied to recurring events
A. Regular annual variations
© McGraw-Hill Education
TECHNIQUES FOR SEASONALITY
• Seasonal variations
• Regularly repeating movements in series values that can
be tied to recurring events
• Seasonal relative
• Percentage of average or trend
• Centered moving average
• A moving average positioned at the center of the data that
were used to compute it
© McGraw-Hill Education
SEASONAL RELATIVES
• Using seasonal relatives
• To deseasonalize data
• Done in order to get a clearer picture of the nonseasonal (e.g.,
trend) components of the data series
• Divide each data point by its seasonal relative
© McGraw-Hill Education
Seasonal Relatives
The seasonal percentage used in the multiplicative
seasonally adjusted forecasting model; seasonal indices
Ways of Using Seasonal Relatives
1. To deseasonalize data
Done to get a clearer picture of the non seasonal
(e.g., trend) components of the data series
Divide each data point by its seasonal relative
Seasonal
Month t Ft=402 + 3t
Relative
Jan. 12 438
Feb. 13 441
March 14 444
April 15 447
Seasonal
Month t Ft
Relative
Jan. 1.2 12 402 + 3(12) = 438
Feb. 1.3 13 402 + 3(13) = 441
March 1.3 14 402 + 3(14) = 444
April 1.1 15 402 + 3(15) = 447
3-66
© McGraw-Hill Education
Example 5 (Computing seasonal relatives)
Given the seasons (in days) for every quarter of Years 1 to 3.
Compute the seasonal relatives for each quarter using the SA
method. Step 1: Step 3:
Quarter
Quarter Year 1 Year 2 Year 3 Quarter Average
Relative
=Mean(20, 23,
1 20 23 17
17)
2 10 12 8
3 25 19 22
4 28 26 30
Mean of Quarter
Step 2: Get the average
Averages.
© McGraw-Hill Education. 3-67
Example 5: Answer
Given the seasons (in days) for every quarter of Years 1 to 3.
Compute the seasonal relatives for each quarter using the SA
method. Step 1: Step 3:
Quarter
Quarter Year 1 Year 2 Year 3 Quarter Average
Relative
1 20 23 17 20 20/20 = 1.00
2 10 12 8 10 10/20 = 0.50
3 25 19 22 22 22/20 = 1.10
4 28 26 30 28 28/20 = 1.40
Mean 80/4 = 20
Step 2: Get the average of
Quarter Averages.
© McGraw-Hill Education. 3-68
TECHNIQUES FOR CYCLES
• Cycles are similar to seasonal variations but are of
longer duration
• Explanatory approach
• Search for another variable that relates to, and leads, the variable
of interest
• Housing starts precede demand for products and services
directly related to construction of new homes
• If a high correlation can be established with a leading variable,
an equation can be developed that describes the relationship,
enabling forecasts to be made
© McGraw-Hill Education
FORECAST ACCURACY AND
CONTROL
Forecast errors should be monitored
• Error = Actual – Forecast
• If errors fall beyond acceptable bounds,
corrective action may be necessary
• Positive error- forecast is too low
• Negative error-forecast is too high
© McGraw-Hill Education
FORECAST ACCURACY METRICS
MAD
Actual t Forecast t MAD weights all errors
evenly
n
Actual t Forecast t
2
MSE weights errors according to
MSE their squared values
n 1
Actual t Forecast t
Actual t
100 MAPE weights errors according
MAPE to relative error
n
© McGraw-Hill Education
FORECAST ACCURACY METRICS
FORECAST 1 FORECAST 2
QUARTERS
ACTUAL FORECAST ACTUAL FORECAST
First Quarter 10 10 10 9
Second Quarter 12 11 12 12
Third Quarter 11 9 11 9
Fourth Quarter 14 15 14 12
Actualt Forecast t
2
MAD
Actualt Forecast t
MSE
Actual t Forecast t Actualt
100
n n 1 MAPE
n
© McGraw-Hill Education
Monitoring the Forecast
• Tracking and analyzing forecast errors can provide useful
insight into whether forecasts perform satisfactorily.
• Possible Sources of forecast errors:
1. The model may be inadequate due to the omission of an
important variable, a change or shift in the variable the model
cannot handle, or the appearance of a new variable
2. Irregular variations may occur due to severe weather or
other natural phenomena, temporary shortages or
breakdowns, catastrophes, or similar events.
3. Randomness or the inherent variation that remains in the
data after all causes or variations have been accounted for.
© McGraw-Hill Education
Plot the errors on the chart.
An error above
the UCL.
e forecast error, 7.3448, is beyond the control limits. Hence, the forecast was not “in con
forecast error exceeded 2 standard deviations above the control limit.
© McGraw-Hill Education
Tracking Signals
This method relates the cumulative forecast error to the
average absolute error (MAE or MAD). The intent is to
detect any bias in errors over time. The tracking signal is
computed period by period using the formula:
© McGraw-Hill Education
End of presentation