251y0141 12/29/01 Name KEY Class ________________

advertisement
251y0141 12/29/01
With Corrections!
ECO251 QBA1
FINAL EXAM
DECEMBER 12, 2001
Name KEY
Class ________________
Part I. Do all the Following (20 Points) Make Diagrams! Show your work!
A. z ~ N (0,1)
1. P2.00  z  2.00   2P0  z  2.00   2.4772   .9544
2. P3.21  z  1.24   P3.21  z  0  P1.24  z  0  .4993  .3925  .1068
3. P2.17  z  3.21  P0  z  3.21  P0  z  2.17   .4993  .4850  .0143
4. Pz  1.83   Pz  0  P0  z  1.83  .5  .4664  .9664
Note that probabilities cannot be above 1 or below 0. A large fraction of the errors made on this or
any other exam are exactly what you were reminded of in "Things you should Never do on an
exam…." Look at it before every exam!
z .19 is the 81st percentile of the distribution, the point with a probability of .19 above it or .81
below it. Since 81% is below this point and 50% is below zero, from the diagram P0  z  z.19   .3100 .
the closest we can come to this probability using the Normal table is P0  z  0.88   .3106 . So
z .19  0.88 .
5. z .19
1
251y0141 12/03/01
B. x ~ N 2, 3 .
2.00  2.0 
  2.00  2.0
z
1. P2.00  x  2.00   P
  P 1.33  z  0   .4082
3
3


 1.24  2.0 
  3.21  2.0
z
2. P3.21  x  1.24   P
  P 1.74  z  1.08 
3
3


 P1.74  z  0  P1.08  z  0  .4591  .3599  .0992
3.21  2.0 
 2.17  2.0
z
3. P2.17  x  3.21  P
  P0.06  z  0.40 
3
3


 P0  z  0.40   P0  z  0.06   .1554  .0239  .1315
1.83  2.0 

4. Px  1.83   P z 
  Pz  0.06   Pz  0  P0.06  z  0  .5  .0239  .4761
3


5. x.19 - x.19 is the 81st percentile of the distribution, the point with a probability of .19 above it or .81
below it. Since 2 is the mean and median of this distribution, x.19 must be above it. On the previous page
we found z .19  0.88 . So x.19    z.19  2.0  0.883  4.64 .
4.64  2.0 

To check to see if this is correct: Px  4.64   P z 

3


 Pz  0.88   Pz  0  P0  z  0.88   .5  .3106  .1894  .19.
2
251y0141 12/03/01
II. (4 points-2 point penalty for not trying .) Show your work!
We are investigating the cost of remodeling a kitchen. Contractors are asked for
estimates, with the following results:
contractor
1
2
3
4
5
Estimate($thousands)
20.4
22.1
25.3
25.7
19.9
Compute the sample standard deviation, s , for the contractors' estimates (not the number of the
contractor!). Show your work. (4)
Solution:
x
1
20.4
2
22.1
3
25.3
4
25.7
5
19.9
Total 113.4
 x  113 .4 ,  x
x
2
 2601 .16 and n  5 . So
 x  113 .4  22.68
n
5
x2
416.16
488.41
640.09
660.49
396.01
2601.16
sx2 
x
2
 nx 2
n 1

2601 .16  522 .68 2 29.248

 7.312
4
4
sx  7.312  2.7041 .
3
251y0141 12/03/01
III. Do at least 4 of the following 6 Problems (at least 12 each) (or do sections adding to at least 48 points Anything extra you do helps, and grades wrap around) . Show your work! Please indicate clearly what
sections of the problem you are answering! If you are following a rule like E ax  aEx  please state it! If
you are using a formula, state it! If you answer a 'yes' or 'no' question, explain why! If you are using the
Poisson or Binomial table, state things like n , p or the mean. Avoid crossing out answers that you think
are inappropriate - you might get partial credit.
1. Using the sample mean and sample standard deviation from the sample of 5 on the previous page (and
assuming that a confidence interval is a valid thing to do under the circumstances):
a. Compute a 99% confidence interval for the average estimate. (4)
b. Compute a 99% confidence interval for the average estimate assuming that the sample of 5 was taken in a
town where there are only 26 kitchen remodelers. (4)
c. Compute a 99% confidence interval for the average estimate using the sample mean that you found from
the sample of 5 on the previous page but assuming that there are only 26 kitchen remodelers in town and
that you know that the population standard deviation is 10.1 ($thousands) (4)
d. What must be true about the distribution from which the data on the previous page comes for a
confidence interval to be valid for such a small sample? (1)
x 2  nx 2
x 113 .4
Solution: From the previous page x 

 22 .68 , sx2 
 7.312 and
