Beruflich Dokumente
Kultur Dokumente
Sales iPods
3 1/2”
Xbox 360 Floppy
disks
Figure 2.5
Types of Forecasts
Economic forecasts
Address business cycle – inflation rate,
money supply, housing starts, etc.
Technological forecasts
Predict rate of technological progress
Impacts development of new products
Demand forecasts
Predict sales of existing products and
services
Strategic Importance of
Forecasting
Trend Cyclical
Seasonal Random
Trend Component
Persistent, overall upward or
downward pattern
Changes due to population,
technology, age, culture, etc.
Typically several years
duration
Seasonal Component
Regular pattern of up and
down fluctuations
Due to weather, customs, etc.
Occurs within a single year
Number of
Period Length Seasons
Week Day 7
Month Week 4-4.5
Month Day 28-31
Year Quarter 4
Year Month 12
Year Week 52
Cyclical Component
Repeating up and down movements
Affected by business cycle,
political, and economic factors
Multiple years duration
Often causal or
associative
relationships
0 5 10 15 20
Random Component
Erratic, unsystematic, ‘residual’
fluctuations
Due to random variation or
unforeseen events
Short duration and
nonrepeating
M T W T F
Naive Approach
Assumes demand in next
period is the same as
demand in most recent period
e.g., If January sales were 68, then
February sales will be 68
Sometimes cost effective and
efficient
Can be good starting point
Moving Average Method
MA is a series of arithmetic means
• While a naive forecast uses data from the previous
period, a moving average forecast uses a number of the
most recent actual data values
Used if little or no trend
Used often for smoothing
Provides overall impression of data over time
20 –
Actual
15 – sales
10 – Moving
average
5 –
| | | | | | | | | | | |
J F M A M J J A S O N D
Exponential Smoothing
Form of weighted moving average
Weights decline exponentially
Most recent data weighted most
Requires smoothing constant ( )
Ranges from 0 to 1
Subjectively chosen
Involves little record keeping of past
data
Exponential Smoothing
Ft = Ft – 1 + (At – 1 - Ft – 1)
Weight Assigned to
Most 2nd Most 3rd Most 4th Most 5th Most
Recent Recent Recent Recent Recent
Smoothing Period Period Period Period Period
Constant ( ) (1 - ) (1 - ) 2
(1 - ) 3
(1 - )4
200 –
Actual = .5
demand
Demand
175 –
150 – = .1
| | | | | | | | |
1 2 3 4 5 6 7 8 9
Quarter
Impact of Different
225 –
Actual = .5
Chose
200 – high values of
demand
Demand
Quarter
Choosing
The objective is to obtain the most
accurate forecast no matter the
technique
We generally do this by selecting the
model that gives us the lowest forecast
error
Forecast error = Actual demand - Forecast value
= At - Ft
Common Measures of Error
Mean Absolute Deviation (MAD)
∑ |Actual - Forecast|
MAD = n
n
∑100|Actuali - Forecasti|/Actuali
i=1
MAPE = n
Comparison of Forecast
Error
Rounded Absolute Rounded Absolute
Actual Forecast Deviation Forecast Deviation
Tonnage for for
Quarter Unloaded = .10 = .50
1 180 175 5.00 175 5.00
2 168 175.5 7.50 177.50 9.50
3 159 174.75 15.75 172.75 13.75
4 175 173.18 1.82 165.88 9.12
5 190 173.36 16.64 170.44 19.56
6 205 175.02 29.98 180.22 24.78
7 180 178.02 1.98 192.61 12.61
8 182 178.22 3.78 186.30 4.30
82.45 98.62
Comparison of Forecast
Error
∑ |deviations|
Rounded Absolute Rounded Absolute
MADActual
= n
Forecast Deviation Forecast Deviation
Tonnage with for with for
Quarter Unloaded = .10 = .10 = .50 = .50
1
For =
180
.10 175 5.00 175 5.00
2 168 = 82.45/8
175.5 = 10.31
7.50 177.50 9.50
3 159 174.75 15.75 172.75 13.75
4 For 175
= .50 173.18 1.82 165.88 9.12
5 190 173.36 16.64 170.44 19.56
6 205 = 98.62/8
175.02 = 12.33
29.98 180.22 24.78
7 180 178.02 1.98 192.61 12.61
8 182 178.22 3.78 186.30 4.30
82.45 98.62
Comparison of Forecast
Error
∑ (forecast errors) 2
Ft = (At - 1) + (1 - )(Ft - 1 + Tt - 1)
Tt = (Ft - Ft - 1) + (1 - )Tt - 1
Step 1: Compute Ft
Step 2: Compute Tt
Step 3: Calculate the forecast FITt = Ft + Tt
Exponential Smoothing with
Trend Adjustment Example
Forecast
Actual Smoothed Smoothed Including
Month(t) Demand (At) Forecast, Ft Trend, Tt Trend, FITt
1 12 11 2 13.00
2 17
3 20
4 19
5 24
6 21
7 31
8 28
9 36
10
Table 4.1
Exponential Smoothing with
Trend Adjustment Example
Forecast
Actual Smoothed Smoothed Including
Month(t) Demand (At) Forecast, Ft Trend, Tt Trend, FITt
1 12 11 2 13.00
2 17
3 20
4 19
5 24 Step 1: Forecast for Month 2
6 21 F2 = A1 + (1 - )(F1 + T1)
7 31
8 28 F2 = (.2)(12) + (1 - .2)(11 + 2)
9 36
10 = 2.4 + 10.4 = 12.8 units
Table 4.1
Exponential Smoothing with
Trend Adjustment Example
Forecast
Actual Smoothed Smoothed Including
Month(t) Demand (At) Forecast, Ft Trend, Tt Trend, FITt
1 12 11 2 13.00
2 17 12.80
3 20
4 19
5 24 Step 2: Trend for Month 2
6 21 T2 = (F2 - F1) + (1 - )T1
7 31
8 28 T2 = (.4)(12.8 - 11) + (1 - .4)(2)
9 36
10 = .72 + 1.2 = 1.92 units
Table 4.1
Exponential Smoothing with
Trend Adjustment Example
Forecast
Actual Smoothed Smoothed Including
Month(t) Demand (At) Forecast, Ft Trend, Tt Trend, FITt
1 12 11 2 13.00
2 17 12.80 1.92
3 20
4 19
5 24 Step 3: Calculate FIT for Month 2
6 21 FIT2 = F2 + T1
7 31
8 28 FIT2 = 12.8 + 1.92
9 36
10 = 14.72 units
Table 4.1
Exponential Smoothing with
Trend Adjustment Example
Forecast
Actual Smoothed Smoothed Including
Month(t) Demand (At) Forecast, Ft Trend, Tt Trend, FITt
1 12 11 2 13.00
2 17 12.80 1.92 14.72
3 20 15.18 2.10 17.28
4 19 17.82 2.32 20.14
5 24 19.91 2.23 22.14
6 21 22.51 2.38 24.89
7 31 24.11 2.07 26.18
8 28 27.14 2.45 29.59
9 36 29.28 2.32 31.60
10 32.48 2.68 35.16
Table 4.1
Exponential Smoothing with
Trend Adjustment Example
35 –
25 –
20 –
15 –
0 –
| | | | | | | | |
1 2 3 4 5 6 7 8 9
Figure 4.3
Time (month)
Trend Projections
Fitting a trend line to historical data points
to project into the medium to long-range
Linear trends can be found using the least
squares technique
y^ = a + bx
^
where y = computed value of
the variable to be predicted
(dependent variable)
a = y-axis intercept
b = slope of the regression line
x = the independent variable
Values of Dependent Variable Least Squares Method
Deviation5 Deviation6
Deviation3
Deviation4
Deviation1
(error) Deviation2
Trend line, y^ = a + bx
Deviation5 Deviation6
Deviation1
Deviation2
Trend line, y^ = a + bx
y^ = a + bx
xy - nxy
b=
x2 - nx2
a = y - bx
Least Squares Example
Time Electrical Power
Year Period (x) Demand x2 xy
2001 1 74 1 74
2002 2 79 4 158
2003 3 80 9 240
2004 4 90 16 360
2005 5 105 25 525
2005 6 142 36 852
2007 7 122 49 854
∑x = 28 ∑y = 692 ∑x2 = 140 ∑xy = 3,063
x=4 y = 98.86
∑xy - nxy 3,063 - (7)(4)(98.86)
b= = 140 - (7)(42) = 10.54
∑x2 - nx2
130 –
120 –
110 –
100 –
90 –
80 –
70 –
60 –
50 –
| | | | | | | | |
2001 2002 2003 2004 2005 2006 2007 2008 2009
Year
Seasonal Variations In Data
The multiplicative
seasonal model
can adjust trend
data for seasonal
variations in
demand
Seasonal Variations In Data
Steps in the process:
110 –
100 –
90 –
80 –
70 –
| | | | | | | | | | | |
J F M A M J J A S O N D
Time
San Diego Hospital
Trend Data
10,200 –
10,000 –
Inpatient Days
9,800 – 9745
9702
9616 9659
9,600 – 9573 9766
9530 9680 9724
9594 9637
9,400 – 9551
9,200 –
9,000 – | | | | | | | | | | | |
Jan Feb Mar Apr May June July Aug Sept Oct Nov Dec
67 68 69 70 71 72 73 74 75 76 77 78
Month
Figure 4.6
San Diego Hospital
Seasonal Indices
1.06 –
1.04 – 1.04 1.04
Index for Inpatient Days
1.03
1.02 – 1.02
1.01
1.00 – 1.00
0.99
0.98 – 0.98
0.99
0.96 –
0.97 0.97
0.94 – 0.96
0.92 – | | | | | | | | | | | |
Jan Feb Mar Apr May June July Aug Sept Oct Nov Dec
67 68 69 70 71 72 73 74 75 76 77 78
Month
Figure 4.7
Associative Forecasting
Used when changes in one or more
independent variables can be used to predict
the changes in the dependent variable
y^ = a + bx
^
where y = computed value of
the variable to be predicted
(dependent variable)
a = y-axis intercept
b = slope of the regression line
x = the independent variable
though to predict the value of the
dependent variable
Associative Forecasting
Example
Sales Local Payroll
($ millions), y ($ billions), x
2.0 1
3.0 3
2.5 4 4.0 –
2.0 2
2.0 1 3.0 –
3.5 7 Sales
2.0 –
1.0 –
| | | | | | |
0 1 2 3 4 5 6 7
Area payroll
Associative Forecasting
Example
Sales, y Payroll, x x2 xy
2.0 1 1 2.0
3.0 3 9 9.0
2.5 4 16 10.0
2.0 2 4 4.0
2.0 1 1 2.0
3.5 7 49 24.5
∑y = 15.0 ∑x = 18 ∑x2 = 80 ∑xy = 51.5
n xy - x y
r=
[n x2 - ( x)2][n y2 - ( y)2]
(a) Perfect positive x (b) Positive x
correlation: correlation:
r = +1 0<r<1
y y
Tracking = RSFE
signal MAD
∑(Actual demand in
period i -
Forecast demand
Tracking = in period i)
signal ∑|Actual - Forecast|/n)
Tracking Signal
Signal exceeding limit
Tracking signal
Upper control limit
+
0 MADs Acceptable
range
–
Time
Tracking Signal Example
Cumulative
Absolute Absolute
Actual Forecast Forecast Forecast
Qtr Demand Demand Error RSFE Error Error MAD
1 90-10/10
100= -1 -10 -10 10 10 10.0
2 95
-15/7.5
100= -2 -5 -15 5 15 7.5
3 115 0/10
100= 0 +15 0 15 30 10.0
4 100-10/10
110= -1 -10 -10 10 40 10.0
5 125
+5/11110
= +0.5+15 +5 15 55 11.0
6 140
+35/14.2
110= +2.5
+30 +35 30 85 14.2
15% –
10% –
5% –
10% –
8% –
6% –
4% –
2% –
0% –
2 4 6 8 10 12 2 4 6 8 10 12
A.M. P.M.
Hour of day
Figure 4.12