Professional Documents
Culture Documents
POMG2710
Chapter (3) Forecasting
CHAPTER OUTLINE
What is Forecasting
Types of Forecasting Models
Time series Forecasting Models
Measures of Forecast Accuracy
2
Forecast
To forecast = To predict (or estimate)
Forecast: a statement about the future value of a variable of interest (e.g. weather,
demand, resource availability, .. etc.)
Forecast – Cont.
Two aspects of forecasts are important:
1. Expected level of demand
(can be a function of some structural variation: e.g. Trend or seasonal variation).
2. Forecast accuracy
(isa function of the ability of the forecasters to correctly model demand, random
variation, and sometimes unforeseen events).
Forecasts rarely perfect because of randomness
Main purpose of forecasting
Reduce uncertainty
Better estimates of what would happen in the future
Subjective methods
Seat-of-the pants methods, intuition, experience
More formal quantitative and qualitative techniques
4
Features Common to All Forecasts
Video: http://www.youtube.com/watch?v=kKm8noEnl5w
5
Meaning To express the forecast results in meaningful units (e.g. RO, production
ful Units units, machines) so that all concerns have similar understanding
Written Increase the likelihood that all concerns are using the same information
Forecasting Models
Forecasting is Art and Science!!!
Forecasting
Qualitative Quantitative Techniques Techniques
Techniques
Permit the inclusion of Involve either the Qualitative Time-Series Causal
soft information (e.g. projection of historical data Models Methods Methods
Human factors, or the development of
Personal opinions, associative methods that Delphi Naive
Hunches) attempt to use causal Methods
variables to make a forecast Moving
Jury of
Executive Average
These factors are These techniques rely on
difficult, or impossible, hard data Opinion Weighted
to quantify Sales Force Moving Average
Composite
Associative models: uses explanatory variables to Exponential
predict the future (e.g. demand for paint might be Consumer Smoothing
related to variables such as, price and advertising Market Survey
expenditure, as well as to specific characteristics of Time series: uses
historical data
the paint (e.g. drying time, ease of cleanup). Judgmental: uses assuming the future
subjective inputs
will be like the past
8
Forecasting Models
Qualitative Models
Incorporate judgmental or subjective factors (e.g. opinion, experience, best guesses
Usefulwhen subjective factors are important or accurate quantitative data is difficult to obtain
Help managers to evaluate trends and causal relationships
Forecasting Models
Time-Series Models
Time-series - a time-ordered sequence of observations taken at regular time intervals (e.g. hourly,
daily, .. etc.)
Assume that future values of the time-series can be estimated from past values of the time-
series – Thus:
Predict the future based on the past
Analysis of time-series data requires the analyst to identify the underlying behavior of the
series Plot the data over time.
Possible patterns: trends, seasonal variation, cycles, or variation around the average.
10
Forecasting Models Trend (T): A long-
term, gradual upward
Four possible components or downward
movement in data
11
– Measure of accuracy
MAD
actual - forecast error
MAPE
actual
n 100%
n
Mean squared error
Bias is the average error
MSE
(error) 2
n 1
13
Measures of Forecast Accuracy
TABLE 5.1 – Computing the Mean Absolute Deviation (MAD)
ACTUAL
SALES OF ABSOLUTE VALUE OF
WIRELESS FORECAST ERRORS (DEVIATION),
YEAR SPEAKERS SALES (ACTUAL – FORECAST)
1 110 —
2 100 110
3 120 100 • Forecast based on naïve model
4 140 120 • No attempt to adjust for time
5 170 140 series components
6 150 170
7 160 150
8 190 160
9 200 190
10 190 200
11 — 190
14
16
Exponential smoothing
17
Time Series Forecasting- Naïve Methods
Naïve methods: uses a single previous value of a time series as the basis for a forecast
Can be used when
The time series is stable Example: suppose the demand of a product in last month
There is a trend is 100 units, what is the forecasted demand of this month?
There is seasonality
18
Moving Averages
Used when demand is relatively steady over time
Thenext forecast is the average of the most recent n
data values from the time series
Smooths out short-term irregularities in the data series
19
Moving Averages
Advantages Disadvantages
o Easy to compute o All values in the average are weighted equally – oldest
o Easy to understand value has the same weight as the recent value.
o If the change occurs in the series, this technique can be
slow to react
20
Moving Averages
MONTH ACTUAL 3-MONTH MOVING
SHED AVERAGE
SALES
Example 2 : Wallace January 10
Garden Supply wants to February 12
forecast demand for its March 13
Storage Shed April 16 (10 + 12 + 13)/3 = 11.67
Collected data for the past year May 19 (12 + 13 + 16)/3 = 13.67
Use a three-month moving average June 23 (13 + 16 + 19)/3 = 16.00
(n = 3) July 26 (16 + 19 + 23)/3 = 19.33
August 30 (19 + 23 + 26)/3 = 22.67
September 28 (23 + 26 + 30)/3 = 26.33
October 18 (26 + 30 + 28)/3 = 28.00
November 16 (30 + 28 + 18)/3 = 25.33
December 14 (28 + 18 + 16)/3 = 20.67
Advantages Disadvantages
22
New forecast =Last period’s forecast+ (Last period’s actual demand – Last period’s forecast)
The idea is simple – the new estimate is the old estimate plus some fraction of the error in the last period
Ft Ft1 ( At1 Ft1 ) Advantages Disadvantages
where
Ft Forecast for period t o One of the most o Selecting a smoothing
widely used forecasting constant is a matter of
Ft 1 Forecast for the previous period judgment or trial and
techniques
= Smoothing constant (i.e. percentage of the forecast error) o Ease of calculation error (but commonly
At 1 Actual demand or sales from the previous period o Ease of use between 0.05 and 0.5).
24
25
Exponential Smoothing Example2
In January, February’s demand for a certain car model was predicted to be 142
Actual February demand was 153 autos
Using a smoothing constant of = 0.20, what is the forecast for March?
26
Selecting the appropriate value for alpha is key to obtaining a good forecast
The objective is always to generate an accurate forecast
The general approach is to develop trial forecasts with different values of alpha and
select the alpha that results in the lowest MAD
27
Example 2 Port of Baltimore Example
TABLE 5.4 – Exponential Smoothing Forecast for = 0.1 and = 0.5
ACTUAL FORECAST
TONNAGE FORECAST USING
QUARTER UNLOADED USING = 0.10 = 0.50
1 180 175 175
2 168 175.5 = 175.00 + 0.10(180 – 175) 177.5
3 159 174.75 = 175.50 + 0.10(168 – 175.50) 172.75
4 175 173.18 = 174.75 + 0.10(159 – 174.75) 165.88
5 190 173.36 = 173.18 + 0.10(175 – 173.18) 170.44
6 205 175.02 = 173.36 + 0.10(190 – 173.36) 180.22
7 180 178.02 = 175.02 + 0.10(205 – 175.02) 192.61
8 182 178.22 = 178.02 + 0.10(180 – 178.02) 186.30
9 ? 178.60 = 178.22 + 0.10(182 – 178.22) 184.15
28
29 Best choice
PM Computer: Moving Average Example
PM Computer assembles customized personal
computers from generic parts. The owners
purchase generic computer parts in volume at a Period month actual demand
discount from a variety of sources whenever they 1 Jan 37
see a good deal. It is important that they develop a 2 Feb 40
good forecast of demand for their computers so 3 Mar 41
they can purchase component parts efficiently. 4 Apr 37
5 May 45
Compute a 2-month moving average
6 June 50
Compute a 3-month weighted average using 7 July 43
weights of 4,2,1 for the past three months of 8 Aug 47
data 9 Sept 56
Compute an exponential smoothing forecast
using alpha = 0.7
Using MAD, what forecast is most accurate?
30
60
d. Start with period 2. Use the data in period 1 as the forecast for period 2, and then use exponential smoothing
for successive forecasts.
31
1. Given your answers to the solved example (1), compare the error performance using MAD, MSE, and
MAPE.
2. Which of the forecasting techniques is better? Justify your answer.
No. 2 National Scan, Inc., sells radio frequency inventory tags. Monthly sales for a seven-month period were
4) An electrical contractor's records during the last five weeks indicate the number of job requests:
Predict the number of requests for week 6 using each of these methods:
Naive.
A four-period moving average.
Exponential smoothing with α = .30. Use 20 for week 2 forecast.
33
Exercise
Consider the following data:
1. Plot the time series and comment on the pattern.
2. Using naïve approach, provide the forecasted sales of auto battery for
next January.
3. Compute the forecasted sales for the corresponding months using: (a) 2-
moving average, (b) 3-moving average, and (c) 4-moving average. Plot all
values, which forecast is better?
4. Using a weighted moving average (weights are 0.4 most recent, 0.4, and 0.2),
what is the forecast for next Jan? If weights are changed to 0.5 most recent,
0.3, and 0.2, would the forecast improve?
5. In exponential smoothing, decide which of the following smoothing
constants provide better forecast: 0.3, 0.4, 0.5.
6. How can you find the optimal smoothing constant value that provides
the lowest amount of error?
36