n
5
n 1


sx  7.312  2.7041 . This problem is almost identical to Problem O1.
For all these sections the confidence level is 1    .99 and the significance level is
  1  .99  .01 . n  5 .
Repeat after me! " z goes with  (sigma - population variance); t goes with s (sample variance)!"
 .01
4

 .005 . From the t-table, tn 1  t.005
a) The degrees of freedom are n  1  5  1  4 .
 4.604 ,
2
2
2
s
2.7041
sx  x 
 1.209 .
n
5
Putting this all together   x  t n1 s  22.68  4.604 1.209   22.68  5.566 or 17.114 to 28.246.

2
x
More formally, P17 .114    28 .246   .99 .
b) The population size, N  26 , is less than 20 times the sample size n  5 , so sx 
sx
n
N n
N 1
26  5
4
 1.209 0.9165   1.108 . It is still true that tn 1  t.005
 4.604 , so
2
26

1
5
  x  tn1 s x  22.68  4.604 1.108   22.68  5.101 or 17.579 to 27.781. More formally,

2.7041
2
P17.579    27.781  .99 .
x
N  n 10 .1 26  5

 4.517 0.9165   4.140 . From the t-table z 2  z.005  2.576 .
N 1
5 26  1
  x  z 2 x  22.68  2.576 4.140   22.68  10.665 or 12.015 to 33.345. More formally
c)  x 
n
 P12.015    33.345   99% .
d) for a confidence interval based on z or t to be valid for a sample with n  30 , the underlying
distribution must be Normal.
4
251y0141 12/03/01
2. A manufacturer claims that less than 1% of the jorcillators it sells you are defective.. To be charitable, in
the problem assume that the probability is exactly 1% (Remember, 'at least 2' means 2 or more.)
a. Assume that you buy 25 jorcillators and that 2 are defective.
(i) Without using a table find the probability that exactly 2 are defective.(3)
(ii) To check your answer, find the same probability using a binomial table (2)
(iii) Find the probability that at least 2 are defective. (2)
b. Assume that you buy 250 and that the 1% probability is still valid. Show that you can use the Poisson
distribution and find
(i) The probability that exactly two are defective (1)
(ii) The probability that at least 2 are defective (2)
c Assume that you buy 600 and that the 1% probability is still valid. Show that you can use the Normal
distribution. and find the probability that at least 2 are defective. (3)
d. Suppose that you buy 25 jorcillators, but that they come from a batch of 400 that is 1% defective. Find
the probability that at least 2 are defective. You may leave your answer in factorial form. (3)
e. Suppose that you buy a large number of jorcillators and that they are 1% defective. What is the
probability that the first defective one you find will be among the first ten that you inspect? (2)
f. EXTRA CREDIT - The big question here is do we believe that 1% or fewer are defective. The test is to
take a sample and see how many are defective. If k items are defective, we figure out the probability that k
or more items are defective if the probability is 1%. If this probability is below 1% we say we strongly
doubt that less than 1% are defective. On the basis of what you found here if 2 were defective, do we
strongly doubt that less than 1% are defective in a), b) and c)? In each case tell why. (1.5)
Solution: a) (i) Binomial: Px  Cxn p x qn x . Px  2 when n  25 and p  .01 ,
q  1  p  1  .01  .99 so
 25! 
25  24
.012 .99 23 
.0001 .7936   .023808 .
P2  C225 p 2 q 23  
2 1
 23!2! 
(ii) Using the table, we get Px  2  Px  2  Px  1  .99805  .97424  .02381
(iii) Px  2  1  Px  1  1  .97424  .02576 . See Problem L1.
b) This is still a binomial probability problem. p  .01 , q  1  p  1  .01  .99 , n  250 . If we test to
see if the Poisson Distribution can be used, we find
n 250

 25000 . Since this is above 500,
