Exercises From Chapter 4
Exercises From Chapter 4
4.1 The table shows the number of units of blood type A that the hospital
Woodlawn has been used in the last 6 weeks.
August 31 360
September 7 389
September 14 410
September 21 381
October 5 374
Sep 21 = 381 +
Sep28 = 368
Oct 5 = 374
August 31 360
September 7 389
September 14 410
September 21 381
October 5 374
Demand 7 9 5 9 13 8 12 13 9 11 7
B) Starting from year 4 and until year 12, forecast the demand using
3-year moving averages. Graph forecasts on the same graph as the
original data.
Year 1 2 3 4 5 6 7 8 9 10 11
Demand 7 9 5 9 13 8 12 13 9 11 7
9 + 13 + 8/3 = 10
13+8+12/3=11
8+12+13/3= 11
12+13+9/3=11.3
13 + 9 + 11 / 3 = 11
9 + 11 + 7 / 3 = 9
1 7
2 9
3 5
5 13 13(6)+9(3)+5(1) /10= 11
6 8 8(6)+13(3)+9(1) /10=9.6
7 12 12(6)+8(3)+13(1) /10=10.9
9 9 9(6)+13(3)+12(1)/10= 10.5
10 11 11(6)+9(3)+13(1)/10=10.6
11 7 7(6)+11(3)+9(1)/10=8.4
12
14
12
10
8 year
6 demand
4
2
0
1 2 3 4 5 6 7 8 9 10 11 12
D) When observing the forecast against the original data, which do you consider that
provides better results.
R=
Demand Forecast
1 7 6
7 12 9.0122 9.0122
R=
If the center received 45 million in July, what will the forecast be for August?
c. For what reason might this forecasting method be inappropriate for this
situation?
1 3,000
2 4,000
3 3,400 3500
R= 3,750
1 3,000
2 4,000
6 3,750 300/3=100
2 4000
6 3,740 420/3=1403700(0.6)+3,800(0.4)/1=3740
1 3000 3000
Me Sales
January 20
February 21
March 15
April 14
May 13
June 16
July 17
August 18
September 20
October 20
November 21
December 23
25
20
15 month
10 sales
5
0
1 3 5 7 9 11 13
months
a.
January 20
February 21
March 15
April 14 20+21+15=56/3=18.66
May 13 21+15+14=50/3=16.66
June 16 15 + 14 + 13 = 42 / 3 = 14
Julius 17 14 + 13 + 16 = 43 / 3 = 14.33
August 17 13 + 16 + 17 = 46 / 3 = 15.33
September 18 16+17+18=51/3=17
October 20 17 + 18 + 20 = 55 / 3 = 18.33
November 21 18 + 20 + 20 = 58 / 3 = 19.33
December 23 20+20+21=61/20.33
Potential smoothing
January 20
February 21
March 15
April 14
May 13
June 16
July 17
August 18
September 20 18
c. With the given data, what method would allow you to prepare the sales forecast?
for next March? The potential softening.
Doug Moodie is the president of Garden Product Limited. For the last 5
years have lost its vice presidents of marketing and operations to give it
sales forecasts. Actual sales and forecasts are presented in the table.
According to MAD, which of the two vice presidents performed better?
forecast?
The vice president who presented the best forecast is the one from marketing with a margin.
of error de9.4202
4.8 The daily high temperatures in the city of Houston during the last week
were the following 93, 94, 9396, 98, 90 (yesterday).
a.
L 93
M 94
M 93
J 96 a: 93 + 94 + 93 = 280 / 3 = 93.33
V 88 94 + 93 + 96 = 283 / 3 = 94.33
S 90 93 + 96 + 88 = 277 / 3 = 92.33
D 96 + 88 + 90 = 274 / 3 = 91.33
B/ forecast the high temperature for today using a 2-day moving average
L 93
M 94
M 93 93 + 94 / 2 = 93.5
J 95 94+93/2=93.5
V 96 93 + 95 / 2 = 94
S 88 95 + 98 / 2 = 96.5
D 90 98 + 88 / 2 = 93
88+90=89 temperature
L 93
M 94
S 88 96 + 88 / 2 = 92 90-92= 2
D 90 88+90=89 2.875
d. calculate the mean squared error for a 2-day moving average.
L 93
M 94
M 93 93.5 0.5*0.5=0.25
J 96 93.5 2.5*2.5=6.25
S 90 92 2*2=4
D 89 52.75/4=13.1875
e. calculate the mean absolute percentage error for the 2-day moving average.
L 93
M 94
M 93 93.5 0.5376
J 96 93.5 100(2.5/96)=2.6042
V 88 94.5 100(6.5/88)=7.3864
S 90 92 100(2/90)= 2.22
D 89 12.7482/4= 3.1871
4.9P.D. uses an x63 chip in some of its computers. The prices of the chip
during the last 12 months.
January $1.80
February 1.67
2
1.9 price per chip
1.8
1.7 moving average
1.6 2months
1.5
1 3 5 7 9 11 13
average
b. Use a 3-month moving average and add it to the graph created in task a.
January $1.80
February 1.67
March 1.70
2
1.9
price per chip
1.8
1.7 moving average
1.6 2 months
1.5 moving average
1 3 5 7 9 11 13 3 months
average
c. which is better (using the mean absolute deviation) the average of 2 months or the
average of 3 months?
R= using the mean absolute deviation, I would think it is the best for calculating.
forecasts.
d. calculate the forecast for each month with exponential smoothing and a
initial forecast for January of $1.80 to a=0.3 and finally to a=5 according to MAD which is a
better?
a.
1 4
2 6
3 4
4 5 4 + 6 + 4 = 14 / 3 = 4.66
5 10 6 + 4 + 5 = 15 / 3 = 5
6 8 4+5+10=19/3=6.33
7 7 5+10+8=23/3=7.66
8 9 10 + 8 + 7 = 25 / 3 = 8.33
9 12 8 + 7 + 9 = 24 / 3 = 8
10 14 7+9+12=28/3=9.33
11 15 9+12+14=35/3=11.66
12 12 + 14 + 15 = 41 / 3 = 13.66
b.
Estimate the demand again for the years 4 to 12 using a moving average.
weighted where the enrollment of the most recent year has a weight of 2 in the
two more years one peso of 1.
YEAR registrations
1 4
2 6
3 4
5 10 5(2)+4(1)+6(1)=20/4=5
8 9 7(2)+8(1)+10(1)=32/4=8
9 12 9(2)+7(1)+8(1)=33/4=8.25
10 14 12(2)+9(1)+7(1)=40/4=10
12 15(2)+14(1)+12(1)=56/4=14
c. Graph the original data and the forecasts? Which of the methods seems
better?
20
15 registrations
10
moving average
5 3 months
0 average
1 3 5 7 9 11 weighted
years
The 3-month moving average is the one that is closest to the enrollments.
1 4 5.0
8 9 6.9091 6.9091
The best forecasting method is the Weighted Moving Average... because its MAD is smaller 2.31
than the other two
Forecast
4.13 As shown in the following table, the demand for surgery for the
heart transplants at Washington General Hospital have increased significantly
stable over the last few years.
Transplant
A. of
Fabric softener
Year Heart Softener = .6 =0.9
1 45 41 41
2 50 43 = 41 + 0.6(45 - 41) 45
3 52 47 = 43.4 + 0.6(50 - 43.4) 49
4 56 50 = 47.36 + 6(52 - 47 - 36) 52
5 58 54 = 50.14 + .6(56.50.14) 56
6 ? 56=53.65+0.6(58-53-65) 58
Transplant
B. of
Moving Average
Year Heart 3 years
1 45
2 50
3 52
4 56 (45+50+52)/3=49
5 58 (50+52+56)/3=53
6 ? (52+56+58)/3=55
C. Transplant of Projection of
Year X Heart And X2 XY Trend
1 45 1 45 2.8 + 13.23 (1) = 16.04
2 50 4 100 2.8 + 13.23 (2) = 29.27
3 52 9 156 2.8 + 13.23 (3) = 36.88
4 56 16 224 2.8 + 13.23 (4) = 50.39
5 58 25 290 2.8 + 13.23 (5) = 68.96
6 55 36 330 2.8 + 13.23 (6)=82.19
Ex= 21 Ey=261 Ex2=91 Exy=1,145
X = 21/6 = 3.5
Y = 261/6 = 43.5
The least squares equation for the trend is Y = 2.81 plus 13.23x
4.14 go back to problem 4.13 based on the MAD criterion. Which of the 4
is forecasting better?
1 45 41 4.00 41 4.00
2 50 43 7.00 45 5.00
3 52 47 5.00 49 3.00
Exponential Softener .6
MAD= 5.2
Exponential Softener .9
MAD= 3.6
MAD Moving Average=6.2
1 45 1 45 45.8 0.80
2 50 4 100 49 1.00
/5=0.64
X= 15/5
=3
Y = 261/5 = 52.2
4.15 Take up the solved problem 4.1 from page 136. Use a 3-year mobile for.
forecast the sales of Volkswagen Beetle in Nevada during 2003.
Year sales 3-year moving average
1998 450
1999 495
2000 518
The sales of 2003 according to the 3-year moving average forecast would be 555.
4.16 Revisit the solved problem from 4.1 using the projection method.
trend forecasted Volkswagen Beetle sales in Nevada 2003.
YEAR X SALES X2 XY
X = 15/5 = 3
Y = 2,610 / 5 = 522
55 - (5) (3 '' 2) 10
4.17 return to the solved problem 4.1 with smoothing constants of .6 .9 and
forecast Volkswagen sales. What effect does the smoothing constant have?
use MAD to determine which of the three smoothing constants (3.6.9) gives the
most accurate forecast.
Year units forecast 0.3 MAD 0.6 MAD 0.9 MAD
4.18Return resolved problem 4.1 and to the problems of 4.15 and 4.16 with
MAD as a criterion? I would use exponential smoothing with a constant of
smoothing of .3 as shown in problem 4.1 a moving average of 3
Would you use the trend to predict Volkswagen Beetle sales?
Explain your answer?
Soothing
Year Sales Exponential .3 MAD 3-Year Moving Average MAD
1998 450 410 40
1999 495 422 73
2000 518 444 74
2001 563 466 97 488 75
2002 584 495 89 525 59
X = 15/5 = 3
Y=2,610/5= 522
4.19 the income in the law firm of Wesson for the period of
February to July have been?
F+ T+ FIT+
Income Trend Forecast
Me Annual Forecast per month smoothed including
Trend
Feb 70 65 0 65
Mar 68.5 70 + 1(70 - 65) = 70.5 1.9 72.4
Apr 64.8 70.5 + 0.1(68.5 - 70.8) = 70.3 1.56 71.86
May 71.7 70.3 + 0.1(64.8 - 70.3) = 69.75 1.36 71.11
June 71.3 69.75 + 0.1(71.7 - 69.75) = 69.95 1.13 71.08
Jul 72.8 69.95 + 0.1(71.3 - 69.95) = 70.09 0.93 71.02
Ago 70.09 + 0.1(72.8 - 70.09) = 70.36 0.8 69.56
April... = .2(70.3-70.5)+(1-.2)(1.9)
= .2(0.2)+1.52
1.56
Julio... = .2(70.09-69.95)+(1-.2)(1.13)
= .2(0.14)+0.904
= 0.93
August... = .2(70.36-70.09)+(1-.2)(0.93)
= .2(0.27)+0.744
0.80
In this problem, show your calculations for months 5 and 6 for Fr Tr and Fiar.
= 4 + 13.824= 17.82
Step 2: T9 = .4(29.28-27.14)+0.6(2.45)
.4 (2.14)+0.6(2.45)
0.85 + 1.47 = 2.32
Sales
Me Unitarians Forecasts MAD. MAPE
2001-2002 Adm.
July 100
August 93
September 96
October 110
November 124
December 119
January 92
February 83
March 101 120 19 100(19/101)=18.81 %
April 96 114 18 100(18/96)=18.75%
May 89 110 21 100(21/89)=23.60%
June 108 108 0 100(0/108)=0%
58 61.16%
The results of the Administration exceeded, they have MAD of 14.5 less than
MAPE
with 15.29 %
4.24
(Y) (x)
Appearance
Demand for pumps on TV. X2 Xy
of Green
Shades
3 3 9 9
6 4 16 24
7 7 49 49
5 6 36 30
10 8 64 80
8 5 25 40
1
EX=39 EY=33 99 32
X = 33/6 = 5.5
Y = 39/6 = 6.5
a = 6.5 - 1 (5.5) 1
Y=1+9
Y = 10
Series of 10 Bombs
4.25
Month My (X) X2 XY
No. Of
Accident
Y s
1 January 30 900 30
2 February 40 1600 40
3 March 60 3600 60
4 April 90 8100 90
1
EY=10 220 4,200 20
X = 220 / 4 = 55
Y = 10/4 = 2.5
a = 2.34
(55) 6.3
Dema Deman
here you go Index
Prome Prome Station
Years god god nal
Station 2 Mensu
nes 1 2 Years to
Autumn 20 250 225 83 2.71
Summer 300 285 292.5 83 3.524
Winter 350 300 325 83 3.916
Primavera
ra 150 165 157.5 83 1.898
1,000.0
Total Average Annual Demand 0
Demand 1200
Next Year
Estacio
nes Demand
1200/12x2.
Autumn 710 = 271
1200/12x3.
Summer 524 = 352
Winter 1200 divided by 12 times 3.
916= 392
Primave 1200/12x1.
ra 898 = 190
4.27
Days/Week Average Demand Average Daily Demand Seasonal Index
Monday 85 94 0.904
Tuesday 74 94 0.787
Wednesday 87 94 0.926
Thursday 97 94 1.032
Friday 134 94 1.423
Saturday 139 94 1.479
Sunday 42 94 -447
Diary
4.28
Average Demand
Seasons Quarters Average Demand Quarterly Index
2001 2002 2003
Winter 73 65 89 76 110 0.691
Spring 104 82 146 111 110 1.009
Summer 168 124 205 166 110 1.509
Autumn 74 52 222 87 110 0.791
Total average of
Demand 440/4 =
Quarterly 110
4.29
DEMAND CURVE D = 77 + 0.43Q
Adjusted Forecast
Quarter Demand kWts.
I TRIMESTER 71.58
SECOND QUARTER (.8) (89.9) = 98.89
THIRD QUARTER 0.8 * 90.33 = 126.46
IV QUARTER 63.53
4.30
Y = 36 + 4.3x
Y= 36 + 4.3 (70)
Temperature Demand
80°F
Y = 36 + 4.3 (80)
Y= 380
Temperature Demand
90°F
Y = 36 + 4.3 (90)
Y= 423
4.31
(X) (Y)
Year Seasons Sales X2 Xy
1 Spring/Summer 26,825 1 26,825
2 Autumn/Winter 5,722 4 11,444
3 Spring/Summer 28,630 9 85,890
4 Autumn/Winter 7,633 16 30,532
5 Spring/Summer 30,255 25 151,272
6 Autumn/Winter 8,745 36 52,470
EX=21 107,810 91
X = 21/6 = 3.5
Y = 17,968.33 17,968.33
Error
Sy,x = 479,759,427.7
4
Sy,x = 119,939,856.9
4.32
(X) (Y)
Weeks Guests Sales of the Bar X2 Xy
1 16 $ 330 256 5,280
2 12 $270 144 3,240
3 18 $380 324 6,840
4 14 $300 196 4,200
n=4 60 1,280 920
X = 60 / 4 = 15
Y = 1,280 / 4 = 320
Forecast is 20
Y = 20 + 18 (20) Y= 410
It is expected that
the sales are $410
4.33
15 EY = 900 55 10,285.12
MAPE
100(59.64/140)=42.6
18.64
100(10/190)=5.26
14.91
100(69.64/210)=33.16
114.57%
X = 15/5
=3
Y= 900/5= 180
Y = 30.54 + 49.82
Y= 30.54 + 49.82 (1) Y= 30.54 + 49.82 (2) Y= 30.54 + 49.82 (3) (4)
Y=
Y = 80.36 130.18 Y=180 Y= 229.82
2,057.02
NEXT YEAR
Y= 30.54 + 49.82
(6)
Mean Absolute Percentage Error (MAPE) Y= 329.46
114.57% 22.91%
5
4.34
No, of Amount of
Automobiles Beverage Sales rain
Registered in Alcoholic beverages
Miles units inches
X1 X2 X3
(a) 2 3 0
(b) 3 5 1
(c) 4 7 2
FORMULA
Y = a + b1 x1 + b2 x2 + b3 x3
a=
7.5
b1=
3.5
b2=
4.5
b3=
2.5
A)
Y = 7.5 + 3.5 (2) + 4.5 (3) + 2.5
0
Y= 7.5 + 7 + 13.5 + 0
Y= 28
B)
Y= 7.5 + 3.5 (3) + 4.5 (5) + 2.5
(1)
Y= 43
C)
Y = 7.5 + 3.5 (4) + 4.5 (7) + 2.5
(2)
Y = 7.5 + 14 + 31.5 + 5
Y= 58