Forecasting
Forecasting
Forecasting Provides a
Competitive Advantage for Disney
Figure 2.5
Product Life Cycle
Introduction Growth Maturity Decline
Product design and Forecasting critical Standardization Little product
development Product and Fewer rapid differentiation
critical process reliability product changes, Cost
Frequent product Competitive more minor minimization
and process changes
Strategy/Issues
product Overcapacity in
OMStrategy/Issues
runs
Product
improvement and
cost cutting
Figure 2.5
Types of Forecasts
1. Economic forecasts
► Address business cycle – inflation rate, money
supply, housing starts, etc.
2. Technological forecasts
► Predict rate of technological progress
► Impacts development of new products
3. Demand forecasts
► Predict sales of existing products and services
Strategic Importance of
Forecasting
► Supply-Chain Management – Good
supplier relations, advantages in product
innovation, cost and speed to market
► Human Resources – Hiring, training,
laying off workers
► Capacity – Capacity shortages can result
in undependable delivery, loss of
customers, loss of market share
Seven Steps in Forecasting
1. Determine the use of the forecast
2. Select the items to be forecasted
3. Determine the time horizon of the
forecast
4. Select the forecasting model(s)
5. Gather the data needed to make the
forecast
6. Make the forecast
7. Validate and implement the results
The Realities!
► Forecasts are seldom perfect,
unpredictable outside factors may
impact the forecast
► Most techniques assume an
underlying stability in the system
► Product family and aggregated
forecasts are more accurate than
individual product forecasts
Forecasting Approaches
Qualitative Methods
► Decision makers
► Staff
► Respondents Respondents
(People who can make
valuable judgments)
Sales Force Composite
Trend Cyclical
Seasonal Random
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
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
PERIOD LENGTH “SEASON” LENGTH NUMBER OF “SEASONS” IN PATTERN
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 Averages
Moving average =
å demand in previous n periods
n
Moving Average Example
MONTH ACTUAL SHED SALES 3-MONTH 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
August 30 (19 + 23 + 26)/3 = 22 2/3
September 28 (23 + 26 + 30)/3 = 26 1/3
October 18 (26 + 30 + 28)/3 = 28
November 16 (30 + 28 + 18)/3 = 25 1/3
December 14 (28 + 18 + 16)/3 = 20 2/3
Weighted Moving Average
► Used when some trend might be
present
► Older data usually less important
► Weights based on experience and
intuition
(( )(
Weighted å Weight for period n Demand in period n
moving =
))
average å Weights
Weighted Moving Average
MONTH ACTUAL SHED SALES 3-MONTH WEIGHTED MOVING AVERAGE
January 10
February 12
March 13
April 16 [(3 x 13) + (2 x 12) + (10)]/6 = 12 1/6
May 19
June WEIGHTS
23 APPLIED PERIOD
30 –
25 –
Sales demand
20 –
15 – Actual sales
10 – Moving average
(from Example 1)
5–
| | | | | | | | | | | |
J F M A M J J A S O N D
Figure 4.2 Month
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
New forecast = Last period’s forecast
+ (Last period’s actual demand
– Last period’s forecast)
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
= .1 .1 .09 .081 .073 .066
Actual = .5
demand
200 –
Demand
175 –
= .1
150 – | | | | | | | | |
1 2 3 4 5 6 7 8 9
Quarter
Impact of Different
225 –
Actual = .5
Choose high
► 200 – of
values
demand
when underlying average
Demand
is likely to change
175 –
► Choose low values of
when underlying average = .1
is–stable
150 | | | | | | | | |
1 2 3 4 5 6 7 8 9
Quarter
Selecting the Smoothing
Constant
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 according to one of three preferred
measures:
► Mean Absolute Deviation (MAD)
► Mean Squared Error (MSE)
► Mean Absolute Percent Error (MAPE)
Common Measures of Error
MAD =
å Actual - Forecast
n
Determining the MAD
ACTUAL
TONNAGE FORECAST WITH
QUARTER UNLOADED FORECAST WITH = .10 = .50
1 180 175 175
Σ|Deviations|
MAD = 10.31 12.33
n
Common Measures of Error
å (Forecast errors)
2
MSE =
n
Determining the MSE
ACTUAL
TONNAGE FORECAST FOR
QUARTER UNLOADED = .10 (ERROR)2
1 180 175 52 = 25
2 168 175.50 (–7.5)2 = 56.25
3 159 174.75 (–15.75)2 = 248.06
4 175 173.18 (1.82)2 = 3.31
5 190 173.36 (16.64)2 = 276.89
6 205 175.02 (29.98)2 = 898.80
7 180 178.02 (1.98)2 = 3.92
8 182 178.22 (3.78)2 = 14.29
Sum of errors squared = 1,526.52
å (Forecast errors)
2
MAPE =
å absolute percent error 44.75%
= = 5.59%
n 8
Comparison of Measures
TABLE 4.1 Comparison of Measures of Forecast Error
Ft = (At - 1) + (1 - )(Ft - 1 + Tt - 1)
Tt = (Ft - Ft - 1) + (1 - )Tt - 1
where Ft = exponentially smoothed forecast average
Tt = exponentially smoothed trend
At = actual demand
= smoothing constant for average (0 ≤ ≤ 1)
= smoothing constant for trend (0 ≤ ≤ 1)
Exponential Smoothing with
Trend Adjustment
Step 1: Compute Ft
Step 2: Compute Tt
Step 3: Calculate the forecast FITt = Ft + Tt
Exponential Smoothing with
Trend Adjustment Example
MONTH (t) ACTUAL DEMAND (At) MONTH (t) ACTUAL DEMAND (At)
1 12 6 21
2 17 7 31
3 20 8 28
4 19 9 36
5 24 10 ?
= .2 = .4
Exponential Smoothing with
Trend Adjustment Example
TABLE 4.2 Forecast with = .2 and = .4
SMOOTHED FORECAST
FORECAST SMOOTHED INCLUDING TREND,
MONTH ACTUAL DEMAND AVERAGE, Ft TREND, Tt FITt
1 12 11 2 13.00
2 17 12.80
3 20
4 19
Step 1: Average for Month 2
5 24
6 21 F2 = A1 + (1 – )(F1 + T1)
7 31
8 28 F2 = (.2)(12) + (1 – .2)(11 + 2)
9 36 = 2.4 + (.8)(13) = 2.4 + 10.4
10 —
= 12.8 units
Exponential Smoothing with
Trend Adjustment Example
TABLE 4.2 Forecast with = .2 and = .4
SMOOTHED FORECAST
FORECAST SMOOTHED INCLUDING TREND,
MONTH ACTUAL DEMAND AVERAGE, Ft TREND, Tt FITt
1 12 11 2 13.00
2 17 12.80 1.92
3 20
4 19
5 24 Step 2: Trend for Month 2
6 21
7 31 T2 = (F2 - F1) + (1 - b)T1
8 28
T2 = (.4)(12.8 - 11) + (1 - .4)(2)
9 36
10 — = .72 + 1.2 = 1.92 units
Exponential Smoothing with
Trend Adjustment Example
TABLE 4.2 Forecast with = .2 and = .4
SMOOTHED FORECAST
FORECAST SMOOTHED INCLUDING TREND,
MONTH ACTUAL DEMAND AVERAGE, Ft TREND, Tt FITt
1 12 11 2 13.00
2 17 12.80 1.92 14.72
3 20
4 19
5 24 Step 3: Calculate FIT for Month 2
6 21
7 31 FIT2 = F2 + T2
8 28
FIT2 = 12.8 + 1.92
9 36
10 — = 14.72 units
Exponential Smoothing with
Trend Adjustment Example
TABLE 4.2 Forecast with = .2 and = .4
SMOOTHED FORECAST
FORECAST SMOOTHED INCLUDING TREND,
MONTH ACTUAL DEMAND AVERAGE, Ft TREND, Tt 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
Exponential Smoothing with
Trend Adjustment Example
40 – Figure 4.3
25 –
20 –
15 –
10 – Forecast including trend (FITt)
5 – with = .2 and = .4
0 –
| | | | | | | | |
1 2 3 4 5 6 7 8 9
Time (months)
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 (y-values) Least Squares Method
Actual observation Deviation7
(y-value)
Deviation5 Deviation6
Deviation3
Least squares method minimizes the
sum of Deviation
the squared
4
errors (deviations)
Deviation1
(error) Deviation2
Trend line, y^ = a + bx
| | | | | | |
1 2 3 4 5 6 7
Figure 4.4
Time period
Least Squares Method
Equations to calculate the regression variables
ŷ = a + bx
b=
å xy - nxy
å x - nx
2 2
a = y - bx
Least Squares Example
ELECTRICAL ELECTRICAL
YEAR POWER DEMAND YEAR POWER DEMAND
1 74 5 105
2 79 6 142
3 80 7 122
4 90
Least Squares Example
ELECTRICAL POWER
YEAR (x) DEMAND (y) x2 xy
1 74 1 74
2 79 4 158
3 80 9 240
4 90 16 360
5 105 25 525
6 142 36 852
7 122 49 854
Σx = 28 Σy = 692 Σx2 = 140 Σxy = 3,063
x=
å x 28
= =4 y=
å y 692
= = 98.86
n 7 n 7
Least Squares Example
å xy - nxy 3,063 - ( 7) ( 4) (98.86) 295
b= = POWER = = 10.54
å x - nxDEMAND (y)140 - (7) ( 4 ) x 28
ELECTRICAL
2 2 2 2
YEAR (x) xy
1 74 1 74
()
2 79 4 158
3
a = y - bx = 98.8680
-10.54 4 = 56.70 9 240
4 90 16 360
5 105 ŷ = 56.70 +10.54x25
Thus, 525
6 142 36 852
7 122 49 854
Σx = 28 Σy = 692 Σx2 = 140 Σxy = 3,063
x=
å
Demandx in
= =4 y=
å
28year 8 = 56.70 y+ 10.54(8)
=
692
= 98.86
n 7 = 141.02,
n or 141
7 megawatts
Least Squares Example
Trend line,
160 – y^ = 56.70 + 10.54x
150 –
Power demand (megawatts)
140 –
130 –
120 –
110 –
100 –
90 –
80 –
70 –
60 –
50 –
| | | | | | | | |
1 2 3 4 5 6 7 8 9
Year Figure 4.5
Least Squares Requirements
The multiplicative
seasonal model can
adjust trend data for
seasonal variations
in demand
Seasonal Variations In Data
Steps in the process for monthly seasons:
110 –
100 –
90 –
80 –
70 –
| | | | | | | | | | | |
J F M A M J J A S O N D
Time
San Diego Hospital
Demand Y=8090+21.5X
10,200 –
10,000 –
Inpatient Days
9,800 – 9745
9659 9702
9573 9616 9766
9,600 – 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
San Diego Hospital
Seasonal Indices Figure 4.7
1.06 –
1.04
Index for Inpatient Days
1.04
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
San Diego Hospital
Period 67 68 69 70 71 72
10,200 –
10,068
10,000 – 9,911 9,949
Inpatient Days
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
Adjusting Trend Data
Management at Jagoda Wholesalers, in Calgary, Canada, has used time-
series regression based on point-of-sale data to forecast sales for the next 4
quarters. Sales estimates are $100,000, $120,000, $140,000, and $160,000
for the respective quarters. Seasonal indices for the four quarters have been
found to be 1.30, .90, .70, and 1.10, respectively
y^ = a + bx
4.0 –
Nodel’s sales
(in $ millions)
3.0 –
2.0 –
1.0 –
| | | | | | |
0 1 2 3 4 5 6 7
Area payroll (in $ billions)
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
x=
å x 18
= =3 y=
å y 15
= = 2.5
6 6 6 6
b=
å xy - nxy 51.5 - (6)(3)(2.5)
= = .25 a = y - bx = 2.5 - (.25)(3) = 1.75
å x - nx
2 2
80 - (6)(3 ) 2
Associative Forecasting
Example
SALES, y PAYROLL, x x2 xy
2.0 1 1 2.0
3.0 3
ŷ = 1.75
9
+ .25x 9.0
2.5 4 16 10.0
2.0 2 Sales = 1.75
4 + .25(payroll)
4.0
2.0 1 1 2.0
3.5 7 49 24.5
Σy = 15.0 Σx = 18 Σx2 = 80 Σxy = 51.5
x=
å x 18
= =3 y=
å y 15
= = 2.5
6 6 6 6
b=
å xy - nxy 51.5 - (6)(3)(2.5)
= = .25 a = y - bx = 2.5 - (.25)(3) = 1.75
å x - nx
2 2
80 - (6)(3 ) 2
Associative Forecasting
Example
SALES, y PAYROLL, x x2 xy
2.0 1 1 2.0
4.0 –
3.0 3
ŷ = 1.75
9
+ .25x 9.0
Nodel’s sales
(in $ millions)
x=
0å x 1 18 2
= =3
3 å
4 y 5 15 6
y =(in $ billions)
= = 2.5
7
Area payroll
6 6 6 6
b=
å xy - nxy 51.5 - (6)(3)(2.5)
= = .25 a = y - bx = 2.5 - (.25)(3) = 1.75
å x - nx
2
80 - (6)(3 )
2 2
Associative Forecasting
Example
Sales = $3,250,000
Associative Forecasting
Example
If payroll next
4.0 year
– is estimated to be $6 billion,
then: 3.25
Nodel’s sales
(in $ millions)
3.0 –
2.0 –
Sales (in$ millions) = 1.75 + .25(6)
1.0 –
= 1.75 + 1.5 = 3.25
| | | | | | |
0 1 2 3 4 5 6 7
Sales = $3,250,000
Area payroll (in $ billions)
Standard Error of the Estimate
► A forecast is just a point estimate of a
future value
► This point is
actually the
4.0 –
mean or 3.25
Nodel’s sales
(in $ millions)
3.0 –
expected Regression line,
value of a 2.0 – ŷ =1.75+.25x
probability 1.0 –
distribution | | | | | | |
0 1 2 3 4 5 6 7
Figure 4.9 Area payroll (in $ billions)
Standard Error of the Estimate
S y,x =
å ( y - y c
) 2
n-2
S y,x =
å - aå y - bå xy
y 2
n-2
S y,x =
å - aå y - bå xy
y 2
=
39.5 -1.75(15.0) - .25(51.5)
n-2 6-2
= .09375
= .306 (in $ millions)
3.6 –
Nodel’s sales 3.5 – + .306
(in $ millions) 3.4 –
3.3 –
The standard error 3.2 –
3.1 –
of the estimate is 3.0 –
– .306
$306,000 in sales 2.9 –
5 6
Area payroll (in $ billions)
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
Figure 4.10
y y
x x
(a) Perfect negative (e) Perfect positive
correlation, r = –1 y y correlation, r = 1
y
x x
(b) Negative correlation (d) Positive correlation
x
(c) No correlation, r = 0
–1.0 –0.8 –0.6 –0.4 –0.2 0 0.2 0.4 0.6 0.8 1.0
Correlation coefficient values
Correlation Coefficient
nå xy - å xå y
r=
é ùé ù
êënå x - ( )
å x úûêënå y - ( )
å y úû
2 2
2 2
Correlation Coefficient
y x x2 xy y2
2.0 1 1 2.0 4.0
3.0 3 9 9.0 9.0
2.5 4 16 10.0 6.25
2.0 2 4 4.0 4.0
2.0 1 1 2.0 4.0
3.5 7 49 24.5 12.25
Σy = 15.0 Σx = 18 Σx2 = 80 Σxy = 51.5 Σy2 = 39.5
(6)(51.5) – (18)(15.0)
r=
é(6)(80) – (18)2 ùé(16)(39.5) – (15.0)2 ù
ë ûë û
309 - 270 39 39
= = = = .901
(156)(12) 1,872 43.3
Correlation
► Coefficient of Determination, r2,
measures the percent of change in y
predicted by the change in x
► Values range from 0 to 1
► Easy to interpret
ŷ = a + b1x1 + b2 x2