Professional Documents
Culture Documents
What is Forecasting?
► Process of predicting a
future event
► Underlying basis
of all business
??
decisions
► Production
► Inventory
► Personnel
► Facilities
Forecasting Time Horizons
1. Short-range forecast
► Up to 1 year, generally less than 3 months
► Purchasing, job scheduling, workforce levels,
job assignments, production levels
2. Medium-range forecast
► 3 months to 3 years
► Sales and production planning, budgeting
3. Long-range forecast
► 3+ years
► New product planning, facility location,
research and development
Distinguishing Differences
1. Medium/long range forecasts deal with more
comprehensive issues and support
management decisions regarding planning
and products, plants and processes
2. Short-term forecasting usually employs
different methodologies than longer-term
forecasting
3. Short-term forecasts tend to be more
accurate than longer-term forecasts
Influence of Product Life
Cycle
Introduction – Growth – Maturity – Decline
► Introduction and growth require longer
forecasts than maturity and decline
► As product passes through life cycle,
► Decision makers
Staff
► Staff (Administering
► Respondents survey)
Respondents
(People who can make
valuable judgments)
Sales Force Composite
Trend Cyclical
Seasonal Random
Components of Demand
Trend
component
Actual demand
line
Average demand
over 4 years
Random variation
| | | |
1 2 3 4
Time (years)
Trend Component
► Persistent, overall upward or downward
pattern
► Changes due to population, technology,
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
► Used if little or no trend
► Used often for smoothing
► Provides overall impression of data over time
Moving Average Example
MONTH ACTUAL SHED SALES 3-MONTH MOVING AVERAGE
January 10
February 12
12
March 13
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
November 16 (29 + 30 + 28)/3 = 28
Weighted
moving
average
Weighted Moving Average
MONTH ACTUAL SHED SALES 3-MONTH WEIGHTED MOVING AVERAGE
January 10
February 12
12
March 13
13
April 16 [(3 x 13) + (2 x 12) + (10)]/6 = 12 1/6
May 19
June WEIGHTS
23 APPLIED PERIOD
July 26 3 Last month
August 30 2 Two months ago
September 28 1 Three months ago
October 18 6 Sum of the weights
November Forecast for
16this month =
December 3 x 14
Sales last mo. + 2 x Sales 2 mos. ago + 1 x Sales 3 mos. ago
Sum of the weights
Weighted Moving Average
MONTH ACTUAL SHED SALES 3-MONTH WEIGHTED MOVING AVERAGE
January 10
February 12
12
March 13
13
April 16 [(3 x 13) + (2 x 12) + (10)]/6 = 12 1/6
May 19 [(3 x 16) + (2 x 13) + (12)]/6 = 14 1/3
June 23
[(3 x 19) + (2 x 16) + (13)]/6 = 17
July 26
[(3 x 23) + (2 x 19) + (16)]/6 = 20 1/2
August 30
[(3 x 26) + (2 x 23) + (19)]/6 = 23 5/6
September 28
[(3 x 30) + (2 x 26) + (23)]/6 = 27 1/2
October 18
November 16 [(3 x 28) + (2 x 30) + (26)]/6 = 28 1/3
December 14 [(3 x 18) + (2 x 28) + (30)]/6 = 23 1/3
[(3 x 16) + (2 x 18) + (28)]/6 = 18 2/3
Potential Problems With
Moving Average
► Increasing n smooths the forecast but makes
it less sensitive to changes
► Does not forecast trends well
30 –
25 –
Sales demand
20 –
Actual sales
15 –
Moving average
10 –
5–
| | | | | | | | | | | |
J F M A M J J A S O N D
Month
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
a = .1 .1 .09 .081 .073 .066
225 –
Actual a = .5
demand
200 –
Demand
175 –
a = .1
| | | | | | | | |
150 –
1 2 3 4 5 6 7 8 9
Quarter
Impact of Different
225 –
Actual a = .5
► Choose high of values
demand
when
200 – underlying average
Demand
is likely to change
► Choose low values of
175 –
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
Σ|Deviations|
MAD = 10.31 12.33
n
Common Measures of Error
Quarter Unloaded
n
with
a = .10
for
a = .10
with
a = .50
for
a = .50
1 For a180
= .10 175 5.00 175 5.00
2 168 175.5 7.50 177.50 9.50
3 = 1,526.54/8
159 174.75 = 190.82
15.75 172.75 13.75
4 175 173.18 1.82 165.88 9.12
5 For a190
= .50 173.36 16.64 170.44 19.56
6 205 175.02
= 1,561.91/8 = 29.98
195.24 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
MAD 10.31 12.33
Comparison of Forecast Error
n
∑
Actual
100|deviation
Rounded
Forecast i |/actual
Absolute
Deviation i
Rounded
Forecast
Absolute
Deviation
MAPE = i=1
Tonnage with for with for
Quarter Unloaded a = .10 n a = .10 a = .50 a = .50
1 a = .10 175
For 180 5.00 175 5.00
2 168 175.5 7.50 177.50 9.50
3 159 = 44.75/8
174.75 =15.75
5.59% 172.75 13.75
4 175 173.18 1.82 165.88 9.12
5 For a=
190 .50 173.36 16.64 170.44 19.56
6 205 175.02
= 54.05/8 =29.98
6.76% 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
MAD 10.31 12.33
MSE 190.82 195.24
Comparison of Forecast Error
Rounded Absolute Rounded Absolute
Actual Forecast Deviation Forecast Deviation
Tonnage with for with for
Quarter Unloaded a = .10 a = .10 a = .50 a = .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
MAD 10.31 12.33
MSE 190.82 195.24
MAPE 5.59% 6.76%
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
Least Squares Method
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
Time period
© 2014 Pearson Education, Inc. 4 - 55
Least Squares Method
Equations to calculate the regression variables
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
74 1 74
1
79 4 158
2
80 9 240
3
90 16 360
4
105 25 525
5
142 36 852
6
122 49 854
7
Σx = 28 Σy = 692 Σx2 = 140 Σxy = 3,063
Least Squares Example
ELECTRICAL POWER
YEAR (x) DEMAND (y) x2 xy
74 1 74
1
79 4 158
2
80 9 240
3
90 16 360
4
105 25 525
5
142 36 852
6
Demand in year 8 = 56.70 + 10.54(8)
122 49 854
7 = 141.02, or 141 megawatts
Σx = 28 Σy = 692 Σx2 = 140 Σxy = 3,063
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
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
Trend Data
10,200 –
10,000 –
Inpatient Days
9745
9,800 – 9659 9702
9573 9616 9766
9,600 – 9530 9680 9724
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
© 2014 Pearson Education, Inc. 4 - 70
San Diego Hospital
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
© 2014 Pearson Education, Inc. 4 - 72
San Diego Hospital
Period 67 68 69 70 71 72
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
© 2014 Pearson Education, Inc. 4 - 74
Adjusting Trend Data
Quarter I:
Quarter II:
Quarter III:
Quarter IV:
^
y = a + bx
^ where y = value of the dependent variable (in our
example, sales)
a = y-axis intercept
b = slope of the regression line
x = the independent variable
Associative Forecasting Example
NODEL’S SALES AREA PAYROLL NODEL’S SALES AREA PAYROLL
(IN $ MILLIONS), y (IN $ BILLIONS), x (IN $ MILLIONS), y (IN $ BILLIONS), x
2.0 1 2.0 2
3.0 3 2.0 1
2.5 4 3.5 7
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
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
Associative Forecasting Example
SALES, y PAYROLL, x x2 xy
2.0 1 1 2.0
3.0 4.0 – 3 9 9.0
Nodel’s sales
2.5 4 16 10.0
(in$ millions)
3.0 –
2.0 2 4 4.0
2.0 2.0 – 1 1 2.0
3.5 7 49 24.5
1.0 –
Σy = 15.0 Σx = 18 Σx2 = 80 Σxy = 51.5
| | | | | | |
0 1 2 3 4 5 6 7
Area payroll (in $ billions)
Associative Forecasting Example
Sales = $3,250,000
Associative Forecasting Example
If payroll4.0
next
–
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
mean of a 4.0 –
3.25
probability
Nodel’s sales
(in$ millions)
3.0 –
Regression line,
distribution 2.0 –
1.0 –
| | | | | | |
0 1 2 3 4 5 6 7
Area payroll (in $ billions)
Standard Error of the Estimate
4.0 –
3.25
Nodel’s sales
(in$ millions)
3.0 –
The standard error 2.0 –
of the estimate is
1.0 –
$306,000 in sales
| | | | | | |
0 1 2 3 4 5 6 7
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
Correlation Coefficient
Figure 4.10
y y
x x
(a) Perfect negative (e) Perfect positive
correlation y correlation
y
y
x x
(b) Negative correlation (d) Positive correlation
x
(c) No correlation
–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
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
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
Acceptable
0 MADs range
Time
Tracking Signal Example
ABSOLUTE CUM ABS TRACKING
ACTUAL FORECAST CUM FORECAST FORECAST SIGNAL (CUM
QTR DEMAND DEMAND ERROR ERROR ERROR ERROR MAD ERROR/MAD)
1 90 100 –10 –10 10 10 10.0 –10/10 = –1
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