Chap 2-Forecasting
Chap 2-Forecasting
OPERATIONS
MANAGEMENT
FORECASTING
1. DEFINITION
2. TYPES OF FORECASTING
3. IMPORTANCE OF FORECASTING
4. FORECASTING APPROACH
5. MONITORING AND CONTROLLING FORECAST
6. FORECASTING IN SERVICE SECTOR
DEFINITION
WHAT IS FORECASTING?
Process of predicting a
future event
Underlying basis of
??
all business decisions
Production
Inventory
Personnel
Facilities
INFLUENCE OF PRODUCT LIFE
CYCLE
Introduction – Growth – Maturity – Decline
Sales iPods
3 1/2”
Xbox 360 Floppy
disks
Figure 2.5
THE REALITY
Trend Cyclical
Seasonal Random
TREND COMPONENT SEASONAL COMPONENT
0 5 10 15 20 M T W T
COMPONENTS OF DEMAND
Trend
component
Actual
demand
Average
demand over
Random four years
variation
| | | |
1 2 3 4
Year Figure 4.1
QUANTITATIVE
METHODS
1. Naive approach
2. Moving averages
Time-Series
3. Exponential Models
smoothing
4. Trend projection
Associative
5. Linear regression Model
22 –
20 –
18 –
16 –
14 –
12 –
10 –
| | | | | | | | | | | |
J F M A M J J A S O N D
WEIGHTED MOVING
AVERAGE
Used when trend is present
Older data usually less important
Weights based on experience and intuition
20 – Actual
sales
15 –
Moving
10 – average
5 –
| | | | | | | | | | | |
Figure 4.2
J F M A M J J A S O N D
COMMON MEASURES OF
ERROR
Mean Absolute Deviation (MAD)
∑ |Actual - Forecast|
MAD =
n
Mean Squared Error (MSE)
∑ (Forecast Errors)2
MSE =
n
Mean Absolute Percent Error (MAPE)
n
∑100|Actuali - Forecasti|/Actuali
MAPE = i=1
Use quantitative Month Sales
methods (MA, 1 40
WMA) to forecast
for September 2 42
sales? 3 38
Weighted: 0.1; 0.3; 4 44
0.2 5 45
Which method is 6 49
better?
7 48
8 50
3. 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
w forecast = Last period’s forecast
+ a (Last period’s actual demand
– Last period’s forecast)
Ft = Ft – 1 + a(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 (a) a(1 - a) a(1 - a) 2
a(1 - a) 3
a(1 - a)4
225 –
Actual a = .5
demand
Demand
200 –
175 –
a = .1
| | | | | | | | |
150 –
1 2 3 4 5 6 7 8 9
Quarter
Impact of Different
225 –
Actual a = .5
Chose high values of
demand
when underlying average
Demand
200 –
is likely to change
Choose
175 – low values of
when underlying average
a = .1
is stable
| | | | | | | | |
150 –
1 2 3 4 5 6 7 8 9
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
Ft = a(At - 1) + (1 - a)(Ft - 1 + Tt - 1)
Tt = b(Ft - Ft - 1) + (1 - b)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
7 31 F2 = aA1 + (1 - a)(F1 + T1)
8 28
9 36 F2 = (.2)(12) + (1 - .2)(11 + 2)
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
7 31 T2 = b(F2 - F1) + (1 - b)T1
8 28
9 36 T2 = (.4)(12.8 - 11) + (1 - .4)(2)
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
7 31 FIT2 = F2 + T1
8 28
9 36
FIT2 = 12.8 + 1.92
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 –
Actual demand (At)
Product demand 30 –
25 –
20 –
15 –
10 –
Forecast including trend (FITt)
with = .2 and = .4
5 –
0 – | | | | | | | | |
1 2 3 4 5 6 7 8 9
Figure 4.3
Time (month)
4. 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
Deviation5 Deviation6
Deviation3
Deviation4
Deviation1
(error) Deviation2
Trend line, y^ = a + bx
Deviation5 Deviation6
Deviation1
Deviation2
Trend line, y^ = a + bx
y^ = a + bx
Sxy - nxy
b=
Sx2 - 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
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:
1. Find average historical demand for each
season
2. Compute the average demand over all
seasons
3. Compute a seasonal index for each season
4. Estimate next year’s total demand
5. Divide this estimate of total demand by the
number of seasons, then multiply it by the
seasonal index for that season
Seasonal Index Example
Demand Average Average Seasonal
Month 2005 2006 2007 2005-2007 Monthly Index
Jan 80 85 105 90 94
Feb 70 85 85 80 94
Mar 80 93 82 85 94
Apr 90 95 115 100 94
May 113 125 131 123 94
Jun 110 115 120 115 94
Jul 100 102 113 105 94
Aug 88 102 110 100 94
Sept 85 90 95 90 94
Oct 77 78 85 80 94
Nov 75 72 83 80 94
Dec 82 78 80 80 94
Seasonal Index Example
Demand Average Average Seasonal
Month 2005 2006 2007 2005-2007 Monthly Index
Jan 80 85 105 90 94 0.957
Feb 70 85 85 80 94
Mar 80 93 average
82 85 monthly demand
2005-2007 94
Seasonal90index95= 115
Apr 100 94
average monthly demand
May 113 125 131 123 94
Jun 110 115= 90/94
120 = .957 115 94
Jul 100 102 113 105 94
Aug 88 102 110 100 94
Sept 85 90 95 90 94
Oct 77 78 85 80 94
Nov 75 72 83 80 94
Dec 82 78 80 80 94
Seasonal Index Example
Demand Average Average Seasonal
Month 2005 2006 2007 2005-2007 Monthly Index
Jan 80 85 105 90 94 0.957
Feb 70 85 85 80 94 0.851
Mar 80 93 82 85 94 0.904
Apr 90 95 115 100 94 1.064
May 113 125 131 123 94 1.309
Jun 110 115 120 115 94 1.223
Jul 100 102 113 105 94 1.117
Aug 88 102 110 100 94 1.064
Sept 85 90 95 90 94 0.957
Oct 77 78 85 80 94 0.851
Nov 75 72 83 80 94 0.851
Dec 82 78 80 80 94 0.851
Seasonal Index Example
Demand Average Average Seasonal
Month 2005 2006 2007 2005-2007 Monthly Index
Jan 80 85 105 90 94 0.957
Feb 70 85 Forecast
85 for802008 94 0.851
Mar 80 93 82 85 94 0.904
Apr 90Expected
95 115annual demand
100 = 1,200
94 1.064
May 113 125 131 123 94 1.309
Jun 110 115 120 1,200 115 94 1.223
Jul Jan 113
100 102 x .957 = 96 94
105 1.117
12
Aug 88 102 110 100 94 1.064
Sept 85 90 95 1,200 90 94 0.957
Feb x .851 = 85
Oct 77 78 85 12 80 94 0.851
Nov 75 72 83 80 94 0.851
Dec 82 78 80 80 94 0.851
Seasonal Index Example
2008 Forecast
140 – 2007 Demand
130 – 2006 Demand
2005 Demand
120 –
Demand
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
9745
9,800 – 9702
9616 9659
9573 9724 9766
9,600 – 9530 9680
9594 9637
9551
9,400 –
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
Index for Inpatient Days
1.04 – 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.96
0.94 –
| | | | | | | | | | | |
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
San Diego Hospital
Combined Trend and Seasonal Forecast
10,200 – 10068
9949
10,000 – 9911
Inpatient Days
9764 9724
9,800 – 9691
9572
9,600 –
9520 9542
9,400 –
9411
9265 9355
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.8
5. 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
Least Squares Method
Equations to calculate the regression variables
y^ = a + bx
Sxy - nxy
b=
Sx2 - nx2
a = y - bx
Associative Forecasting Example
Sales Local Payroll
($ millions), y ($ billions), x
2.0 1
3.0 3
2.5 4
2.0 2 4.0 –
2.0 1
3.0 –
Sales
3.5 7
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
Sales
3.0 –
Sales
3.0 –
probability
2.0 –
distribution
1.0 –
| | | | | | |
0 1 2 3 4 5 6 7
Area payroll
Figure 4.9
Standard Error of the Estimate
∑(y - yc)2
Sy,x =
n-2
Sales
3.0 –
The standard error
of the estimate is 2.0 –
$306,000 in sales
1.0 –
| | | | | | |
0 1 2 3 4 5 6 7
Area payroll
Correlation
How strong is the linear relationship between
the variables?
Correlation does not necessarily imply
causality!
Coefficient of correlation, r, measures degree
of association
Values range from -1 to +1
Correlation Coefficient
nSxy - SxSy
r=
[nSx2 - (Sx)2][nSy2 - (Sy)2]
Correlation Coefficient
y y
nSxy - SxSy
r=
[nSx
(a) Perfect positive x
2
- (Sx) 2
][nSy
(b) Positive ]
2
- (Sy) 2
x
correlation: correlation:
r = +1 0<r<1
y y
^
y = 1.80 + .30x1 - 5.0x2
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
+
Acceptable
0 MADs range
Time
Tracking Signal Example
Cumulative
Absolute Absolute
Actual Forecast Forecast Forecast
Qtr Demand Demand Error RSFE Error Error MAD
1 90 100 -10 -10 10 10 10.0
2 95 100 -5 -15 5 15 7.5
3 115 100 +15 0 15 30 10.0
4 100 110 -10 -10 10 40 10.0
5 125 110 +15 +5 15 55 11.0
6 140 110 +30 +35 30 85 14.2
Tracking Signal Example
Cumulative
Tracking Absolute Absolute
Actual Signal
Forecast Forecast Forecast
Qtr (RSFE/MAD)
Demand Demand Error RSFE Error Error MAD
1 90-10/10
100
= -1 -10 -10 10 10 10.0
2 95 100 -5 -15 5 15 7.5
3 -15/7.5
115 100= -2 +15 0 15 30 10.0
4 100 0/10110
=0 -10 -10 10 40 10.0
5 125-10/10
110
= -1 +15 +5 15 55 11.0
6 140 110 +30 +35 30 85 14.2
+5/11 = +0.5
+35/14.2 = +2.5
15% –
10% –
5% –