p .01
we can use the Poisson Distribution. The mean is   np  250 .01  2.5.
(i) Using the Poisson2.5 table, we find that Px  2  .256516 . See Problem L8.
(ii) Using the Poisson2.5 table, we find that Px  2  1  Px  1  1  .28730  .71270 .
c) This is still a binomial probability problem. p  .01 , q  1  p  1  .01  .99 , n  600 . If we test to
see if the Normal Distribution can be used, we find np  600 .01  6 and
nq  n  np  600  6  594. Since these are both above 5, we can use the Normal Distribution.
The mean is   np  600 .01  6.0 and the variance is  2  npq  6.99  5.94 .
(   5.94  2.4372 .) We want Px  2 , but if we use the continuity correction we expand the

1.5  6 
  Pz  1.84 
to get Px  1.5  P z 
5.94 

 P1.84  z  0  Pz  0  .4671  .5  .9671 . See Problem M7.
bottom of the interval downward by
1
2
5
251y0141 12/03/01
d) Because the total possible defectives are now limited by the size of the population to 1% of 400, which is
4, and the population size is less than 20 times the sample size n  25  , we must use the
Hypergeometric Distribution. Px  
C xM C nNxM
, N  400 ,
C Nn
M  Np  4 . Px  2  1  Px  1  1  P0  P1
  396!   396!  
 1
  4


  371!25!   372!24!  


 1 
 . See Problem L9.

400!





375!25!


e) Because we are now asking about the probability of the first success, we can use the Geometric
Distribution with p  .01 , q  1  p  1  .01  .99 , F c  Px  c  1  q c . So
396
 C 4C25
 1   0 $00
 C
 25
396
C14C24
$00
C25
Px  10   1  q 10  1  .99 10  1  .90438  .09562 . See Problem L2.
f) Since in every case, Px  2 is above 1%, we cannot say that we strongly doubt the hypothesis that the
defect rate is 1% or lower. You will find out that the results in a) might lead us to be suspicious.
6
251y0141 12/03/01
3. Businesses of the type that use my industrial park produce an average of 950 gallons of sewage per day
with a standard deviation of 280 gallons. There are 49 businesses in my park.
a. If , on one day, I compute a sample mean for these 49 businesses, what is the standard error (standard
deviation of the sample mean)? (2)
b. Using the standard error that you found in a), find
(i) A symmetrical interval about the mean with a probability of 62% (2)
(ii) The probability that the sample mean is between 830 and 1030 gallons. (2)
(iii) If my sewer lines can take no more than a total of 51000 gallons per day, what is the probability that
they will overflow on a given day? (3)
c. Assume that I do not know the population mean above, but that I find that the total amount of sewage on
a given day by all 49 businesses is 43228 gallons, make a confidence interval for the average sewage for an
individual business with a confidence level of 62%. (3)
d. Assume again that the population mean is 950 gallons with a standard deviation of 280. I charge each
business a daily maintenance charge of $10 plus $0.085 for each gallon of sewage. What is the mean and
standard deviation of the daily charge for an individual business? (3) What is the probability of a daily
charge above $100.00? (Assume Normal distribution) (2)
Solution: The problem says   950,   280 and n  49.
a) The formula for the standard error is  x 


280
 40 . See exercise 6.16.
n
49
b) (i) We wish to find a symmetrical interval about the mean with a probability of 62%. Make a diagram!
The diagram for z will show a central area with a probability of 62%. It is split in two by a
vertical line at zero into two areas with probabilities of 31%. The tails of the distribution each
have a probability of 50% - 31% = 19%. From the diagram, we want two points z .19 and  z .19
so that P z .19  z  z .19   .6200 . The upper point, z .19 will have
P0  z  z .19  
62 %
 .3100 . From the interior of the Normal table the closest we can come to
2
.3100 is P0  z  0.88   .3106 . z.19  0.88. The interval for x can then be written
x    z.19 x  950  0.8840   950  35.2 or 914.8 to 985.2.
985 .2  950 
 914 .8  950
z
To check this P914 .8  x  985 .2  P 

40
40


 P0.88  z  0.88   2P0  z  0.88   2(.3106 )  .6212  .62. See Problem M1.
1030  950 
 830  950
