12/12/00 251y0042 Name key

advertisement
12/12/00 251y0042
ECO251 QBA1
Name
key
FINAL EXAM
Class ________________
DECEMBER 14, 2000
Hint: Though you should never give 2 answers to a problem, never cross out the answer to a problem that
you have given up on. I may see something worth partial credit in the answer.
Part I. Do all the Following (20 Points) Make Diagrams!
A. z ~ N (0,1)
1. Pz  2.66   Pz  0  P0  z  2.66   .5  .4961  .0039 Diagram! These are expected and will be
provided in class for version 2.
Half of you didn't read this question: You assumed that it said Pz   , because that was on last year's
exam.
2. P3.22  z  0.25   P3.22  z  0  P0.25  z  0  .4994  .0987  .4007
3. P1.01  z  1.01  2P0  z  1.01  2.3438   .6876
4. P1.01  z  2.57   P0  z  2.57   P0  z  1.01  .4949  .3438  .1511
5. The 89th percentile of the distribution. z .11 is the point with a probability of .11 above it or .89 below it.
Since 89% is below this point and 50% is below zero, from the diagram P0  z  z.11   .3900 . the closest
we can come to this probability using the Normal table is P0  z  1.23   .3907 So z .11  1.23 .
Note that probabilities cannot be above 1 or below 0.
1
12/12/00 251y0042
B. x ~ N 1.3 , 5 .
Remember z 
x
.
As usual, people made diagrams of x

with zero in the middle. Make up your mind! If you are diagramming x , put the mean in the middle;
if you are diagramming z put zero in the middle.
2.66  1.3 

1. Px  2.66   P z 
  Pz  0.27   Pz  0  P0  z  0.27   .5  .1064  .3936
5


 0.25  1.3 
  3.22  1.3
z
2. P3.22  x  0.25   P
  P 0.90  z  0.31
5
5


 P 0.90  z  0  P 0.31  z  0  .3159  .1217  .1942
1.01  1.3 
  1.01  1.3
z
3. P1.01  x  1.01  P
  P 0.46  z  0.06 
5
5


 P 0.46  z  0  P 0.06  z  0  .1772  .0239  .1533
2.57  1.3 
 1.01  1.3
z
4. P1.01  x  2.57   P
  P 0.06  z  0.25 
5
5


 P 0.06  z  0  P0  z  0.25   .0239  .0987  .1226
5. The 89th percentile of the distribution. x.11 is the point with a probability of .11 above it or .89 below it.
Because it is above the 50th percentile, which is the mean for the Normal distribution, the point we want
will be above 1.3. On the previous page we found z.11  1.23 . So x.97    z.97
 1.3  1.235  7.45 .
To check to see if this is correct: Px  7.45 
7.45  1.3 

 P z 
  Pz  1.23   Pz  0  P0  z  1.23 
5


 .5  .3907  .8907  .89
2
12/12/00 251y0042
II. (4 points-2 point penalty for not trying .) Show your work!
We are investigating the cost of a business trip for people in the financial industry. The
data for a sample of 6 are below.
x
1433
1225
1433
1570
1330
941
Compute the sample standard deviation, s . Show your work. (4)
Solution:
x
1433
1225
1433
1570
1330
941
7932
1
2
3
4
5
6
x
 x  7932  1322
n
6
s x2 
x
2
 nx 2
n 1

x2
2053489
1500625
2053489
2464900
1768900
885481
10726884
10726884  61322 2 240780

 48156
5
5
s x  48156  219 .4448
How about those jokers who are still trying to compute
 x  x 
2
by computing
 x  x  ! It
