Forecasting 2
Forecasting 2
Dr. N. S. Mugadur
Assistant Professor
Department of Economics
Karnatak University Dharwad
Objectives
Predicted
demand
looking
Time back six
Jan Feb Mar Apr May Jun Jul Aug months
• It should be timely
• It should be as accurate as possible
• It should be reliable
• It should be in meaningful units
• It should be presented in writing
• The method should be easy to use and
understand in most cases.
Key issues in forecasting
• Trends
• Seasonality
• Cyclical elements
• Autocorrelation
• Random variation
Some Important Questions
Delphi
Naive
Method
Moving
Jury of Executive
Average
Opinion
Weighted
Sales Force
Moving Average
Composite
Exponential
Consumer Market
Smoothing
Survey
Trend Analysis
Causal
Methods
Seasonality
Simple Analysis
Regression
Analysis Multiplicative
Decomposition
Multiple
Regression
Analysis
Qualitative Forecasting Methods
• Delphi method
Iterative group process allows experts to make forecasts
Participants:
decision makers: 5 -10 experts who make the forecast
staff personnel: assist by preparing, distributing, collecting, and
summarizing a series of questionnaires and survey results
respondents: group with valued judgments who provide input to decision
makers
• Jury of executive opinion
–Opinions of a small group of high level managers, often in combination with
statistical models.
– Result is a group estimate.
• Sales force composite
–Each salesperson estimates sales in his region.
–Forecasts are reviewed to ensure realistic.
–Combined at higher levels to reach an overall forecast.
• Consumer market survey.
–Solicits input from customers and potential customers regarding future
purchases.
–Used for forecasts and product design & planning
Qualitative forecasting methods
Grass Roots: deriving future demand by asking the person closest to
the customer.
Market Research: trying to identify customer habits; new product
ideas.
Panel Consensus: deriving future estimations from the synergy of a
panel of experts in the area.
Historical Analogy: identifying another similar market.
Delphi Method: similar to the panel consensus but with concealed
identities.
1. Data availability
2. Time horizon for the forecast
3. Required accuracy
4. Required Resources
Time Series: Naïve
– Naïve
• Whatever happened
recently will happen again
this time (same time
period) Ft Yt 1
• The model is simple and
flexible
• Provides a baseline to
measure other models Ft Yt 4 : Quarterly data
• Attempts to capture
seasonal factors at the Ft Yt 12 : Monthly data
expense of ignoring trend
Time Series: Moving average
At + At-1 + … + At-n
Ft+1 =
n
Month Bottles
Jan 1,325
Feb 1,353 What will
Mar 1,305 the sales
Apr 1,275 be for
May 1,210
July?
Jun 1,195
Jul ?
What if we use a 3-month simple moving average?
What do we observe?
wt + wt-1 + … + wt-n = 1
For a 6-month
SMA, attributing
equal weights to all
past data we miss
Time the downward trend
Jan Feb Mar Apr May Jun Jul Aug
Example: Kroger sales of bottled water
Month Bottles
Jan 1,325
Feb 1,353 What will
Mar 1,305 be the
sales for
Apr 1,275
July?
May 1,210
Jun 1,195
Jul ?
6-month simple moving average…
Make the weights for the last three months more than the first
three months…
July
1,277 1,267 1,257 1,247
Forecast
Smoothi
ng Denotes the importance
constant of the past error
alpha α
Why use exponential smoothing?
Jun ? 1,309
Example: bottled water at Kroger
Jun ? 1,225
Impact of the smoothing constant
1380
1360
1340
1320 Actual
1300
a = 0.2
1280
1260 a = 0.8
1240
1220
1200
0 1 2 3 4 5 6 7
Summary of Moving Averages
Advantages of Moving Average Method
Easily understood
Easily computed
Provides stable forecasts
• Differences
– ES carries all past history (forever!)
– MA eliminates “bad” data after N periods
– MA requires all N past data points to compute new forecast
estimate while ES only requires last forecast and last
observation of ‘demand’ to continue
Trend Analysis
What do you think will happen to a moving average or
exponential smoothing model when there is a trend in the
data?
Impact of trend
Sales
Actual
Regular exponential
Data smoothing will always
Forecast lag behind the trend.
Can we include trend
analysis in exponential
smoothing?
Month
Trend Analysis
Trend is the long-term sweep or general direction of movement
in a time series.
We’ll now consider some nonstationary time series techniques
that are appropriate for data exhibiting upward or downward
trends.
Seasonality Analysis
adjustment to time series data due to variations at certain periods.
adjust with seasonal index – ratio of average value of the item in a
season to the overall annual average value.
example: demand for coal & fuel oil in winter months.
Linear Regression in Forecasting
Alcohol Sales
Average Monthly
Temperature
The best line is the one that minimizes the error
Y^ a bX
Min i
2
What does that mean?
Alcohol Sales ε ε
ε
So LSM tries to
minimize the distance
between the line and
the points!
Average Monthly
Temperature
Least Squares Method of Linear Regression
Y a bX
a y bx
b
xy nx y
x nx
2 2
How can we compare across forecasting models?
100 n Yi Ŷi
Mean Absolute Percent Error, MAPE =
n i 1 Yi
Mean Square Error,
MSE =
n
Yi Y
i
2
i 1 n
Root Mean Square Error. RMSE MSE
• We will focus on MSE.
Theil’s Inequality Coefficient (U)
RMSE("new" model)
U=
RMSE("no change" model)
A t Ft
MFE i 1
n
n
Yi Y
MAD = i 1 n
i