Heizer Omawe ch04
Heizer Omawe ch04
4-1
Outline
• What Is Forecasting?
• Forecasting Time Horizons
• The Influence of Product Life Cycle
• Types of Forecasts
4-2
Outline – Continued
4-3
Outline – Continued
Forecasting Approaches
Overview of Qualitative Methods
Overview of Quantitative Methods
Time-Series Forecasting
Decomposition of a Time Series
Naive Approach
4-4
Outline – Continued
4-5
Outline – Continued
• Associative Forecasting Methods:
Regression and Correlation
Analysis
• Using Regression Analysis for
Forecasting
• Standard Error of the Estimate
• Correlation Coefficients for
Regression Lines
• Multiple-Regression Analysis
4-6
Outline – Continued
4-7
What is Forecasting?
4-8
Forecasting Time Horizons
Short-range forecast
Up to 1 year, generally less than 3 months
Purchasing, job scheduling, workforce levels, job
assignments, production levels
Medium-range forecast
3 months to 3 years
Sales and production planning, budgeting
Long-range forecast
3+ years
New product planning, facility location, research and
development
4-9
Influence of Product Life Cycle
4 - 11
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
4 - 12
Forecasting Approaches
Qualitative Methods
Quantitative Methods
Used when situation is ‘stable’ and
historical data exist
Existing products
Current technology
Involves mathematical techniques
e.g., forecasting sales of color
televisions
4 - 14
Overview of Quantitative Approaches
1. Naive approach
2. Moving averages
3. Exponential time-series
models
smoothing
4. Trend projection
5. Linear regression associative
model
4 - 15
Time-Series Components
Trend Cyclical
Seasonal Random
4 - 16
Components of Demand
Trend
component
Demand for product or service
Seasonal peaks
Actual demand
line
Average demand
over 4 years
Random variation
| | | |
1 2 3 4
Time (years)
Figure 4.1
4 - 17
Trend Component
4 - 18
Seasonal Component
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
4 - 19
Cyclical Component
0 5 10 15 20
4 - 20
Random Component
M T W T F
4 - 21
1. Naive Approach
4 - 22
2. Moving Average Method
4 - 23
Moving Average Example
Actual 3-Month
Month Shed Sales Moving Average
January 10
February 12
March 13
April 16 (10 + 12 + 13)/3 = 11 2/3
May 19 (12 + 13 + 16)/3 = 13 2/3
June 23 (13 + 16 + 19)/3 = 16
July 26 (16 + 19 + 23)/3 = 19 1/3
4 - 24
Graph of Moving Average
Moving
Average
30 –
28 –
Forecast
26 – Actual
24 – Sales
Shed Sales
22 –
20 –
18 –
16 –
14 –
12 –
10 –
| | | | | | | | | | | |
J F M A M J J A S O N D
4 - 25
3. Weighted Moving Average
4 - 26
Weights Applied Period
Weighted Moving Average
3 Last month
2 Two months ago
1 Three months ago
6 Sum of weights
4 - 27
Moving Average And
Weighted Moving Average
Weighted
moving
30 – average
25 –
Sales demand
20 – Actual
sales
15 –
Moving
10 – average
5 –
| | | | | | | | | | | |
Figure 4.2
J F M A M J J A S O N D
© 2013 Pearson Education 4 - 28
Potential Problems With
Moving Average
4 - 29
4. Exponential Smoothing
4 - 30
Exponential Smoothing
Ft = Ft – 1 + a(At – 1 - Ft – 1)
constant (0 ≤ a ≤ 1)
4 - 31
Exponential Smoothing Example
4 - 32
Exponential Smoothing Example
4 - 33
Exponential Smoothing Example
4 - 34
Effect of
Smoothing Constants
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
4 - 35
Impact of Different
225 –
Actual a = .5
demand
200 –
Demand
175 –
a = .1
| | | | | | | | |
150 –
1 2 3 4 5 6 7 8 9
Quarter
4 - 36
Impact of Different
Chose high values of when
underlying average is likely to change
Choose low values of when
underlying average is stable
225 –
Actual a = .5
demand
Demand
200 –
a = .1
175 –
| | | | | | | | |
150 –
1 2 3 4 5 6 7 8 9
Quarter 4 - 37
Common Measures of Error
n
∑100|Actuali - Forecasti|/Actuali
MAPE = i=1
n
4 - 39
Comparison of Forecast Error
4 - 40
Comparison of Forecast Error
4 - 41
Comparison of Forecast Error
4 - 44
Exponential Smoothing with Trend Adjustment
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
4 - 45
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
4 - 46
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
4 - 47
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
4 - 48
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 + T2
8 28
9 36
FIT2 = 12.8 + 1.92
10 = 14.72 units
Table 4.1
4 - 49
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
4 - 50
Exponential Smoothing with Trend Adjustment
Example
35 –
Actual demand (At)
30 –
Product demand
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 - 51
6. Trend Projections
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
4 - 52
Least Squares Method
Values of Dependent Variable
Deviation5 Deviation6
Deviation3
Deviation4
Deviation1
(error) Deviation2
Trend line, y^ = a + bx
Deviation5 Deviation6
Deviation1
(error) Deviation2
Trend line, y^ = a + bx
y^ = a + bx
Sxy - nxy
b=
Sx2 - nx2
a = y - bx
4 - 55
Least Squares Example
Trend line,
160 –
150 –
y^ = 56.70 + 10.54x
140 –
Power demand
130 –
120 –
110 –
100 –
90 –
80 –
70 –
60 –
50 –
| | | | | | | | |
2005 2006 2007 2008 2009 2010 2011 2012 2013
Year
4 - 58
Seasonal Variations In Data
The multiplicative
seasonal model
can adjust trend
data for seasonal
variations in
demand
4 - 60
Seasonal Variations In Data
4 - 62
Average 2009-2011 monthly demand
Seasonal index =
Average monthly demand
= 90/94 = .957
4 - 63
Seasonal Index Example
4 - 64
Seasonal Index Example
4 - 65
Seasonal Index Example
2012 Forecast
140 – 2011 Demand
130 – 2010 Demand
2009 Demand
120 –
Demand
110 –
100 –
90 –
80 –
70 –
| | | | | | | | | | | |
J F M A M J J A S O N D
Time
4 - 66
San Diego Hospital
Trend line,
Trend Data y = 8,090 + 21.5x
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
4 - 67
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
4 - 68
San Diego Hospital
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
4 - 69
Associative Forecasting
4 - 70
Associative Forecasting
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 4 - 71
Associative Forecasting Example
1.0 –
| | | | | | |
0 1 2 3 4 5 6 7
Area payroll
4 - 72
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
Shaer’s sales
3.0 –
4 - 74
Standard Error of the Estimate
4 - 75
Standard Error of the Estimate
∑(y - yc)2
Sy,x =
n-2
4 - 77
Standard Error of the Estimate
4 - 79
Correlation Coefficient
nSxy - SxSy
r=
[nSx2 - (Sx)2][nSy2 - (Sy)2]
4 - 80
Correlation Coefficient
y
nSxy - SxSy
r=
[nSx2 - (Sx)2][nSy2 - (Sy)2]
(b) Positive x
correlation:
0<r<1
y y y
^
y = 1.80 + .30x1 - 5.0x2
Tracking Signal
Measures how well the forecast is predicting
actual values
Ratio of cumulative forecast errors to mean
absolute deviation (MAD)
Good tracking signal has low values
If forecasts are continually high or low,
the forecast has a bias error
4 - 85
Monitoring and Controlling Forecasts
∑(Actual demand in
period i -
Forecast demand
Tracking in period i)
signal = (∑|Actual - Forecast|/n)
4 - 86
Tracking Signal
Acceptable
0 MADs range
Time
4 - 87
Tracking Signal Example
Cumulative
Absolute Absolute
Actual Forecast Cumm Forecast Forecast
Qtr Demand Demand Error Error Error Error MAD
4 - 88
Tracking Signal Example
Tracking
Signal Cumulative
(Cumm Absolute Absolute
Actual Forecast Cumm Forecast Forecast
Qtr Error/MAD)
Demand Demand Error Error 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
4 - 90
Fast Food Restaurant Forecast
20% –
Percentage of sales
15% –
10% –
5% –
12% –
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
4 - 92
Lecture 2 Assignment: Forecasting
• Reading Chapter 4
• Reading solved problems p122-123
• Problems:
– 4.1, 4.2, 4.3, 4.4, 4.5, 4.6, 4.7, 4.9, 4.12, 4.15, 4.16, 4.17,
4.18, 4.19
4 - 93