z
(ii) P830  x  1030   P 
 (Make a diagram!)
40
40


 P3.00  z  2.00   P3.00  z  0  P0  z  2.00   .4987  .4772  .9759
See Exercise 6.20.
51000 
1040 .82  950 


x  51000  P x 
(iii) P
  Px  1040 .82   P  z 

49
40




 Pz  2.27   Pz  0  P0  z  2.27   .5  .4884  .0116 . (Make a diagram!)
See Problem N1.
43228
 882 .20 Note that the significance level is   1  .62  .38 . We have already found out
c) x 
49
that z  z.19  0.88. The formula for a two-sided confidence interval when  is known is


2
  x  z 2 x  882 .20  0.8840.0  882 .20  35.20 or 847.0 to 967.4. See Problem O1.
7
251y0141 12/03/01
d) If x is the amount of sewage, the formula for the daily charge for an individual firm is
w  0.085 x  10.00. See Problem J4.
(i) We know that if w has the form w  ax  b ,  w  Eax  b  aEx   b and Varw   w2 
Varax  b  a 2Varx  In this case a  0.085 and b  10 .00 . So  w 
 0.085 950   10.00  90.75. , and Var y    y2  0.085 2 280 2 or  y  0.085 280   23.8 .
(ii) There are two ways to do this problem. We can solve w  0.085 x  10.00  100 and find that
1058 .82  950 

at 100, x  1058 .82 . We can then find that Px  1058 .82   P  z 

280


 Pz  0.39   Pz  0  P0  z  0.39   .5  .1517  .3483 . Or we can realize that w has the
Normal distribution with a mean of 90.75 and a standard deviation of 23.8. We can then compute
100  90 .75 

Pw  100   P  z 
  Pz  0.39   Pz  0  P0  z  0.39   .5  .1517  .3483 .
23 .8


8
251y0141 12/03/01
4. A survey of top executives reveals that 35% of them read Time Magazine and 40% read US News and
World Report. 20% read both. Let U be the event that an executive reads US News, U be the event that
the executive does not, T be the event that an executive reads Time and T that the executive does not
read Time.
a. If these are the only newsmagazines that executives read, what is the probability that a randomly picked
executive reads at least one newsmagazine? (2)
b. What is the probability that an executive who reads US News also reads Time? (2)
c. Use your result in b), PU  , PT  and Bayes' rule to find the probability that an executive who reads
Time also reads US News. (2)
d. Make a joint probability table for the 4 events. (2)
e. Assuming that PT   .35 and PU  =.40, what would P U  T have to be if T and U were mutually
exclusive? (Hint: Use a new joint probability table.) (2)
f. Using the probabilities given at the beginning of the problem, assume that Time costs $2.00 a week and
US News costs $2.40 a week, find the distribution of the amount a randomly picked executive spends on
newsmagazines weekly and the mean and variance of the amount. (5)


Solution: PT   .35 , PU   .40, PT U   .20 .
a) PT U   PT   PU   PT U   .35  .40  .20  .55
PT  U  .20

 .5 . Most of you seem to have forgotten the
PU 
.40
difference between a joint and a conditional probability! See exercise 3.33.
P T U PU  .5.40 

 .5714 Bayes' rule problems were in D&C, pg. 103.
c) By Bayes' Rule P U T  
PT 
.35
 
b) By the Multiplication Rule P T U 
d) We start with
T
T
U U
.20
.40
e) We start with
T
T
U U
0
.40
U U
.20 .15
.35
1.00
.20 .45
.40 .60
.65
1.00
.35
U U
0 .35
.35
.40 .25
.40 .60
.65
1.00
.35
and fill in
1.00
f) The probabilities come from d).
Magazine
Time only
US News only
Both
Neither
So  x  E x  
and fill in
Cost
x
2.00
2.40
4.40
0
 x  Px  1.66
T
T
T
T
Probability
P x 
.15
.20
.20
.45
1.00
See 2nd exam.

 
x Px 
x 2 Px 
0.30
0.48
0.88
0.00
1.66
0.600
1.152
3.872
0.000
5.624
 

. So P U  T  P T  U  .25 .
 x2  Var x   E x 2   x2  5.624  1.66 2  2.8684 .
