Forecasting Slides
Forecasting Slides
Sushil K. Gupta
Florida International University
Miami, Florida
1
After reading these power point slides,
you should be able to:
Describe the importance of forecasting
Explain various components of a time series
Choose an appropriate forecasting model
Perform regression analysis
Identify cause-effect relationships
Analyze and evaluate forecasting errors
Use the DELPHI method
Pool information for multiple forecasts
Describe product life cycle stages
2
Introduction
Forecasts of the demand for products and services are
business essentials.
Examples include:
opatients in a hospital
ostudents in a college
ocustomers in a grocery store
ocars to be manufactured etc.
3
Introduction (continued)
Demand forecasts set the agenda for how the entire
company will:
4
Introduction (continued)
The Rivet and Nail Factory has to forecast sales of
products to develop departmental schedules for the next
production period.
5
Introduction (continued)
Forecasts provide information to coordinate demands
for products and services with supplies of resources that
are required to meet the demands.
6
Introduction (continued)
Modify forecasts to influence the future rather than just
accepting forecasts as inevitable truths.
7
Introduction (continued)
How well can one forecast the future?
8
Introduction (continued)
Mathematical equations are used for forecasting.
Equations do not make forecasts “the truth.”
Good forecasting can be done without mathematics.
Further, with or without mathematics, no forecast is
ever guaranteed.
9
Time Series and Extrapolation
A time series is a stream of data (e.g., demand).
10
Time Series and Extrapolation continued
orandom variations
oincreasing or decreasing trend
oseasonal variations
11
Time Series (Random Variations)
o There are no specific assignable causes for
random variations.
o Values are a result of the economic environment
and the market place.
12
Time Series (Random Variations
and Increasing Trend)
There is a constant rate of change (increasing values) as
time goes by.
13
Time Series (Random Variations and
Decreasing Trend)
There is a constant rate of change (decreasing values) as
time goes by.
14
Time Series (Random Variations and
Seasonal Variations)
o Seasonal (cyclical) variations may also be present.
o Examples: demand for resort hotels & home heating
oil.
15
Time Series (Random Variations, Seasonal Variations
and Increasing Trend)
16
Forecasting Methods for Time
Series
The following techniques are discussed:
oMoving Average
oWeighted Moving Average
oExponential Smoothing
oSeasonal Forecasting
oTrend Analysis
17
Moving Average
A n-month moving average is the sum of the
observed values during the past n months
divided by n.
Moving Average Method n =3
Example:
Forecast (4) = 0.2*(Demand 1) + 0.3*(Demand 2) + 0.5*(Demand 3)
20
Exponential Smoothing
The Exponential Smoothing (ES) method forecasts
the demand for a given period t by combining the
forecast of the previous period (t-1) and the actual
demand of the previous period (t-1).
The actual demand for the previous period is given a
weight of α and the forecast of the prior period is
given a weight of (1 - α).
21
Exponential Smoothing (continued)
The equation for the forecast for period t is:
Forecast (t) = α*Actual Demand (t-1) + (1- α )*Forecast (t-1).
22
Exponential Smoothing (continued)
Example: F(3) = F(2) + α*{(A(2) – F(2)} = 100 + 0.2*(80 – 100) = 96.
alpha = 0.2
Month Sales Forecast Comment and Calculation
23
Seasonal Forecast Step 1
Quarterly demand for last four years is given in the table below.
We use a 5-step process to forecast.
Step 1: Find average quarterly demand for each quarter.
Demand
24
Seasonal Forecast Step 2
25
Seasonal Forecast Step 3
26
Seasonal Forecast Step 4
First, the yearly demand has to be estimated or calculated for next year using
one of the forecasting techniques.
Therefore, the average quarterly demand = 2,800/4 = 700. The calculations are
shown below.
27
Seasonal Forecast Step 5
28
Time Series Analysis – Trend Line
If the time series exhibits an increasing or decreasing trend
then a trend analysis is more appropriate.
A trend line defines the relationship between demand forecast
and the time period by the following equation.
Y = a + bX, where, Y is the demand forecast and X is the
time period.
X is the independent variable and Y is the dependent variable
since the demand depends on the time period.
29
Time Series Analysis – Trend Line
(continued)
30
Time Series Analysis – Trend Line
(continued)
31
Time Series Analysis – Trend Line
(continued)
32
Time Series Analysis – Trend Line
(continued)
33
Regression Analysis
Regression Analysis establishes a relationship between two
sets of numbers that are time series.
34
Regression Analysis (continued)
The regression analysis gives the relationship between X and Y
by the following equation.
Y = a + bX,
where, a is the intercept on the Y-axis
(value of the variable Y when X = 0); and b is the slope of the line which
gives the change in the value of variable Y for a unit change in the value of
X.
35
Regression Analysis (continued)
Example: Use the data given in the following table for ten-pairs of X and Y.
oThe Excel functions give b = 50.23 and a = 62.44.
oUse them in equation, Y = a + bX, to forecast.
oSuppose X = 15, then
Forecast = 62.44 + 50.23*15 = 815.84.
Observation 1 2 3 4 5 6 7 8 9 10
Number
Independent 10 12 11 9 10 12 10 13 14 12
Variable (x)
Dependent 400 600 700 500 800 700 500 700 800 600
Variable (y)
36
Regression Analysis continued
37
Regression Analysis (continued)
For any given time period, the difference between the forecast
values and the actual demand gives the error in that period.
38
Regression Analysis (continued)
An assumption that is generally made in regression analysis is
that the relationship between the correlate pairs is linear.
39
Correlation Coefficient
An important prerequisite to use regression analysis is the
existence of a causal relationship between X and Y.
40
Correlation Coefficient (continued)
When r = “–1”, X and Y are perfectly correlated going in
opposite directions. As X gets large, Y gets small, and vice
versa.
When r = 0, there is no correlation between X and Y.
When r = +1, X and Y are perfectly correlated going in the
same direction.
41
Correlation Coefficient (continued)
Scatter diagrams (shown below) are useful visual aids to intuit
whether there is a relationship between X and Y.
The r number is definitive.
r = -0.04 r = 0.97
Indicates an absence of any relationship. We should Indicates an almost perfect relationship. This time
not use regression analysis for this time series. series is a good candidate for regression analysis.
42
Coefficient of Determination
The coefficient of determination (r2), where r is the value of the
coefficient of correlation, is a measure of the variability that is
accounted for by the regression line for the dependent variable.
43
Coefficient of Determination (continued)
For example, if r = 0.8, the coefficient of determination is
r2 = 0.64 meaning that 64% of the variation in Y is due to
variation in X.
44
Error Analysis
The forecasting errors are computed as,
Error (t) = Demand (t) – Forecast (t).
Underestimate:
Demand is greater than the forecast. Error term is positive.
Overestimate:
Demand is smaller than the forecast. Error term is negative.
45
Error Analysis (continued)
The most commonly used method to measure errors is Mean
Absolute Deviation (MAD).
46
Error Analysis (continued)
Example: Consider the demand and forecast given for 10
periods in the table below.
Absolute
Period Demand Forecast Error
Error
1 212 206.0 6.0 6.0
2 224 207.0 17.0 17.0
3 220 210.0 10.0 10.0
4 211 212.0 -1.0 1.0
5 198 205.0 -7.0 7.0
6 236 209.0 27.0 27.0
7 219 224.0 -5.0 5.0
8 296 238.0 58.0 58.0
9 280 249.0 31.0 31.0
10 252 261.0 -9.0 9.0
Total 127.0 171.0
47
Error Analysis (continued)
To select a forecasting method, say exponential smoothing,
calculate the values of MAD choosing different values of α.
The value of α that minimizes MAD will be selected.
48
Product Life Cycle Stages
49
Product Life Cycle Stages (continued)
Life cycle stages provide a classification for understanding the
nature of evolving demand trends that will occur over time.
50
Product Life Cycle Stages (continued)
During the introductory phase, demand is led by the desire to
“fill the pipeline.” This means getting product into the stores
or warehouses—wherever it must be to supply the customers.
51
Product Life Cycle Stages (continued)
When the new product or service stops growing, it is
considered mature. This means—its volume is stabilized at the
saturation level for that brand. The competitors have divided
the market, and only extraordinary events, such as a strike at a
competitor’s plant, are able to shift shares and volumes.
52
The Delphi Method
events.
The experts submit their opinions to a single individual (leader of the group)
who maintains anonymity of responses.
The leader combines the opinions into a report which is disseminated to all
participants. We hope the report is fair and balanced.
The participants are asked whether they wish to reevaluate and alter their
previous opinions in the face of the body of opinion of their colleagues.
53
The Delphi Method (continued)
Gradually, the group is supposed to move toward consensus. If it does not, at
the least, a set of different possibilities can be presented to management.
The Delphi method is meant to put all participants on an equal footing with
respect to getting their ideas heard.
It is apparent that managers gain greater perspective about forces that should
be considered when they are contemplating possible outcomes. That is a
positive benefit of Delphi.
54
Thank you
55