2
didn't work last term and it won't work this term. I don't encourage using definitional formulas, but, if you
insist on using them, I will be happy to give you a personal tutorial on how to do it. They are generally
harder to use than computational formulas.
3
12/12/00 251y0042
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.
a. Find z .075 (2)
b. If x ~ N 16, 5 , find a symmetrical interval around the mean with a probability of 85%. (2)
c. If x ~ N 16, 5 , find F 22 .6 (2)
d. If computer parts last an average of sixteen months, with a standard deviation of 5, what is the
probability that 15 of them will all last less than 22.6 months. (2)
e. If a sample mean is taken from a sample of 15 from a normal population with a mean of 16 and a
standard deviation of 5, what is the standard deviation of the sample mean? (2)
f. What is the probability that the sample mean in e) above is less than 22.6? (2)
g. If sample mean of 14.3 comes from a sample of 15 from a normal population with a population
standard deviation of 5, do an 85% confidence interval for the population mean. (3)
Solution: From the problem statement x ~ N 16, 5 , i.e.   16 and   5 .
a) z .075 is the point with a probability of .075 above it or .925 below it.
It is the 92.5 percentile of z. From the diagram P0  z  z.075   .4250 .
The closest we can come to this probability using the Normal table is
P0  z  1.44   .4251 . So z.075  1.44 . Make a diagram!
b) A symmetrical interval around the mean with a probability of 85%:
We can split the 85% into two halves of 42.5%, on either side of zero.
Make a diagram! From the diagram, we want two points z .075 and
z.925   z.075 so that Pz.925  z  z.075   .8500 . And, since we found
z.075  1.44 in part a), our interval for z is -1.44 to 1.44.
The interval for x can then be written x    z.075  16  1.445  16  7.20 or 8.80 to 23.20.
23 .20  16 
 8.20  16
z
To check this P8.80  x  23 .20   P 

5
5


 P 1.44  z  1.44   2P0  z  1.44   2(.4251 )  .8502  85%
22 .6  16 

c) F 22 .6  Px  22 .6  P z 

5


 Pz  1.32   Pz  0  P0  z  1.32   .5  .4066  .9066
15 15 0
p q  .9066 15  .2297
d) Binomial n  15 , p  .9066 -- P15   C15
e)   15 , n  15 ,   5 . So  x 
x
n

5
 1.29099 .
15
22 .6  16 

f) Px  22 .6  P z 
  Pz  5.11  Pz  0  P0  z  5.11  .5  .5000  1
1.29099 

g) Given: x  14.3 , n  15 ,   5 . Step 1: Confidence level is 85%.; significance level is

5
 1.29099 .
  1  .85  .15 . Step2: z 2  z.075  1.44 .
Step 3:  x  x 
n
15
Step 4:   x  z  x  14.3  1.441.299099   14.3  1.86 or 12.44 to 16.66. More formally
2
 P12.44    16.66   85%
4
12/11/00 251y0042
2. According to Ken Black, a survey was taken asking how long a group of firms has done business with
India. (You may assume that the underlying distribution is normal) A random sample of 24 responses gave
a sample mean of 10.495 years.
a. Assume that the population standard deviation is known to be 7.5, construct a 99% confidence interval
for the population mean.(4)
b. Assume that the population variance is unknown and that 7.5 is the sample standard deviation instead.
Construct the 99% confidence interval again. (4)
c. Assume that once again the population variance is unknown and that the sample mean of 10.495 and the
sample standard deviation of 7.5 are taken from a sample of 24 that is part of a population of 250.
Construct the 99% confidence interval again. (4)
d. Assume that we use a smaller sample and a higher confidence level. What would happen to the
confidence interval and why? (2)
Solution: x  10.495 . For all these sections the confidence level is 99% and the significance level is
  1  .99  .01 . n  24 .
Repeat after me! " z goes with  (sigma - population variance); t goes with s (sample variance)!"

7.5
 1.5309 .