251y0141 12/03/01
9
5. The following data gives occupancy rates x (in per cent) and room rates y (in $) for a randomly picked
sample of 10 US hotel markets.
Market
occ
rate
room
rate
1
68
76
2
72
92
3
68
94
4
68
82
5
70
75
6
69
81
7
69
70
8
79
106
9
62
66
10
71
85
According to Minitab the mean occupancy rate is 69.6000, the variance for occupancy rates is 18.0447, the
mean for room rates is 82.7000 and the variance for room rates is 145.567. Do not compute any means
and variances in this problem!
a.
The sample covariance between the occupancy rate and the room rate (4)
b
The sample correlation between the occupancy rate and the room rate (2)
c.
Interpret the correlation (1)
Answers to questions d) and e) must be based on the results in questions a)-c) and the variances given
by Minitab. Do not recompute the answers after changing x or y ! Show how you got your answers!
d.
If, due to recession, occupancy rates fall by 1 (i.e. to 67 , 71, 67 etc.), but room rates are
unchanged, what would the variance for occupancy rates and the covariance and correlation
computed above become? (2)
e.
If, instead, occupancy rates fall by 1, but all room rates rise by 4% (i.e. they become
79.04, 95.68, 97.76 etc.), what would the variance of room rates and the covariance and
correlation computed in a), b) and c) above become? (3)
Solution: a) From the computations below s xy  41.2001
b) From the computations below rxy  .8039 .
c) Since the sign is positive, x and y tend to move together. Since rxy2  .646 , on a zero to one scale, this
is a middling relationship. Note that r 2  1 is impossible.
10
251y0141
11/19/01
x
x2
xy
y
y2
68 4624 76 5776 5168
72 5184 92 8464 6624
68 4624 94 8836 6392
68 4624 82 6724 5576
70 4900 75 5625 5250
69 4761 81 6561 5589
69 4761 70 4900 4830
79 6241 106 11236 8374
62 3844 66 4356 4092
71 5041 85 7225 6035
696 48604 827 69703 57930
Note that only the xy column was needed.
obs
1
2
3
4
5
6
7
8
9
10
x
xy
rxy 
n 1
s xy
sx s y

41 .2
x

y
10
2
 nx 2

 y  827  82.7
s 2y 
n

10
y 2  ny 2

69703  10 82 .7 2
9
n 1
 145 .567
y 2  69703 and
xy  57930
9
9
n
48604  10 69 .6 2
n 1
9
 18 .0444 Slight discrepancy 
s x2
 x  696 ,  x  48604 ,  y  827 , 
 xy  nx y  57930  1069.682.7  370 .8  41.2
s 
2
 x  696  69.6

so
 0.8038 Repeated from 3rd exam.
18 .0444 145 .567
d) Occupancy rates fall by 1, so x is replaced by x  1. Recall the following formulas:
Varax  b  a 2Varx 
See Problems K1 and K2.
Varcy  d   c Var y 
Cov(ax  b, cy  d )  acCov( x, y)
and if w  ax  b and v  cy  d , rwv  signacrxy .
2
In this case a  1, b  1, c  1 and d  0.
Var1x  1  12 Varx  18.0447.
Cov(1x  1,1y  0)  11Cov( x, y)  41.2.
rwv  sign11rxy  .8038.
e) In this case x is replaced by x  1, and y is replaced by 1.04 y , so a  1, b  1, c  1.04 and d  0.
Var1.04 y  0  1.04 2 Var y   1.04 2 145.567  157.45.
Cov(1x  1, 1.04 y  0)  11.04 Cov( x, y)  1.04 41.2  42.84.
rwv  sign11.04rxy  .8038.
11
251y0141 12/03/01
6. A jorcillator has two components, a phillinx and a flubberall. As long as both are working the
jorcillator will not be junked. If either fails the jorcillator must be junked.
a. If a phillinx has a lifespan approximated by a uniform distribution between 5 and 18 years, find:
(i)
The mean and standard deviation of its life. (2)
(ii)
The probability that it will last less than 10 years (2)
(iii)
The probability that it will last between 10 and 20 years (2)
(iv)
The probability that it will last more than 20 years (1)
b. If a flubberall has a lifespan approximated by a Normal distribution with a mean of 16 years and
a standard deviation of 4 years, find
(i)
The probability that it will last less than 10 years (2)
(ii)
The probability that it will last between 10 and 20 years (2)
(iii)
The probability that it will last more than 20 years (1)
c. Now, put them together and find
(i)
The probability that the jorcillator will last less than 10 years. (2)
(ii)
The probability that the jorcillator will last between 10 and 20 years. (3)
(iii)
The probability that the jorcillator will last more than 20 years. (2)
Solution:
a) For the Phillinx: c  5, d  18 Make a diagram. Show a box between 5 and 18 with a height of
f x  1d c   1185  113 . Shade the areas between 5 and 10 and between 10 and 18.
0
5
10
18
20
c  d 5  18
d  c 2  18  52  14.083   14.083  3.7528

 11 .5
