Demand Forecasting Problems
Demand Forecasting Problems
Xt + Xt-1 + Xt-2
Ft=
3 , t=3, 4, & 5
Now the three periods moving average forecast is given in the following table
Let Xt denote the number of viewers of baseball game of the tth period. Now the 4 period mov-
ing average of the t+1th period is given by
Now the four periods moving average forecast is given in the following table
Here,
α= 0.4
A=actual data
F=forecasted data
t=period number
α 0.4
1 4
5
24
18
22.28
22.968
6 21 20.9808
7 26 20.98848
8 19 22.993088
9 15 21.3958528
10 28 18.83751168
2 11
12
25
26
22.50250701
23.5015042
13 17 24.50090252
14 23 21.50054151
4. The number of girls who attend a summer basketball
camp has been recorded for the seven years the camp
has been offered. Use exponential smoothing with a
smoothing constant of .8 to forecast attendance for
the eighth year.
Ft=Ft-1+α (At-1-Ft-1)
Here; α= 0.8
α 0.8
No of Piz- Squared
Weeks za Ft by exponential smoothing Error Error
1 58
2 46 58 -12 144
3 55 55.6 -0.6 0.36
4 39 55.48 -16.48 271.5904
5 42 52.184 -10.184 103.713856
6 63 50.1472 12.8528 165.1944678
7 54 52.71776 1.28224 1.644139418
8 55 52.974208 2.025792 4.103833227
9 61 53.3793664 7.620634 58.07405647
10 52 54.90349312 -2.90349 8.430272298
11 54.3227945
ˆ n∑ xi yi − (∑ xi )(∑ yi )
β=
n∑ xi2 − (∑ xi )2
∑ y − βˆ ∑ x i i
And
αˆ =
n
x Y Xy x2 y2
1 63 63 1 3969
2 58 116 4 3364
3 61 183 9 3721
4 72 288 16 5184
5 98 490 25 9604
6 103 618 36 10609
7 121 847 49 14641
8 147 1176 64 21609
9 163 1467 81 26569
10 198 1980 100 39204
55 1084 7228 385 138474
=138474
Thus
ˆ 10*7228 − 55*1084
β=
10*385 − (55) 2 = 15.3455 and
1084 − 15.3455*55
αˆ = = 24
10
Thus the trend equation is
y = 24 + 15.3455 x
The next year’s number of new contributors can be obtained by substituting x = 11 in the re-
gression equation y = 24 + 15.3455 x and is given by,
y = 24 + 15.3455*11
= 192.8
= 193
8. The average SAT verbal score for students from one
high school over the last ten exams is
508, 490, 502, 505, 493, 506, 492, 490, 503, 501
Do the scores support an increasing or a decreasing
trend?
SAT Verbal
Exam Score
1 508
2 490
3 502
4 505
5 493
6 506
7 492
8 490
9 503
10 501
510
SAT Verbal Score
y = -0.3515x + 500.93
R² = 0.0231
505
SAT Verbal Score
500
495
490
485
0 2 4 6 8 10 12
Exams
T = 16.32 - .18(t)
C2 = .91
S2 = .75
t=0.91*0.75
= 0.6825
T= 16.32- 0.18*0.6825
T= 16.32-0.12285
T= 16.19715
10. The number of properties newly listed with a real
estate agency in each quarter over the last four
years is given. Calculate the seasonal index
values.
Year
Quarter 1 2 3 4
1 73 81 76 77
2 89 87 85 92
3 123 115 108 131
4 92 93 87 101
a.
Quarter 1 Average Index 2 Average Index 3 Average Index 4 Average Index
Winter 64 98 0.653061 66 100.25 0.658354 68 103 0.660194 73 114.25 0.63895
Spring 103 98 1.05102 103 100.25 1.027431 104 103 1.009709 120 114.25 1.050328
Summer 152 98 1.55102 160 100.25 1.59601 162 103 1.572816 176 114.25 1.540481
Fall 73 98 0.744898 72 100.25 0.0288 78 103 0.757282 88 114.25 0.770241
TOTAL 392 401 412 457
b.
(1) (2) (3) (4) (5) (6) '3/5 (7) 1*1 (8) 1*6
Period Quarter Actual Billing Average of the same quarters for each Seasonal Factor Deseasonalized Billing Square of x*yb
(x) (y) year (yb) Period
1 Winter 64 67.75 0.000751734 85136.53137 1 85136.531
2 Spring 103 107.75 1.037304452 99.29582367 4 198.59165
3 Summer 152 162.5 1.564380265 97.16307692 9 291.48923
4 Fall 73 77.75 0.748495788 97.52893891 16 390.11576
5 Winter 66 0.000751734 87797.04797 25 438985.24
6 Spring 103 1.037304452 99.29582367 36 595.77494
7 Summer 160 1.564380265 102.2769231 49 715.93846
8 Fall 72 0.748495788 96.19292605 64 769.54341
9 Winter 68 0.000751734 90457.56458 81 814118.08
10 Spring 104 1.037304452 100.2598608 100 1002.5986
11 Summer 162 1.564380265 103.5553846 121 1139.1092
12 Fall 78 0.748495788 104.2090032 144 1250.508
13 Winter 73 0.000751734 97108.85609 169 1262415.1
14 Spring 120 1.037304452 115.6844548 196 1619.5824
15 Summer 176 1.564380265 112.5046154 225 1687.5692
16 Fall 88 0.748495788 117.5691318 256 1881.1061
136 1662
c.
Avg Of X = 136/16= 8.5,
∑xyb – n*avg(x)avg(yb)
B= = -1805.25
2 2
∑x – n*avg(x)
Therefore Y=A+Bx
Y = 37953.73+(-1805.25)x
12. A customer comment phone line is staffed from
8:00 a.m. to 4:30 p.m. five days a week. Records
are available that show the number of calls
received every day for the last five weeks.
Week Day Number Week Day Number
1 M 28 4 M 35
T 12 T 17
W 16 W 16
TH 15 TH 20
F 23 F 29
2 M 29 5 M 37
T 10 T 19
W 14 W 18
TH 14 TH 21
F 26 F 28
3 M 32
T 15
W 15
TH 18
F 27
Slope Intercept
0.28 17.67
So, if we take the 1st year attendance and put in to the equation we get,
Attendance = 6738 + 0.23*1250 + 0.25*8363 like wise we get from excel sheet.
Advertising
Year Attendance Expenditure Forecast Error
1 8363 750
2 9426 1250 9116.25 309.75
3 9318 3200 9830.5 -512.5
4 10206 4500 10102.5 103.5
5 11018 5600 10577.5 440.5