Chapter 3
Chapter 3
Chapter 3
Judgmental
Time series
Associative
Trend
Seasonality
Cycles
Irregular variations
Random variations
Trends
Seasonality
Cycles
Irregular Trends
Ft MAn
i 1
At i
n
Period
Demand
42
40
43
40
41
t i
i 1
43 40 41
41.33
3
the actual demand in period 6 turns out to be 38, the moving average
forecast for period 7 would be :
F7 MA3
t i
i 1
40 41 38
39.67
3
65
55
58
64
Ft wn At n wn 1 At ( n 1) wn 2 At ( n 2) ......w2 At 2 w1 At 1
The advantage of a weighted average over a simple
moving average is that the weighted average is more
reflective of the most recent occurrences. However, the
choice of the weight is somewhat arbitrary and
generally involves the use of trial and error to find a
suitable weighting scheme.
Demand
42
40
43
40
41
Solution: (a)
Ft wn At n wn 1 At ( n 1) wn 2 At ( n 2) ......w2 At 2 w1 At 1
F6 w4 At 4 w3 At 3 w2 At 2 w1 At 1
0.1 * 40 0.2 * 43 0.3 * 40 0.4 * 41 41.0
Solution: (b)
Period
No. of complaints
60
65
55
58
64
Exponential smoothing:
Weighted averaging method based on previous forecast plus a
percentage of the forecast error.
It is sophisticated weighted average method that is still relatively easy
to use and understand.
Next forecast = Previous forecast +
Ft Ft 1 At 1 Ft 1
= The smoothing constant = % of the error
Commonly used value of ranges from 0.05 to 0.5. Low values are used when the average tends to be stable. Higher values of
No. of complaints
60
65
55
58
64
Use exponential smoothing approach with a smoothing constant of 0.4 to make the forecast for the next period.
Solution:
Period
No. of complaints
60
65
60
60 + 0.4(65-60) = 62
55
62
62 + 0.4(55-62) = 59.2
58
59.2
64
58.72
Forecast
Calculations
60 is the initial forecast
60.83
Period
Demand
42
40
43
40
41
Example: Cell phone for a firm over the last 10 weeks are shown as follows. Would a linear
trend line be appropriate? Determine the equation of the trend line and predict sales for
weeks 11 and 12.
Week
10
Unit Sales
700
724
720
728
740
742
758
750
770
775
ty
700
700
724
1448
720
2160
728
2912
740
3700
742
4452
758
5306
750
6000
770
6930
10
775
7750
7407
41358
Given
n 10,
55,
n ty t y
n t t
2
385
10 41,358 55 7,407
7.51
10 385 55 55
y b t 7,407 7.51 55
699.4
n
10
Ft a b t 699.4 7.51t
where t = 0 for period 0.
Demand
44
52
50
54
55
55
60
56
62
y
y c a bx
y
x
a
y
x
n xy
n x 2
x y
x
2
and
y b x
a
y bx
n
Example: Healthy hamburger has a chain of 12 stores in California. Sales figures and profits for the
stores given below. Obtain a regression line for the data and predict for a store assuming sales of
$10 million.
Unit sales x $
million
14
15
16
12
14
20
15
Profit y
$ million
0.15
0.10
0.13
.15
.25
0.27
0.24
0.2
0.27
0.44
0.34
0.17
Solution:
Step1: Plot the data and decide if a linear model is
reasonable.
x
y
Forecasts
7
.15
0.1621124
0.10
0.0824612
0.13
0.1461822
0.15
0.1143217
14
0.25
0.273624
15
0.27
0.2895543
16
0.24
0.3054845
12
0.20
0.2417636
14
0.27
0.273624
20
0.44
0.3692054
15
0.34
0.2895543
0.17
0.1621124
Step2:
n xy x y
n x 2 x
0.0506
n
12
or $162,1124
Example: The owner of a hardware store has noted a sales pattern for window locks that
seems to be parallel the number of break-ins reported each week in the newspaper. The
data are:
sales
46
18
20
22
27
34
14
37
30
Break-ins
c.
Forecast accuracy:
Forecasting accuracy is a significant factor when deciding among forecasting
alternatives. Accuracy is based on the historical error performance of a forecast.
Three common methods for measuring historical errors are:
(i) Mean absolute deviation (MAD): Average absolute error. MAD =
At Ft
n
t
n 1
(iii) Mean absolute percent error (MAPE): Average absolute percent error.
MAPE =
Ft
At
n
100%
Ft
Error 2
Error
Period
Actual
Forecast
Error (A-F)
217
215
0.92%
213
216
-3
1.41
216
215
0.46
210
214
-4
16
1.9
213
211
0.94
219
214
25
2.28
216
217
-1
0.46
212
216
-4
16
1.89
-2
22
76
10.26%
Ft
Ft
n 1
76
10.86
8 1
22
2.75
8
Ft
At
n
100%
10.26%
1.28%
8
Example 2: Calculate MAD, MSE and MAPE for the following data and
compare them
Month
Demand
Forecast
Technique 1
Technique 2
492
488
495
470
484
482
485
480
478
493
490
488
498
497
492
492
493
493
Ft
MADt
A F
t
MADt
2
0.7
2.75
The End