2 
2
2
12
12
(ii)
Let A be the event that the Phillinx lasts 0 - 10 years. There is no probability below 5.
1
P A  P0  x  10   10  5  .38462 .
13
(iii)
Let B be the event that the Phillinx lasts 10 - 20 years. There is no probability above 18.
1
PB   P10  x  20   18  10   .61538 .
13
(iv)
Let C be the event that the Phillinx lasts more than 20 years. Since there is no probability above
18, PC   Px  20   0.
Note that these three probabilities must add to 1. See Problem J8 and 3rd graded assignment.
(i)

12
251y0141 12/03/01
b) For the Flubberall: x ~ N 16, 4 . Make a diagram. Show normal curve with a center at 16 divided into
three areas by vertical lines at 10 and 20. Remember z 
x
. We need the following probabilities:

Px  10  , P10  x  20  and Px  20  . Though these can be found directly, it is more economical to use
the cumulative distribution.
10  16 

F 10   Px  10   P z 
  Pz  1.50   Pz  0  P1.50  z  0  .5  .4332  .0668 .
4 

20  16 

F 20   Px  20   P z 
  Pz  1.00   Pz  0  P0  z  1.00   .5  .3413  .8413 .
4 

(i) Let D be the event that the Flubberall lasts 0 - 10 years. PD   F 10   .0668
(ii) Let E be the event that the Flubberall lasts 10 - 20 years.
PE   P10  x  20   F 20   F 10   .8413  .0668  .7745 .
(iii) Let F be the event that the Flubberall lasts more than 20 years.
PF   Px  20   1  F 20   1  .8413  .1587 . These probabilities also add to 1.
A
D
.02569
E
.29789
F
.06104
.38462
c) Here then, is our joint probability table. B
.04111
.47661
.09766
.61538
C
0
.0668
0
.7745
0
0
.1587
1
See problem H4.
Event
Fails in
0-10
Fails in
10-20
Component Joint Events
P A  D   A  E    A  F 
 B  D  C  D 
.02569  .29789  06104
 .04111  0 
PB  E   B  F   C  E  
.47661  .09766  0 
Probability
.42573
.57427
0
Fails in
PC  F  
.00000
10+
Sum
1.0000
There is another way to do this, but caution is recommended, since it is hard to extend this to more than
three periods or different failure rules. Let u represent the life of the jorcillator.
Pu  10   P A  D  P A  PD  P A  D  .38462  .0668  .02569  .42573
Pu  20   PC  F   0
P10  u  20   1  P A  D  PC  F   .57427
13
251y0141 12/03/01
6. d. Extra Credit The time between landings at an airport follows an exponential distribution with a
mean of 30 seconds. i) What is the probability of less than a 2-minute gap between landings (2) ? ii) What is
the probability of between a 15 and a 45 second gap between landings? (2) iii) What is the standard
deviation? (1)
1
In the exponential distribution from the outline F x 1  ecx , when the mean time to a success is .
c
1
  
Note that this is only for x  0 . There is no probability below zero.
c
1
1
120
 4.
a) Since   30, c  
. x  120 so cx 
30
 30
Px  120  F 120  1  e4  1  .01832  .98168
b) For 15 cx 
45
15
 0.5 , for 45 cx 
 1 .5
30
30

See exercise 5.63.

P15  x  45  F 45  F 15  1  e 1.5  1  e 0.5  e 0.5  e 1.5  .60653 .22313  .38340
c) Since    
1
1
, 
c
30
14
Download