Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Forecasting
Outline
Components of demand
Judgment methods
Linear regression
Forecast errors
1
Judgment Methods
Executive opinion
Market research
Delphi method
2
Linear Regression
Yi a bX i
where:
Y = dependent variable
X = independent variable
3
Measures of Forecast Accuracy in Linear
Regression
Coefficient of correlation
Coefficient of determination
4
Regression Analysis Example
X Y
Week (Price) (Appetizers
)
1. $2.70 760
2. 3.50 510
3. 2.00 980
4. 4.20 250
5. 3.10 320
6. 4.05 480
Regression Statistics
Multiple R 0.843
R Square 0.711
Adjusted R Square 0.639
Standard Error 165.257
Observations 6
ANOVA
df SS MS F Significance
F
Regression 1 269160 269160 9.856 0.035
Residual 4 109239 27309
Total 5 378400
5
Linear Regression Example
A professor is interested in determining whether average study hours per week is a good
predictor of test scores. The results of her study are:
Hours Score
3.0 90
2.1 95
5.8 65
3.8 80
4.2 95
3.2 60
5.3 85
4.6 70
Regression Statistics
Multiple R 0.391
R Square 0.153
Adjusted R Square 0.0121
Standard Error 13.544
Observations 8
ANOVA
df SS MS FSignificance
F
Regression 1 199.246 199.246 1.0861 0.3375
Residual 6 1100.753 183.458
Total 7 1300
6
Time Series Methods
Naive forecasts
Moving averages
Exponential smoothing
Regression Method
7
Moving Average Method
Customer
Month arrivals
n
At i 1 800
Ft MAn i 1
2 740
n
3 810
4 790
F5
F6
8
Weighted Moving Average Method
Customer
Month arrivals
1 800
Ft wn At n wn 1 At ( n 1) ... w1 At 1
2 740
3 810
4 790
9
Exponential Smoothing
Customer
Month arrivals
1 800
Ft (1 ) Ft 1 At 1 2 740
3 810
4 790
F5
10
Trend-Adjusted Exponential Smoothing
St TAFt ( At TAFt )
Month Patients
Tt Tt 1 (TAFt TAFt 1 Tt 1 )
TAFt 1 St Tt
1 48
2 52
3 50
4 54
5 55
T5
TAF6
T6
TAF7
11
Regression Method
Example: Garcia Garage
Month (t) Number of Number of Oil
time periods Changes (Y)
from t = 0
Jan. 1 41
Feb. 2 46
Mar. 3 57
Apr. 4 52
May 5 59
Jun. 6 51
Jul. 7 60
Aug. 8 62
1. Forecast the numbers of oil changes in September, October,
and November.
2. What is the average value of the trend?
Regression Statistics
Multiple R 0.817
R Square 0.668
Adjusted R
Square 0.613
Standard
Error 4.572
Observations 8.000
ANOVA
Significanc
df SS MS F eF
252.59 12.08
Regression 1.000 252.595 5 5 0.013
Residual 6.000 125.405 20.901
Total 7.000 378.000
12
Multiplicative Seasonal Method
13
Multiplicative Seasonal Method Application
Quarter Demand CMA (4 seasons) MA (2 periods) Seasonal Relatives Normalized S.R.
1 100
2 400
250
3 300 261.5 1.147227533 1.171002862
273
4 200 274 0.729927007 0.745054133
275
5 192 285.5 0.672504378 0.686441468
296
6 408 298 1.369127517 1.397501537
300
7 384 Total 3.918786436 4
8 216
14
Bias--- systematic errors
Random Errors --- variability
Example:
Day 1 Day 2 Day 3 Day 4
Actual 100 100 100 100
Demand
Forecast 105 105 105 105
1
Forecast 50 150 50 150
2
15
Forecast Error Measures
Bias:
n
et
Average error t 1
n
Variability:
n 2
et
Mean squared error MSE t 1
n 1
n
et
Mean absolute error MAD t 1
n
n et
[ (100)]
Mean percent absolute error MAPE
t 1 At
n
16
Lower Control Limit: LCL 0 z MSE
P =1-
0
17
Summarizing Forecast Accuracy
Period Actual (A) Forecast (F) Error (E=A-F) Abs Error Error Sq [(Abs E)/A] x 100
1 113 95 18 18 324 15.93
2 85 80 5 5 25 5.88
3 96 103 -7 7 49 7.29
4 86 119 -33 33 1089 38.37
5 121 117 4 4 16 3.31
6 100 125 -25 25 625 25.00
7 142 67 75 75 5625 52.82
8 92 96 -4 4 16 4.35
9 72 116 -44 44 1936 61.11
MAD = 23.9
MSE = 1213.1
s= 34.8
MAPE = 23.8%
18
Period Actual (A) Forecast (F) Error (E=A-F)
10 102 130 -28
11 107 102 5
12 112 89 23
13 118 97 21 Average error (periods 1-18)= -0.39
14 89 115 -26 Standard deviation (periods 1-9) = 34.8
15 142 82 60
2s control limits: 0 +/- 2(34.8) = 0 +/- 69.6
16 100 130 -30
17 94 137 -43
18 111 89 22
Total 4
80
60 UCL = 69.6
40
20
0
-20 10 11 12 13 14 15 16 17 18
-40
-60 LCL = -69.6
-80
19
Forecasting Summary Notes
Choosing a Forecasting Method
General considerations:
Method Pros Cons
Judgment · Can be used in the absence of · Subjective estimates are subject to
historical data (e.g. new product) the biases and motives of the
· Helpful in identifying turning estimators
points and preparing medium- and
long-term forecasts
Causal · Most sophisticated method · Must have historical data on
· Very good for predicting turning independent and dependent
points and preparing medium- and variables
long-term forecasts · Relationships can be difficult to
specify
Time series · Easy to implement · Rely exclusively on past demand
· Work well when demand is data
relatively stable · Only useful for short-term
estimates
20
Forecasting Notes
Choosing a Time Series Forecasting Method
Evaluating forecast performance: Forecast errors can be classified as either bias errors or
random errors. Bias errors are the results of systematic over- or underestimation.
Random errors are unpredictable. Ideally, a forecast should minimize both bias and
random errors.
Method Purpose
Mean forecast Measures bias
errors
Mean squared error (MSE) Measures the dispersion of forecast errors; large errors get
more weight than when using MAD
Mean absolute deviation Measures the dispersion of forecast errors; method is
(MAD) intuitive
Mean absolute percent Measures the dispersion of forecast errors relative to the
error (MAPE) level of demand
Forecast error control chart Determines whether the method of forecasting is
accurately predicting actual changes in demand
21