a) From the t-table, z  z.005  2.576 .  x  x 
2
n
24
  x  z  x  1`0.495  2.576 1.5309   10.495  3.9437 or 6.5513
2
to 14.4387. More formally  P6.5513    14.4387   99%
23
b) The degrees of freedom are n  1  24  1  23 . tn1  t.005
 2.807
2
sx 
sx

n
7.5
 1.5309 . Putting this all together
24
  x  tn1 s x  10.495  2.807 1.5309   10.495  4.2972 or 6.1978
2
to 14.7977. More formally, P6.1978    14 .7977   .99 .
c) The population size, N  250 , is less than 20 times the sample size n  24 , so s x 
sx
n
N n
N 1
250  24
 1.5309 0.9527   1.4585 and   x  tn1 s x  10 .495  2.807 1.4585 
2
250

1
24
 10.495  4.0940 or 6.401 to 14.589. More formally, P6.401    14.590   .99 .
d) The effect of a smaller sample is to decrease the denominator in the standard error of the
s
mean, s x 
. This makes the standard error larger and since the size of the confidence interval is
n
proportional to the standard error, the interval is also larger. The effect of a higher confidence level is to
lower the significance level and thus to require a larger value of t or z . This also makes the confidence
interval larger.

7.5
5
12/11/00 251y0042
3. Describe the meaning and give the probabilities for the problems below.
Example: For the Hypergeometric Distribution, P1  x  2 when N  18, n  5, and M  9 is the
probability of between 1 and 2 successes when a sample of 5 is taken from a population of 18 where there
9! 9!
9! 9!
C19 C 49 C 29 C 39 1!8! 4!5! 2!7! 3!6!
are 9 successes in the population. P1  x  2 
 .48529 . Use tables
 18 

18!
18!
C 518
C5
5!13!
5!13!
where appropriate!
a. Binomial P4  x  9 , when p  .20 and n  14 (2)
b Binomial P3  x  8 , when p  .90 and n  14 (2)
c Poisson P3  x  8 , when m  17 .5 (2)
d Geometric P3  x  8 , when p  .20 (2)
e. No meaning is needed for the following:
(i) Binomial Px  6 , when p  .20 and n  14 (1)
(ii) Geometric Px  6 , when p  .20 (1)
(iii) Binomial Px  6 , when p  .20 and n  14 (1)
(iv) Geometric Px  6 , when p  .20 (1)
(v) Poisson Px  6 , when m  17 .5 (1)
(vi) Continuous Uniform P5  x  11 when c  7 and d  19 (2)
(vii) Normal x ~ N 16, 5 . P
 x  425  when n  25 (2)
Solution:
a. Binomial Distribution with p  .20 and n  14
The probability of between 4 and 9 successes in 14 tries when the probability of success on a
single try is .20 is P4  x  9  Px  9  Px  3  .99995  .69819  .30176
b. Binomial Distribution with p  .90 and n  14 .
The probability of between 3 and 8 successes in 14 tries when the probability of success on a
single try is .90 is P3  x  8 . It can't be done directly with tables that stop at p  .5 , so try to
do it with failures. (The probability of failure is 1 - .90 = .10.) 3 successes correspond to 11
failures out of 14 tries. 8 successes correspond to 6 failures. So try 6 to 11 successes when
p  .10 and n  14 . P6  x  11  Px  11  Px  5  1.00000  .99853  .00147
c. Poisson Distribution with parameter of 17.5 (parameter of 17.5 means 17.5  m     2 )
The probability of between 3 and 8 successes in a unit of space or time when the average number
of successes is 17.5 is P3  x  8  Px  8  Px  2  .00945  .00000  .00945
d. Geometric Distribution with p  .20
The probability that the first success will occur between try 3 and try 8 when the probability of
success on any one try is .20 is P3  x  8 . Remember that F c  Px  c  1  q c , because
success at try c or earlier implies that there cannot have been failures on the first c tries.
q  1  p  1  .20  .80 . P3  x  8  Px  8  Px  2  F 8  F 2  1  .808  1  .802


 .80  .80  .64000  .16777  .47223
2
8
6
251y0042 12/11/00
e. No meaning is needed for the following:
(i) Binomial Distribution with p  .20 , n  14 . Px  6  1  Px  5  1  .95615  .04385


(ii) Geometric Distribution with p  .20 Px  6  1  Px  5  1  1  .805  .805  .32768
(iii) Binomial Distribution with p  .20 , n  14 .
Px  6  Px  6  Px  5  .98839  .95615  .03224 or
P6  C614 p 6q 7  C614.20 6 .80 8  .03224.
Px  6  q x 1 p  .80 5 .20   .06554 or
(iv) Geometric Distribution with p  .20

 

F 6  F 5  Px  6  Px  5  1  .806  1  .805  .73786  .67232  .06554
(v) Poisson Px  6 , when m  17 .5 Px  6  .0010017 (directly from table).
(vi) Continuous Uniform P5  x  11 when c  7 and d  19
Make a diagram! f x  
1
1
1


.
d  c 19  7 12
1
P5  x  11  P7  x  11  4  .3333
12
x  425 when n  25 .
(vii) Normal x ~ N 16 ., 5 . P

  15 ,   5 . So  x 
since x 
x
n


5
 1.00 and
25
 x  425  17 , P x  425   Px  17 
n
25
17  16 

 P z 
  Pz  1.00   Pz  0  P0  z  1.00   .5  .3413  .8413
1 

f. Extra Credit! A company designs washing machines to go an average of seven years without a major
breakdown. (exponential distribution).
(i) What is the probability that the machine lasts more than 2 years? (2)
(ii) What is the probability that the machine lasts longer than 1 year? (1)
(iii) What is the standard deviation of the time that it lasts? (1)
(iv) ( Difficult!!!) If the company offers a warranty against major breakdowns and wants to be
sure that the no more than 20% of the machines break down in the warranty period, what is the
longest time for which the company could offer the warranty? (4)
Solution: In this distribution    
1
c
, F x 0   Px  x 0   1  e cx0 , so
Px  x 0   Px  x 0   1  F x 0   e cx0 . In this case  
(i) Px  2  e
 17 2
 e 0.2857  .75148 .
(ii) Px  1  e
1
c
 7 , so c 
 171
1
7
and Px  x 0   e
 e 0.1459  .86688 . (iii)  
 17 x0
1
c
7.
(iv) We want some number x 0 , so that Px  x 0   .80 . From what we already have, this is between one


 .80 , then, if we take logarithms,  x0 7  ln .80  .22314 . So
x0  7.22314   1.56 . So our answer is 1.56 years or about 19 months.
and two years. If Px  x 0   e
 17 x0
7
12/11/00 251y0042
4. Assume that P A  .1 and PB   .4


b. If A and B are mutually exclusive what is (i) P A  B  , (ii) PA B , (iii) PA  B  ? (3)
c. If PB A  .3 what is (i) P A  B  , (ii) PA B , (iii) PA  B  ? (3)
 
a. If A and B are independent what is (i) P A  B  , (ii) P A B , (iii) P A  B ? (3)
 
d. Make a joint probability table of A, B, A and B , assuming that P B A  .5 (3)
e. One of five employees is believed to have revealed a company secret. All five denied giving
away the secret, and each one was considered equally likely to have done the deed.
All five were given a lie-detector test. George came up positive - the lie detector
is implying that he is a liar. If the lie detector comes up with a false positive 4% of the time and
a false negative 5% of the time, what is the chance that George revealed the secret? (4)
 
Solution: Note: A is the complement of A ; P A  1  P A .
 
a) Independence means P A B  P A , so that P A  B   P APB  . This implies
(i) P A  B   P APB  . Since P A  .1 and PB   .4 , P A  B   P APB   .1.4  .04 . So
P A  B   P A  PB   P A  B   .1  .4  .04  .46 . What will it take to convince you that if A and
B are independent, P A  B   0 ? (ii) PA B  P A  .1 and

(iii) P A  B
table.
A
B
B

 1  P A  B   1  .46  .54 . One of the best ways to see this is with a joint probability
A
  PB  becomes B
B
P A  B  P A  B  P B 
P  A
P A 
1
P A  B  P A  B
it add up we get

B
B
A A
.04 .36
.06 .54
.1 .9
.4
.6
A A
.04
.4
.6
.1 .9
, because of independence. If we just make
1 .0

 

. P A  B  P A  B  P A  B  P A  B  .04  .36  .06  .46 .
1.0

P A  B  .54 can be read right off the table. And, if you really need it, PA B  
b) Mutual exclusiveness means P A  B   0 .
(i) So P A  B   P A  PB   P A  B   .1  .4  0  .5

(iii) P A  B

 
(ii) P A B 
P A  B 
.
P B 
P A  B 
0
PB 
 1  P A  B   1  .5  .5 . The joint probability table starts out as
B
A A
.0
.6
B
.1 .9
because of the mutual exclusiveness and becomes
B
B
A A
0 .4
.1 . 5
.1 .9
.4
1.0
.4
.6
1 .0
8
12/11/00 251y0042

 



P A  B  P A  B  P A  B  P A  B  0  .4  .1  .5 . P A  B  .5 can be read right off the
table.
9 points of this question were repeated from the hour exam with the numbers only slightly
changed. Nevertheless most of you made exactly the same mistakes again. You are supposed to learn
from your mistakes!
 
 
c) P B A  .3 means that P A  B  PB  A  P B A P A  .3.1  .03 . So
 
(i) P A  B   P A  PB   P A  B   .1  .4  .03  .47

(ii) P A B 

(iii) P A  B  1  P A  B   1  .47  .53 . The table reads
 
 
B
B
P A  B  .03

 .075
PB 
.4
A A
.03 .37
.07 .53
.1 .9
.4
.6
1 .0
d) P B A  .5 means that P A  B  PB  A  P B A P A  .5.1  .05 . If we put .05 in the upper left-
hand corner and fill in the blanks, we get
B
B
A A
.05 .35
.05 .55
.1 .9
.4
.6
1.0
The following laws have not been repealed:
The Addition Rule: P A  B   P A  PB   P A  B 
 
 
The Multiplication Rule: P A  B  P A B PB  PB  A  P B A PB
e) One of five employees is believed to have revealed a company secret. All five denied giving away the
secret and are considered equally likely to have done the deed. If R is the event that George revealed the
secret, PR   .2 . All five were given a lie-detector test. George came up positive - the lie detector is
implying that he is a liar. If the lie detector comes up with a false positive 4% of the time ( if P is the
event that the lie detector comes up with a positive, P P R  .04 ) and a false negative 5% of the time
 
 
( P P R  .05 ) , what is the chance that George revealed the secret? (4) I somehow, don’t think that anyone
got to this without Bayes' rule. PR P  
PP R PR 
P P 
 
 
 
.95.2
.19
PR P  

 .8557
.95.2  .04.8 .19  .032

PP R PR 
    . From the above
PP R PR   P P R P R
P R  1  PR   1  .2  .8 and P P R  1  P P R  1  .05  .95 so
If you used a table for this
R
R
P
.190
.032
.222
P
.010
.068
.778
.2
.8
1.0
9
12/11/00 251y0042
5. a. A real estate office sells 540 houses in 300 working-day year. (Poisson distribution - if you
approximate it by another distribution tell why you can do it.)
(i) What is the mean and variance of the number of houses sold in a day? (2)
(ii) What is the probability that at least one house is sold in a day? (2)
(iii) What is the probability that more than 5 houses are sold in a day? (2)
(iv) What is the probability that more than 60 houses are sold in a 25 working-day month? (3)
5. b. The probability that a buyer is unable to get a mortgage is .04. In a month in which offers are made on
30 houses, what is the probability that at least one mortgage will be denied?
(i) Do this problem using the Binomial distribution (2)
(ii) Can the solution to this problem be approximated by the Poisson or Normal distribution? Test
for both and use both, one or neither distribution to solve the problem depending on the results of
your tests. (4)
Solution: Because this involves a situation in which you are given the average number of events per unit
space or time this would normally be considered to be a Poisson problem.
a) (i) Since the period involved is one working day, the mean is m    540300  1.8 . This is also the
variance since the mean and variance are identical for the Poisson distribution.
(ii) From the Poisson table for a mean of 1.8 , Px  0  1  Px  0  1  .16530  .83470
(iii) From the same table Px  5  1  Px  5  1  .98962  .01038
(iv) The mean is now m    1.825   45 . Because the mean is over 20, use the Normal

60 .5  45 
PP x  60   PN x  60 .5  P  z 

45 

 Pz  2.31  .5  .4896  .0104 (DIAGRAM?)
b) (i) Binomial Distribution with p  .04 , n  30 .
distribution.
Px  1  1  P0  1  C 030 p 0 q 30  1  .04 0 .96 30  1  .29386  .70614
(ii) Test for Normal distribution: np  30.04   1.2  5 , nq  n  np  30 1.2  28.8  5 . We can't
use the Normal distribution because these are not both above 5.
n 30

 750  500 . We can use the Poisson distribution because
Test for the Poisson distribution:
p .04
the ratio is above 500.
If we use the Poisson table with a parameter of 1.2 Px  1  1  P0  1  .30119  .69881
10
12/11/00 251y0042
6. a. The columns below state the Dow Jones Industrial Average(in hundreds) x and the 6-month treasury
bill rate y .
x
y
According to Minitab, the mean and standard
22
8.20
deviation for the Dow are respectively 38.75 and
27
7.51
14.34. The mean and standard deviation for the t29
5.42
bill rate are 5.400 and 1.774.
This was a gift! Why did so many
32
3.45
37
3.02
x2 ,
x,
y
of you compute
45
5.51
y2 ?
and
56
5.02
62
5.07




(i) Compute the sample covariance between the Dow and the t-bill rate. (4)
(ii) Compute and interpret the correlation between the two quantities. (3)
(iii) If the t-bill rate was 2 points higher for all the values shown here (i.e. 8.20 was 10.20, 7.51 was
9.51 etc.), what would the values of the standard deviation for the t-bill rate, the covariance and the
correlation be? The only accepted answer here will be values found by using the formulas for the
variance, covariance and correlations of functions of x , and the values of the standard deviation,
covariance and correlation found in (i) and (ii). (3)
Solution:
x
y
22
8.20
27
7.51
29
5.42
32
3.45
37
3.02
45
5.51
56
5.02
62
5.07
(ii) rxy 
s xy
sx s y

xy
180.40
202.77
157.18
110.40
111.74
247.95
281.12
314.34
1605.90
n8
x  38 .75, s x  14 .34
y  5.40 , s y  1.774
 xy  1605 .90
 xy  nx y  1605 .90  838.75 5.40 
s 
(i)
xy
n 1
68 .10

 9.72857
7
7
 9.72857
 .3824 . Since rxy2  .146 is not very large on a 0 to 1 scale, we cannot say
14 .34 1.774 
that this is a strong relationship. However, it seems quite likely that interest rates and the Dow move
inversely. (iii) According to the syllabus supplement, if w  ax  b , and v  cy  d ,
 w2  Varw  a 2Varx  a 2 x2 ,  v2  Var v   c 2Var  y   c 2 y2 ,
Covw, v   wv  acCovx, y   ac xy and  wv  signac xy In this case w  x and v  y  2 , so
a  1 , b  0 , c  1 and d  2 . Since we are working with sample statistics, we can substitute s v2 for  v2 ,
s xy for  xy , rxy for  xy etc. so the new variance is s v2  Varv   12 Var y   s 2y , the new covariance is
Covw, v  s wv  11Covx, y   s xy and the new correlation is rwv  sign11rxy  rxy . In other
words, all quantities are unchanged.
11
12/11/00 251y0042
b. Find the missing value in the following joint probability table and compute the population covariance
and correlation between x and y and the variance of x  y . (5)
x
3 7

2 .5 .1


y
.4 
9 


Solution: Since the numbers in the table already add to 1, the missing number must be zero.
x
y
Px 
xPx 
x 2 Px 
3
.5
2

9
 0
.5
1.5
7
Px 
.1
.6

.4
.4
.5
1.0
 3.5  2.0
yP y  y 2 P y 
1.2 2.4
To summarize
3.6 32 .4
4.8 34 .8
4.5  24 .5  29 .0
 x  E x  
 xPx  2.0 , E x    x
2
   y P y   34.4
 .532 
E xy    xyPxy   
 039 
E y2 
 Px  1,
 P y   1,
2
Px   29 .0 ,  y  E  y  
 yP y   4.8 and
2
 .1 7 2 3.0
 1.4

 23 .6
 .4 7 9  0  25 .2
 
 xy  Covxy  Exy   x  y  23.6  2.04.8  14.0 ,  x2  E x 2   x2  29.0   2.02  25.0
 
and  y2  E y 2   y2  34.8  4.82  11.76 . So that  xy 
 xy
 x y

 14 .0
 0.8165 .
25 .0 11 .76
(  x  5.00 ,  y  3.37046 )
Var x  y    x2   y2  2 xy  Var x   Var  y   2Covx, y   25.0  11.76  214.0  8.76
12
Download