Professional Documents
Culture Documents
Forecasting
Introduction
Managers are always trying to reduce
uncertainty and make better estimates of what will happen in the future This is the main purpose of forecasting Some firms use subjective methods Seat-of-the pants methods, intuition, experience There are also several quantitative techniques Moving averages, exponential smoothing, trend projections, least squares regression analysis
52
Introduction
Eight steps to forecasting :
1. Determine the use of the forecastwhat objective are we trying to obtain? 2. Select the items or quantities that are to be forecasted 3. Determine the time horizon of the forecast 4. Select the forecasting model or models 5. Gather the data needed to make the forecast 6. Validate the forecasting model 7. Make the forecast 8. Implement the results
2009 Prentice-Hall, Inc. 53
Introduction
These steps are a systematic way of initiating,
designing, and implementing a forecasting system When used regularly over time, data is collected routinely and calculations performed automatically There is seldom one superior forecasting system Different organizations may use different techniques Whatever tool works best for a firm is the one they should use
2009 Prentice-Hall, Inc. 54
Forecasting Models
Forecasting Techniques Qualitative Models Delphi Methods Jury of Executive Opinion Sales Force Composite Consumer Market Survey
Time-Series Methods
Moving Average Exponential Smoothing Trend Projections
Causal Methods
Regression Analysis Multiple Regression
Time-Series Models
Time-series models attempt to predict
Causal Models
Causal models use variables or factors
that might influence the quantity being forecasted The objective is to build a model with the best statistical relationship between the variable being forecast and the independent variables Regression analysis is the most common technique used in causal modeling
2009 Prentice-Hall, Inc. 57
Qualitative Models
Qualitative models incorporate judgmental
or subjective factors Useful when subjective factors are thought to be important or when accurate quantitative data is difficult to obtain Common qualitative techniques are
Delphi method Jury of executive opinion Sales force composite Consumer market surveys
58
Qualitative Models
Delphi Method an iterative group process where
(possibly geographically dispersed) respondents provide input to decision makers Jury of Executive Opinion collects opinions of a small group of high-level managers, possibly using statistical models for analysis Sales Force Composite individual salespersons estimate the sales in their region and the data is compiled at a district or national level Consumer Market Survey input is solicited from customers or potential customers regarding their purchasing plans
2009 Prentice-Hall, Inc. 59
Scatter Diagrams
Scatter diagrams are helpful when forecasting time-series data because they depict the relationship between variables.
450 400 350 300 250 200 150 100 50 0 0 2 4 6 Time (Years) 8
Annual Sales
Televisions
10
12
5 10
Scatter Diagrams
Wacker Distributors wants to forecast sales for
TELEVISION SETS
250 250 250 250 250 250 250 250 250 250
RADIOS
300 310 320 330 340 350 360 370 380 390
Scatter Diagrams
(a)
Annual Sales of Televisions 330
Sales appear to be
250
200 150 100 50
| | | | | | | | | |
constant over time Sales = 250 A good estimate of sales in year 11 is 250 televisions
0 1 2 3 4 5 6 7 8 9 10
Time (Years)
Figure 5.2
2009 Prentice-Hall, Inc. 5 12
Scatter Diagrams
(b)
Annual Sales of Radios 420 400
Sales appear to be
380
360 340 320
300 280
| |
0 1 2 3 4 5 6 7 8 9 10
increasing at a constant rate of 10 radios per year Sales = 290 + 10(Year) A reasonable estimate of sales in year 11 is 400 televisions
Time (Years)
Figure 5.2
2009 Prentice-Hall, Inc. 5 13
Scatter Diagrams
This trend line may
Annual Sales of CD Players
(c)
0 1 2 3 4 5 6 7 8 9 10
not be perfectly accurate because of variation from year to year Sales appear to be increasing A forecast would probably be a larger figure each year
Time (Years)
Figure 5.2
2009 Prentice-Hall, Inc. 5 14
to see how well one model works or to compare models Forecast error = Actual value Forecast value
One measure of accuracy is the mean absolute
deviation (MAD)
forecast error MAD n
5 15
6
7 8 9 10 11
150
160 190 200 190
170
150 160 190 200 190
|150 170| = 20
|160 150| = 10 |190 160| = 30 |200 190| = 10 |190 200| = 10 Sum of |errors| = 160 MAD = 160/9 = 17.8
Table 5.2
5 16
170
|150 170| = 20
|160 150| = 10 |190 160| = 30 |200 190| = 10 |190 200| = 10 Sum of |errors| = 160 MAD = 160/9 = 17.8
Table 5.2
5 17
forecast tends to be too high or too low and by how much. Thus, it can be negative or positive.
2009 Prentice-Hall, Inc. 5 18
Year 1 2 3 4 5 6 7 8 9 10 11
Actual CD Sales 110 100 120 140 170 150 160 190 200 190
Forecast Sales 110 100 120 140 170 150 160 190 200 190
|Actual -Forecast| 10 20 20 30 20 10 30 10 10
160 17.8
5 19
MAR
APR MAY JUN JUL AUG SEP
275
260 250 275 300 325 320
286
256 241 298 292 333 326
11
4 9 23 8 8 6
121
16 81 529 64 64 36
0.04
0.02 0.04 0.08 0.03 0.02 0.02
OCT
NOV DEC AVERAGE
350
365 380
378
382 396 MAD= 11.83
28
17 16 MSE= 192.83
784
289 256 MAPE= .0381*100 = 3.81
0.07
0.04 0.04
5 21
spaced events (weekly, monthly, quarterly, etc.) Time-series forecasts predict the future based solely of the past values of the variable Other variables, no matter how potentially valuable, are ignored
5 22
Decomposition of a Time-Series
A time series typically has four components
1. Trend (T) is the gradual upward or downward movement of the data over time 2. Seasonality (S) is a pattern of demand fluctuations above or below trend line that repeats at regular intervals 3. Cycles (C) are patterns in annual data that occur every several years 4. Random variations (R) are blips in the data caused by chance and unusual situations
5 23
Decomposition of a Time-Series
Demand for Product or Service
Trend Component Seasonal Peaks Actual Demand Line Average Demand over 4 Years
Year 2
Time
Year 3
Year 4
5 24
Decomposition of a Time-Series
There are two general forms of time-series
Demand = T + S + C + R
Models may be combinations of these two
forms Forecasters often assume errors are normally distributed with a mean of zero
2009 Prentice-Hall, Inc. 5 25
Moving Averages
Moving averages can be 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 The most recent period of data is added and the oldest is dropped
This methods tends to smooth out short-term
Moving Averages
Mathematically
Ft 1
Yt Yt 1 ... Yt n1 n
where
Ft 1 = forecast for time period t + 1 Yt = actual value in time period t n = number of periods to average
5 27
forecast demand for its Storage Shed They have collected data for the past year They are using a three-month moving average to forecast demand (n = 3)
5 28
February
March April May June July August September October November December January Table 5.3
12
13 16 19 23 26 30 28 18 16 14 (10 + 12 + 13)/3 = 11.67 (12 + 13 + 16)/3 = 13.67 (13 + 16 + 19)/3 = 16.00
5 29
more emphasis on recent periods Often used when a trend or other pattern is emerging
Ft 1 ( Weight in period i )( Actual value in period) ( Weights)
Mathematically
effective in smoothing out fluctuations in the demand pattern in order to provide stable estimates Problems
Increasing the size of n smoothes out
fluctuations better, but makes the method less sensitive to real changes in the data Moving averages can not pick up trends very well they will always stay within past levels and not predict a change to a higher or lower level
2009 Prentice-Hall, Inc. 5 31
weighted moving average model to forecast demand for its Storage Shed They decide on the following weighting scheme
WEIGHTS APPLIED
3 2 1 6 Sum of the weights
2009 Prentice-Hall, Inc. 5 32
PERIOD
Last month Two months ago Three months ago
3 x Sales last month + 2 x Sales two months ago + 1 X Sales three months ago
July
August September October November
26
30 28 18 16
December
January Table 5.4
14
Program 5.1A
2009 Prentice-Hall, Inc. 5 34
Program 5.1B
2009 Prentice-Hall, Inc. 5 35
Exponential Smoothing
Exponential smoothing is easy to use and
requires little record keeping of data It is a type of moving average New forecast = Last periods forecast + (Last periods actual demand Last periods forecast)
Where is a weight (or smoothing constant) with a value between 0 and 1 inclusive
A larger gives more importance to recent data while a smaller value gives more importance to past data 2009 Prentice-Hall, Inc.
5 36
Exponential Smoothing
Mathematically
Ft 1 Ft (Yt Ft )
where
Ft+1 = new forecast (for time period t + 1) Ft = pervious forecast (for time period t) = smoothing constant (0 1) Yt = pervious periods actual demand
old estimate plus some fraction of the error in the last period
2009 Prentice-Hall, Inc. 5 37
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?
New forecast (for March demand) = 142 + 0.2(153 142) = 144.2 or 144 autos
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 and select the that results in the lowest MAD
5 39
QUARTER
1 2 3 4 5 6 7
FORECAST USING =0.50 175 177.5 172.75 165.88 170.44 180.22 192.61
8
9 Table 5.5
182
?
186.30
184.15
5 40
FORECAST WITH = 0.10 175 175.5 174.75 173.18 173.36 175.02 178.02 178.22 |deviations| n
FORECAST WITH = 0.50 175 177.5 172.75 165.88 170.44 180.22 192.61 186.30
MAD =
12.33
Table 5.6
Best choice
2009 Prentice-Hall, Inc. 5 41
Program 5.2A
2009 Prentice-Hall, Inc. 5 42
Program 5.2B
2009 Prentice-Hall, Inc. 5 43
forecast of demand for their computers so they can purchase component parts efficiently.
2009 Prentice-Hall, Inc. 5 44
PM Computers: Data
Period Month Actual Demand 1 Jan 37 2 Feb 40 3 Mar 41 4 Apr 37 5 May 45 6 June 50 7 July 43 8 Aug 47 9 Sept 56 Compute a 2-month moving average
Compute a 3-month weighted average using weights of 4,2,1 for the past three months of data Compute an exponential smoothing forecast using = 0.7, previous forecast of 40 Using MAD, what forecast is most accurate? 2009 Prentice-Hall, Inc. 5 45
MAD
smoothing does not respond to trends A more complex model can be used that adjusts for trends The basic approach is to develop an exponential smoothing forecast then adjust it for the trend Forecast including trend (FITt) = New forecast (Ft) + Trend correction (Tt)
5 47
Tt 1 (1 )Tt ( Ft 1 Ft )
where Tt+1 = Tt = = Ft+1 = smoothed trend for period t + 1 smoothed trend for preceding period trend smooth constant that we select simple exponential smoothed forecast for period t + 1 Ft = forecast for pervious period
2009 Prentice-Hall, Inc. 5 48
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 generally selected using a trial-anderror approach based on the value of the MAD for different values of Simple exponential smoothing is often referred to as first-order smoothing Trend-adjusted smoothing is called second-order, double smoothing, or Holts method
2009 Prentice-Hall, Inc. 5 49
Trend Projection
Trend projection fits a trend line to a
series of historical data points The line is projected into the future for medium- to long-range forecasts Several trend equations can be developed based on exponential or quadratic models The simplest is a linear model developed using regression analysis
5 50
Trend Projection
Trend projections are used to forecast time-
equation in which the independent variable (X) is the time period Least squares may be used to determine a trend projection for future forecasts.
Least squares determines the trend line forecast by
minimizing the mean squared error between the trend line forecasts and the actual observed values.
and the dependent variable is the actual observed value in the time series.
2009 Prentice-Hall, Inc. 5 51
Trend Projection
The mathematical form is
b0 b1 X Y
where = predicted value Y b0 = intercept b1 = slope of the line X = time period (i.e., X = 1, 2, 3, , n)
5 52
Trend Projection
Dist7
Dist5
* *
Dist6
*
Dist1
Dist3 Dist4
Dist2
Time
Figure 5.4
2009 Prentice-Hall, Inc. 5 53
experienced the following demand for its electrical generators over the period of 2001 2007
YEAR 2001 2002 2003 2004 2005 2006 2007 ELECTRICAL GENERATORS SOLD 74 79 80 90 105 142 122
Table 5.7
2009 Prentice-Hall, Inc. 5 54
Program 5.3A
2009 Prentice-Hall, Inc. 5 55
r2 says model predicts about 80% of the variability in demand Significance level for F-test indicates a definite relationship
Program 5.3B
2009 Prentice-Hall, Inc. 5 56
56.71 10.54 X Y
To project demand for 2008, we use the coding
system to define X = 8
(sales in 2008) = 56.71 + 10.54(8) = 141.03, or 141 generators
Likewise for X = 9
Actual Demand Line Trend Line 56.71 10.54 X Y
100
90 80 70 60
50
| | | | | | | | |
Figure 5.5
2001 2002 2003 2004 2005 2006 2007 2008 2009 Year
2009 Prentice-Hall, Inc. 5 58
Program 5.4A
2009 Prentice-Hall, Inc. 5 59
Program 5.4B
2009 Prentice-Hall, Inc. 5 60
Seasonal Variations
Recurring variations over time may
indicate the need for seasonal adjustments in the trend line A seasonal index indicates how a particular season compares with an average season When no trend is present, the seasonal index can be found by dividing the average value for a particular season by the average of all the data
5 61
Seasonal Variations
Eichler Supplies sells telephone
answering machines Data has been collected for the past two years sales of one particular model They want to create a forecast that includes seasonality
5 62
Seasonal Variations
SALES DEMAND MONTH January February March April May YEAR 1 80 85 80 110 115 YEAR 2 100 75 90 90 131 AVERAGE TWOYEAR DEMAND 90 80 85 100 123 MONTHLY DEMAND 94 94 94 94 94 AVERAGE SEASONAL INDEX 0.957 0.851 0.904 1.064 1.309
June
July August September October November December
120
100 110 85 75 85 80
110
110 90 95 85 75 80 1,128 = 94 12 months
115
105 100 90 80 80 80
94
94 94 94 94 94 94
1.223
1.117 1.064 0.957 0.851 0.851 0.851
Table 5.8
Seasonal Variations
The calculations for the seasonal indices are
Jan.
Feb. Mar. Apr. May
1,200 0.957 96 12 1,200 0.851 85 12 1,200 0.904 90 12 1,200 1.064 106 12 1,200 1.309 131 12 1,200 1.223 122 12 1,200 1.117 112 12 1,200 1.064 106 12 1,200 0.957 96 12 1,200 0.851 85 12 1,200 0.851 85 12 1,200 0.851 85 12
2009 Prentice-Hall, Inc. 5 64
July
Aug. Sept. Oct. Nov.
June
Dec.
seasons
a b1 X 1 b2 X 2 b3 X 3 b4 X 4 Y
where X1 X2 X3 X4 = time period = 1 if quarter 2, 0 otherwise = 1 if quarter 3, 0 otherwise = 1 if quarter 4, 0 otherwise
2009 Prentice-Hall, Inc. 5 65
Program 5.6A
2009 Prentice-Hall, Inc. 5 66
using the multiplicative decomposition method Use MAD and MSE to determine the best model
2009 Prentice-Hall, Inc. 5 68
system used only time-series methods to forecast the demand for spare parts
This method was slow to responds to even moderate
which uses linear regression to establish a relationship between monthly part removals and various functions of monthly flying hours
The computation now takes only one hour instead of
the days the old system needed Using RAPS provided a one time savings of $7 million and a recurring annual savings of nearly $1 million
2009 Prentice-Hall, Inc. 5 69
the performance of a forecast Tacking signals are computed using the following equation
RSFE Tracking signal MAD
where
forecast error MAD n
5 70
Acceptable Range
Time
Figure 5.7
2009 Prentice-Hall, Inc. 5 71
greater than forecast Negative tracking signals indicate demand is less than forecast Some variation is expected, but a good forecast will have about as much positive error as negative error Problems are indicated when the signal trips either the upper or lower predetermined limits This indicates there has been an unacceptable amount of variation Limits should be reasonable and may vary from item to item
2009 Prentice-Hall, Inc. 5 72
limits?
Too small a value will trip the signal too often and
high volume stock items and 8 MADs for lower volume items
One MAD is equivalent to approximately 0.8
are expected to fall within 2 MADs, 98% with 3 MADs or 99.9% within 4 MADs whenever the errors are approximately normally distributed
2009 Prentice-Hall, Inc. 5 73
1 2 3 4 5 6
10 15 0 10 +5 +35
10 5 15 10 15 30
10 15 30 40 55 85
1 2 0 1 +0.5 +2.5
Forecasting at Disney
The Disney chairman receives a daily
report from his main theme parks that contains only two numbers the forecast of yesterdays attendance at the parks and the actual attendance
An error close to zero (using MAPE as the
measure) is expected
The annual forecast of total volume
5 75
medium-sized forecasting problems More advanced programs (SAS, SPSS, Minitab) handle time-series and causal models May automatically select best model parameters Dedicated forecasting packages may be fully automatic May be integrated with inventory planning and control
2009 Prentice-Hall, Inc. 5 76