251y0631 4/17/06 ECO251 QBA1 KEY

advertisement
251y0631 4/17/06
ECO251 QBA1
THIRD EXAM
Version 1, Apr 20, 2006
Name: ___KEY______________
Student Number: _____________________
Class Time (Circle) MWF 1, MWF 2, TR 12:30, TR 2.
Part I: 16 points.
z follows the standardized Normal distribution z ~ N 0,1 .
Find the following. Make diagrams! Diagrams for both versions of this exam are in 251y063f.
1. P3.11  z  2.00   P3.11  x  0  0  z  2.00   .4991  .4772  .9763
Make a diagram. To make a diagram for z , draw a Normal curve with a center at zero. Shade the area
below zero from -3.11 to zero. Shade the area above zero from zero to 2.00. Because you have shaded an
area on both sides of the mean, you are adding.
2. P3.02  z  3.02   P3.02  x  0  0  z  3.02   2.4987   .9974
Make a diagram. To make a diagram for z , draw a Normal curve with a center at zero. Shade the area
below zero from -3.02 to zero. Shade the area above zero from zero to 3.02. Because you have shaded an
area on both sides of the mean, you are adding.
3. F 1.25   Pz  1.25   Pz  0  P0  z  1.25   .5  .3944  .8944
Make a diagram. To make a diagram for z , draw a Normal curve with a center at zero. Shade the entire
area below zero. Shade the area above zero from zero to 1.25. Because you have shaded an area on both
sides of the mean, you are adding.
4. z .175
Solution: Make a diagram. z .175 is defined as a point with 17.5% above it and thus 100% - 17.5%
=82.5% below it, so it is the 82.5 percentile or the .825 fractile. The diagram for z will show an area with
a probability of 82.5% below z .175 . It is split by a vertical line at zero into two areas. The lower one has a
probability of 50% and the upper one a probability of 82.5% - 50% =32.5%. The upper tail of the
distribution above z .175 has a probability of 17.5%, so that the entire area above 0 adds to 50%. From
the diagram, we want one point z .175 so that Pz  z.175   .8250 or P0  z  z.115   .3250 . The closest
we can come using the Normal table is P0  z  0.93   .3238 , though P0  z  0.94   .3264 is almost
as close. We can say z .175  0.93 or z .175  0.94 , but we are best off splitting the difference and saying
z.175  0.935 .
251y0631 4/17/06
x follows the Normal distribution x ~ N 2, 7 .
Find the following. Make diagrams!
2.00  2 
  3.11  2
z
 P 0.73  z  0  .2673 .
5. P3.11  x  2.00   P 
7
7 

Make a diagram. To make a diagram for z , draw a Normal curve with a center at zero. Shade the area
below zero from -0.73 to zero. Do not shade the area above zero. Because you have shaded an area on one
side of the mean that starts at the mean, you can simply find the result on the Normal table.
You probably do not have time to make a diagram for x too. If you choose to make a diagram for x , draw
a Normal curve with a center at 2. Shade the area from -3.11 to 2. Do not shade any area above 2. Because
you have shaded an area on both sides of the mean, you are adding. Because you have shaded an area on
one side of the mean that starts at the mean, you can simply find the result on the Normal table after
x
making the transformation z 
.

3.02  2 
  3.02  2
z
 P 0.72  z  0.15 
6. P3.02  x  3.02   P 
7
7 

 P0.72  z  0  P0  z  0.15   .2642  .0596  .3238
Make a diagram. To make a diagram for z , draw a Normal curve with a center at zero. Shade the area
below zero from -0.72 to zero. Shade the area above zero from zero to 0.15. Because you have shaded an
area on both sides of the mean, you are adding.
You probably do not have time to make a diagram for x too. If you choose to make a diagram for x , draw
a Normal curve with a center at 2. Shade the area from -3.02 to 2. Shade the area from 2 to 3.02. Because
you have shaded an area on both sides of the mean, you are adding.
1.25  2 

 Pz  0.11  Pz  0  P 0.11  z  0
7. F 1.25   Px  1.25   P  z 
7 

 .5  .0438  .4562 .
Make a diagram. To make a diagram for z , draw a Normal curve with a center at zero. Shade only the
area below zero that is also below -0.11. Do not shade any area above zero. Because you have shaded an
area on one side of the mean that does not touch the mean, you are subtracting.
You probably do not have time to make a diagram for x too. If you choose to make a diagram for x , draw
a Normal curve with a center at 2. Shade only the area to the left of 2 that is below 1.25. . Because you
have shaded an area on one side of the mean that does not touch the mean, you are subtracting.
8. x.175
Though you would usually need a diagram for a problem like this one, you have made all the diagram that
you need on the previous page. On the previous page, we said “We can say z .175  0.93 or z .175  0.94 ,
but we are best off splitting the difference and saying z.175  0.935 .” The transformation from z to x is
x    z . So we can say x.175  2  0.937  8.51 or x.175  2  0.947  8.58 , but we are best off
splitting the difference and saying x.175  2  0.935 7  8.545 .
Check:
8.545  2 

Px  8.545   P  z 
  Pz  0.93   Pz  0   P0  z  0.93   .5  .3238  .1762  17 .5%
7


2
251y0631 4/17/06
Part II: (15+ points) Do all the following: All questions are 2 points each except as marked. Exam is
normed on 50 points including take-home. (Showing your work can give partial credit on some
problems! In open-ended questions it is expected. Please indicate clearly what sections of the
problem you are answering and what formulas you are using. Neatness counts!) Remember that you
may not be able to finish this section, so ration your time on each problem. [Numbers in brackets are a
cumulative total]
1.
If x is binomial, and n  20 , find the following (If you substitute another distribution for the
binomial, justify it!): Note: There should be some credit for doing a) or b) using the Normal
distribution. It cannot be justified on c) – d). Stating  and  gets no credit.
a) P3  x  9 when p  .40 (1.5)   8,   2.1909 
P3  x  9  Px  9  Px  2  .75534  .00361  .7517
a) P10  x  16  when p  .75 . (1.5)   15,   1.9365 
P10  x  16  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 - .75 = .25.) 10 successes correspond to 20 – 10 = 10
failures out of 25 tries. 16 successes correspond to 4 failures. So try 4 to 10 successes when
p  .25 and n  20 . P4  x  10   Px  10   Px  3  .99606  .22516  .7709
b) P1  x  5 when p  .03 . (2)
Since n p  20.03  666.7  500 , we can use the Poisson distribution. The mean is
m  np  20.03   0.6 P1  x  5  Px  5  Px  0  .99996  .54881  .45115
c) Px  1 when p  .23 . (2)
Px  1  1  P0  1  C020 p 0 q 20  1  .77 20  1  .0054  .9946
2.
A student calculates that P10  x  35   F 35   F 9 . The student could be working with the
a) *Binomial Distribution
b) Normal distribution.
c) Continuous Uniform Distribution
d) Exponential distribution
e) All of the above
f) None of the above.
[9]
Explanation: The equation below was crushed by Word. Click on it or print it.
 F b   F a  1 for discrete
F x 0   Px  x 0  and Pa  x  b   
 F b   F a  for continuous.
3.
If  xy  .4 ,  x  3.2 ,  y  7.5 , w  7 x  5 and v  3 y  4 , find the following:
a)  xy (1)
If w  ax  b and v  cy  d , we have a  7 and c  3 .
All formulas in this section come from 251var2 or 251v2out.  xy   xy x y
 .43.27.5  9.6
b)  x y (1.5)
Var x  y    x2   y2  2 xy  3.2 2  7.5 2  29.6  10 .24  56 .25  19 .2  85 .69
 x y  85.69  9.2569
c)  wv (1.5)
Corr(ax  b, cy  d )  SignacCorr( x, y)  Sign 7 3.4  Sign21.4   1.4  .4
d)  w (1.5)
Var ax  b   a 2 Var x    72 3.22  4910 .24   501 .76 ,  w  501 .76  22 .4 [14.5]
3
251y0631 4/17/06
4.
What type of probability distribution will most likely be used to analyze the number of cars with
old model radios in the following problem?
From an inventory of 48 new cars being shipped to local dealerships, corporate reports
indicate that 12 have old model radios installed. The sales manager of one dealership wants to
predict the probability out of the 8 new cars it just received that, when each is checked, no
more than 2 of the cars have old model radios.
a) Binomial distribution.
b) Poisson distribution.
c) *Hypergeometric distribution. See Great Distributions I Have Known.
d) none of the above.
[16.5]
5.
The West Nantmeal police department must write, on average, 5 tickets a day to keep department
revenues at budgeted levels. Suppose the number of tickets written per day follows a Poisson
distribution with a parameter of 6.5 tickets per day. Interpret the value of the parameter. (1.5)
a) The number of tickets that is written most often is 6.5 tickets per day.
b) Half of the days have less than 6.5 tickets written and half of the days have more than 6.5
tickets written.
c) *If we sampled all days, the arithmetic average or expected number of tickets written
would be 6.5 tickets per day.
d) The mean has no interpretation since 6.5 tickets can never be written. [16]
6.
(Extra credit ) Ben Horim and Levy tell us about a presidential debate in which the sound system
failed for a half hour. Assume that the sound system has a failure rate of 1 in 10 hours, which
means that the average wait for a failure is 10 hours. Use the exponential distribution.
a) What is the probability that the system will fail during a 3-hour event? (1.5)
b) What is the probability, that if a back-up system with the same characteristics as the
original system is used during the half hour that the original system is down for repairs, it
will fail before the half hour elapses?. (1.5)
c) What is the variance of the elapsed time before a failure? (1)
Solution:
1
1
1
a) F x  1  ecx , when the mean time to a success is . So if  10 , c  . then
10
c
c
Px  3  F 3  1  e 0.13  1  e 0.30  1  .7408  .2592 .
b) Px  0.5  F 0.5  1  e 0.10.5  1  e 0.05  1  .9512  .0488
c) The sheet says  
1
1
 10 so  2 
 100 .
c
c2
4
251y0631 4/17/06
7.
Using the joint probability table below, (a) Fill in the missing number (1) (b) check for
independence (1), (b) Compute Covx, y  , Corr x, y  (4), (c) Compute Ex  y  and Var x  y  .


(2) (d) Find Px  y  4 and P x  y  4 x  0 (2).
y
0
 2 .1

x
4 0
5 .1

[26]
2 4
0 .1

.1

0 .1

Solution: a) .50. Sorry about the switched x and y . This is Downing and Clark, Computational
Problem 3, with one column removed and I guess I was crossing x and y , as many texts do.
b) Check for independence: First you need to find Px  and P y  .
Look at the upper left hand
probability below. Its value is .10 and it represents Px  2   y  0 . If x and y are
independent, we would have Px  2   y  0  Px  2 P y  0  .20.20   .04 . Since this is
not true, x and y cannot be independent. Even one place where the joint probability is not the product
of the marginal probabilities is enough. Actually the best way to prove non-independence is to look for
zeroes. If Px  4   y  0  0 and x and y are independent, then it must be true that
Px  4  0 or P y  0  0 . Notice that the second row is not proportional to the first row or any
other row.
c) Compute Covx, y  , Corr x, y 
y
0
 .10

 0
 .10

.20
2
x
4
5
P y 
yP y 
y P y 
2
2
0
Px 
.20
xPx  x 2 Px 
 0.4
0.8
.20
1.0
5.0
.10
4
.10 

.50 
.10 

.70
1.00
3.0
15 .4
0.0  0.2 
2.8 
3.0
0.0  0.4  11 .2 
11 .6
.10
0
.60
2.4
9.6
 Px   1 (a check),   Ex   xPx  3.0 , E x    x
 P y   1 ,   E  y    yP y   3.0 and E y    y P y   11.6 .
2
To summarize
x
2
2
Px   15 .4 ,
2
y
So from the above
 xPx  3.0 , Varx  Ex 2   x2   x 2 Px   x2  15.4  3.02  6.40
 E  y    yPx   3.0 and Var y   E y 2   y2   y 2 P y    y2  11.6  92  2.60 .
 x  E x  
y
(Note  x  6.40  2.5298 and  y  2.60  1.6125 .)
.10  20 0 22 .10  24  0.0 0.0  0.8
E xy  
xyPxy     040 .10 42
.50 44  0.0 0.8 8.0   10 .0
  .10 50 .052
.10 54 0.0 0.0 2.0 
 xy  Covxy  Exy   x  y  10.0  3.03.0  1.00 .

So that  xy 
 xy
 x y

1.00
 0.06010  0.2451 .
6.40 2.60
5
251y0631 4/17/06
2
 .06010
The correlation and covariance are positive, indicating a tendency of y to rise when x rises.  xy
is very low on a zero to one scale, indicating an extremely weak (linear) relationship. Note that
1   xy  1 always!
d) Compute Ex  y  and Var x  y  .
Ex  y   Ex  E y    x   y  3.0  3.0  6.0 and
Var x  y    x2   y2  2 xy  Var x   Var  y   2Covx, y   6.40  2.60  21.00   11 .00


e) Find Px  y  4 and P x  y  4 x  0 . The table below has the sum of x and y . It is followed by
the original joint probability table with the probabilities for points with Px  y  4 starred.
y
y
0 2 4
 2   2 0 2
2


x
4  4 6 8 x
4
5  5 7 9
5


Px  y  4  .1  0  .1  0  .2
0 2 4
.1* 0 * .1*


 0 * . 1 . 5
 .1 0 .1


Px  y  4  x  0  .1  0  .1  .2 . So Px  y  4 x  0  .2
.2
 1.0000
6
251y0631 4/17/06
ECO251 QBA1
THIRD EXAM
Apr 25, 2005
TAKE HOME SECTION
Name: ____Computer Solution____
Student Number: _________________________
Throughout this exam show your work! Please indicate clearly what sections of the problem you are
answering and what formulas you are using.
Part III. Do all the Following (19+ Points) Show your work! Neatness counts!
1. Ben Horim and Levy present the following actual returns for stock in Republic Steel and General Foods
over a ten year period.
Year
R1
1
22.5
2
9.3
3 -18.6
4
48.1
5
44.4
6
56.0
7 -20.1
8 -11.0
9
17.1
10
22.3
R2
-23.7
8.6
4.3
-52.2
62.4
61.4
9.8
52.6
17.1
11.7
Before you start, personalize the data below as follows. Take the third to last digit of your student number
and subtract it from -52.2 in the R2 column. This will make the results for year 4 even more disappointing
than they actually were. (Example: Seymour Butz’s student number is 123450. He subtracts the 4 from
-52.2 getting -56.2) .
a) Find the sample mean, variance and coefficient of variation for R2. Use computational formulas.
The results must look as if you calculated them by hand, although it is perfectly reasonable to
check the results using a computer or a calculator. (2.5)
b) Find the sample covariance and correlation between R1 and R2. (3)
c) Using a conventional measure of risk, explain which stock is riskier. (1).
[6.5]
d) Make a table showing 11 portfolios. Start with a portfolio with all your money invested in stock 1
(P1 = 1, P2 = 0), then move to a portfolio with 90% in stock 1 and 10% in stock 2 (P1 = .90, P2 =
.10), and move by tenths until you get a portfolio that is all stock 2. (5). The table should look as
P1
1
.9
.8
.7
.6
follows with much wider columns.
.5
.4
.3
.2
.1
0
R
s
C
Here R is the weighted average return,
s is the standard deviation of the portfolio return, and C is the coefficient of variation. [11.5]
7
251y0631 4/17/06
e)
Make a graph . Put the mean return on the y axis and the standard deviation on the x axis. (3)
Connect your points in a curve. The C-like curve you will probably get illustrates the tradeoffs
between return and risk and is called an investment opportunities frontier.
f) Looking at the graph and the coefficients, are there stock portfolios that you would never
recommend? Why? What portfolio would you recommend to an 80-year old widow? Why? What
portfolio would you pick for yourself? Why? (1.5)
[16]
Solution: Let’s assume that Fillmore Barrols has student number 123456, so that he, she or it subtracts 4
from -52.2. This is Version 4 in Computations for the Portfolio Problem.
a) Find the sample mean, variance and coefficient of variation for R2. Use computational formulas.
The results must look as if you calculated them by hand, although it is perfectly reasonable to
check the results using a computer or a calculator. (2.5)
To save a bit of space, the display for both securities is below.
Row
1
2
3
4
5
6
7
8
9
10
x 2  R12
22.5
9.3
-18.6
48.1
44.4
56.0
-20.1
-11.0
17.1
22.3
170.0
506.25
86.49
345.96
2313.61
1971.36
3136.00
404.01
121.00
292.41
497.29
9674.38
y  R2
xy  R1 R 2
y 2  R22
-23.7
561.69
8.6
73.96
4.3
18.49
-56.2 3158.44
62.4 3893.76
61.4 3769.96
9.8
96.04
52.6 2766.76
17.1
292.41
11.7
136.89
148.0 14768.40
-533.25
79.98
-79.98
-2703.22
2770.56
3438.40
-196.98
-578.60
292.41
260.91
2750.23
 y  148 .0  y  14768 .4  xy  2750 .23
 x , s   x  nx , C  std.deviation and
I copied the following formulas from Table 20: x 
So n  10,
x
x  R1
 170 .0 ,
x
2
 9674 .38 ,
2
2
 xy  nxy . Thus for
n
2
x
2
n 1
mean
148 .0
14768 .40  10 14 .80 
 14 .80 , s 2y 
 1397 .5556 ,
10
n 1
9
37 .3839
 2.5259 . While we are at it, let’s take care of x  R1 .
s y  1397.5556  37.3839 and C y 
14 .80
s xy 
y  R2 , y 
2
170 .0
9674 .38  10 17 .00 2
 17 .00 , s x2 
 753 .82 , s x  753 .82  27 .4558 and
10
9
27 .4558
Cx 
 1.6150
17 .00
x
s xy
rxy
b) Find the sample covariance and correlation between R1 and R2.
2750 .23  10 17 .00 14 .8

 26 .0256 and
9
s xy
26 .0256


 .000642931  0.025356
sx s y
753 .82 1397 .556
c) Using a conventional measure of risk, explain which stock is riskier. (1).
y  R 2 has a coefficient of variation of C y  2.5259 , which is larger than C x  1.6150 , so the second
security is riskier.
8
251y0631 4/17/06
d) Make a table showing 11 portfolios. Start with a portfolio with all your money invested in stock 1
(P1 = 1, P2 = 0), then move to a portfolio with 90% in stock 1 and 10% in stock 2 (P1 = .90, P2 =
.10), and move by tenths until you get a portfolio that is all stock 2. (5).
If we check 251varmin, we find the following. “If R  P1 R1  P2 R2 and P1  P2  1 , then
E R   P1 E R1   P2 E R2  and VarR  P12VarR1   P22VarR2   2P1 P2CovR1 , R2  is the variance of
the return. Thus if P1 and P2 are both .50 , we can say VarR =.25VarR1 +.25VarR2 +.50CovR1 R2  .
…… Since variance is a measure of risk, minimizing variance minimizes risk, though actually, the best
measure of risk is probably the coefficient of variation, the standard deviation divided by the mean, in this
R
.” The table below was created in the opposite order to that requested.  R  Var R 
E R 
P1
E R 
R
CR
case C 
Row
1
2
3
4
5
6
7
8
9
10
11
0.0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.0
14.80
15.02
15.24
15.46
15.68
15.90
16.12
16.34
16.56
16.78
17.00
37.3839
33.8267
30.5437
27.6329
25.2235
23.4703
22.5272
22.4963
23.3811
25.0849
27.4558
2.52594
2.25211
2.00418
1.78738
1.60864
1.47612
1.39747
1.37676
1.41190
1.49493
1.61505
e)
Make a graph . Put the mean return on the y axis and the standard deviation on the x axis. (3)
Connect your points in a curve. The C-like curve you will probably get illustrates the tradeoffs
between return and risk and is called an investment opportunities frontier.
Notice that as the fraction of the portfolio in security 1rises, the coefficient of variation also falls until
it hits a minimum at P1  .8 It then starts rising. If you graph the standard deviation against the
expected return, from P1  0 to P1  .8 , you will get a curve with a negative slope, where the variance
falls and the return rises. After P1  .8 , the return continues to rise, but the variance rises too.
f) Looking at the graph and the coefficients, are there stock portfolios that you would never
recommend? Why? What portfolio would you recommend to an 80-year old widow? Why? What
portfolio would you pick for yourself? Why? (1.5)
There is no point in taking any portfolios between P1  0 and P1  .8 . A rational person expects an
increasing return for increasing risk, and it just isn’t there. A person who is very cautious as the widow
probably should be, will take the minimum risk package at P1  .8 . Your personal decision should lie
between P1  .8 and P1  1.0.
9
251y0631 4/17/06
Your Solution: Go to 251y063t. Find ‘Computations for the Portfolio Problem.’ The number that you
subtracted from -52.2 is your version number. The first two tables will look like the following.
Data Display
Row
x
1
22.5
2
9.3
3 -18.6
4
48.1
5
44.4
6
56.0
7 -20.1
8 -11.0
9
17.1
10
22.3
xsq
506.25
86.49
345.96
2313.61
1971.36
3136.00
404.01
121.00
292.41
497.29
y
-23.7
8.6
4.3
-52.2
62.4
61.4
9.8
52.6
17.1
11.7
ysq
561.69
73.96
18.49
2724.84
3893.76
3769.96
96.04
2766.76
292.41
136.89
xy
-533.25
79.98
-79.98
-2510.82
2770.56
3438.40
-196.98
-578.60
292.41
260.91
Data Display
sumx
170.000
sumx2
9674.38
sumy
152.000
sumy2
14334.8
sumxy
2942.63
n
10.0000
xbar
17.0000
ybar
15.2000
svarx
753.820
svary
1336.04
scovxy
39.8478
sx
27.4558
sy
36.5519
rxy
0.0397063
rxy2
0.00157659
The first column is x  R1 , the second is x 2  R12 , the third is y  R 2 , the fourth is y 2  R22 and the fifth
is xy  R1 R 2 . Accordingly sumx =
=

xy . xbar = x 
scovxy = s xy 
x
 x , ybar =
n
 xy  nxy , sx =
n 1
y
, sumx2 =
x
2
, sumy =
 y , svarx = s   x
n
s x2 , sy =
2
x
s 2y , rxy = rxy 
2
y
 nx 2
n 1
s xy
sxsy

 y and sumxy
 y  ny ,
, svary = s 
2
, sumy2 =
2
2
y
2
s xy
s x2 s 2y
2
n 1
and rxy2 = r xy2 . The
coefficients of variation are below. The next display repeats some of this material. The final display looks
like the following.
Data Display
Row Pin1
1
0.0
2
0.1
3
0.2
4
0.3
5
0.4
6
0.5
7
0.6
8
0.7
9
0.8
10
0.9
11
1.0
Pmean
15.20
15.38
15.56
15.74
15.92
16.10
16.28
16.46
16.64
16.82
17.00
Pstdv
36.5519
33.1196
29.9662
27.1890
24.9141
23.2893
22.4559
22.5023
23.4230
25.1222
27.4558
CofV
2.40473
2.15342
1.92585
1.72738
1.56496
1.44654
1.37936
1.36709
1.40763
1.49359
1.61505
The first column gives Pin1 = P1 . Since P2  1  P1 , it is not stated. Pmean = E R 
 P1 E R1   P2 ER2  . Pstdev =  s R  Var (R) , where VarR 
 P12VarR1   P22VarR2   2P1 P2 CovR1 , R2  . CofV = C 
R
E R 
is the coefficient of variation. Note
10
251y0631 4/17/06
that the first row gives the mean, standard deviation and coefficient of variation for R1 , and that the
last row gives the same statistics for R 2 .
11
251y0631 4/17/06
2. It’s time for a jorcillator problem! As everyone knows a jorcillator has two components, a Phillinx
and a Flubberall.
The life of a Phillinx, x , is described by a continuous uniform distribution between c  0  h5 and
d  30  h6 , where h5 and h6 are the last two digits of your student number .
The life of a Flubberall, y , is described by a Normal distribution with a mean of   20  h5 and a
standard deviation of   5.10 .
(Example: Seymour Butz’s student number is 123450. c  0  5  5 , d  30  0  30 and   20  5  25 ).
a)
Find the following probabilities for the Phillinx: (i) PPH 1   P0  x  10  , the probability that it
dies before the end of the tenth year, (ii) PPH 2   P10  x  20  , the probability that it dies
between the end of the tenth and the end of the twentieth year and (iii) PPH 3   P( x  20) , the
probability that it lasts beyond the twentieth year. (1.5)
b) Find the following probabilities for the Flubberall: (i) PF1   P0  y  10  , the probability that it
dies before the end of the tenth year, (ii) PF2   P10  y  20  , the probability that it dies
between the end of the tenth and the end of the twentieth year and (iii) PF3   P( y  20 ) , the
probability that it lasts beyond the twentieth year. (3)
c) Make a joint probability table using the 6 events described above. Assume independence. (1)
d) Assume that the Jorcillator will fail only if both components fail. Find the following probabilities
for the Jorcillator: (i) PJ 1  , the probability that it dies before the end of the tenth year, (ii)
PJ 2  , the probability that it dies between the end of the tenth and the end of the twentieth year
and (iii) PJ 3  , the probability that it lasts beyond the twentieth year. (3)
[23.5]
e)




(Extra credit) Find the following conditional probabilities: : (i) P J 3 F1 , (ii) P J 3 F2 (iii)
PJ 1 F3  , (iv) PF1 J 2  (2).
Solution:
a) Find the following probabilities for the Phillinx: (i) PPH 1   P0  x  10  , the probability that it
dies before the end of the tenth year, (ii) PPH 2   P10  x  20  , the probability that it dies
between the end of the tenth and the end of the twentieth year and (iii) PPH 3   P( x  20) , the
probability that it lasts beyond the twentieth year. (1.5)
All 100 solutions to this problem are available in Probabilities for the uniform distribution. Your
version number is h5 h6 . If c  0  h5 and d  30  h6 , d  c  30  h5  h6 . Make a diagram! The
1
1

. The bottom of the box is at h5 and the top is at 30  h6 .
d  c 30  h5  h6
Now divide the box by vertical lines at 10 and 20.
(i) The first division of the box will be from h5 to 10, and its area will be
height of the box is
10  h5
30  h5  h6
(ii) The second division of the box will be from 10 to 20, and its area will be
20  10
PPH 2   P10  x  20  
30  h5  h6
PPH 1   P0  x  10  
(iii) The third division of the box will be from 20 to 30  h6 , and its area will be
PPH 3   P20  x  30  
30  h6  20
30  h5  h6
Lets assume that Fillmore Barrols (Sorry, but I get my names from the Billionaires for Bush website –
many of you ought to learn their credit card song.) has student number 123456, so that h5  5 and
12
251y0631 4/17/06
h6  6. Then PPH 1   P0  x  10  
 P10  x  20  
10  h5
10  5
5


 .263158 , PPH 2 
30  h5  h6 30  5  6 19
30  h6  20
20  10
10

 .526316 and PPH 3   P20  x  30  
30  h5  h6 19
30  h5  h6
30  6  20 4

 .210526 . Since these probabilities describe the entire area of a rectangle with
19
19
1
height
and length 30  h5 h 6 , these add to one.
30  h5  h6

b) Find the following probabilities for the Flubberall: (i) PF1   P0  y  10  , the probability that it
dies before the end of the tenth year, (ii) PF2   P10  y  20  , the probability that it dies
between the end of the tenth and the end of the twentieth year and (iii) PF3   P( y  20 ) , the
probability that it lasts beyond the twentieth year. (3)
The life of a Flubberall, y , is described by a Normal distribution with a mean of   20  h5 and a
standard deviation of   5.10 .
The 10 possible sets of probabilities appear in Probabilities for the Normal distribution cataloged by
the mean. So Fillmore has a mean of 25 and the probabilities are
10  25 
 0  25
PF1   P0  y  10   P 
z
 P 4.90  z  2.94 
5.10 
 5.10
 P4.90  z  0  P2.94  z  0  .5000  .4984  .0016 , PF2   P10  y  20 
20  25 
10  25
 P
z
 P 2.94  z  0.98   P2.94  z  0  P0.98  z  0
5.10 
 5.10
 P2.94  z  0  P0.98  z  0  .4984  .3365  .1619 and PF3   P y  20 
20  25 

 Pz 
 Pz  0.98   P0.98  z  0  Pz  0  .3365  .5  .8365 . Much to my
5.10 

surprise, these are almost equal to the probabilities calculated by Minitab. My surprise is due to the
fact that the probabilities calculated by Minitab are much more accurate than those calculated from the
table, especially for numbers near zero. These probabilities add to one.
c) Make a joint probability table using the 6 events described above. Assume independence.
Let’s tick with Fillmore’s numbers.
From above - PF1  = .0016, PF2  = .1619 and PF3   .8365 ; also PPH 1   .2632 , PPH 2 
 .5263 and PPH 3   .2105 . Let’s make a joint probability table. (Columns don’t always add up
PH 1 PH 2
PH 3
F1
.0004
.0008
.0003
.0016
because of rounding) F2
.0426
.0852
.0341
.1619
F3
.2202
.4402
.1761
.8365
.2632
.5263 .2105 1.0000
d) Assume that the Jorcillator will fail only if both components fail. Find the following probabilities
for the Jorcillator: (i) PJ 1  , the probability that it dies before the end of the tenth year, (ii)
PJ 2  , the probability that it dies between the end of the tenth and the end of the twentieth year
and (iii) PJ 3  , the probability that it lasts beyond the twentieth year. (3)
Now let’s make a table of the joint events and when they down the Jorcillator. Since the Jorcillator will fail
only if both components fail, it fails only when the longer-lived component dies, so if the Flubberall fails in
period 1 and the Phillinx fails in period 3, the Jorcillator fails in period 3.
13
251y0631 4/17/06
Joint Event
Probability
F1 PH 1
.0004
Downs
Jorcillator in
period
1
F1 PH 2
.0008
2
F1 PH 3
.0003
3
F2 PH 1
.0426
2
F2 PH 2
.0852
2
F2 PH 3
.0341
3
F3 PH 1
.2202
3
F3 PH 2
.4402
3
F3 PH 3
.1761
3
(i) PF1  PH 1   PJ 1   .0004 , the probability that it dies before the end of the tenth year,
(ii) PJ 2   .0008  .0426  .0852  .1286 , the probability that it dies between the end of the tenth and
the end of the twentieth year
(iii)
PF3  PH 3   PF3   PPH 3   PF3  PH 3   .8365  .2105  .1761
 PJ 3   .0003  .0341  .2202  .4402  .1761  .8709 , the probability that it lasts beyond the
twentieth year. Note that, except for a .0001 rounding error, these add up to 1.
e)
(Extra credit) Find the following conditional probabilities:
PH 1 PH 2
PH 3
F1
.0004
.0008
.0003
.0016
F2
.0426
.0852
.0341
.1619
F3
.2202
.4402
.1761
.8365
.2632
.5263
.2105 1.0000


(i) P J 3 F1 : The only J 3 event that involves F1 is F1 PH 3 ; so the probability is
PJ 3  F 1 
.0003
 .1875 , which is probably way off because of rounding error.
 P J 3 F1  
.
0016


P F1
(ii)
PJ 3  F 2 
 P J 3 F2 : The J 3 event that involves F2 is F2 PH 3 ; so the probability is
PF2 


P J 3 F2  
.0341
 .2106
.1619
(iii) P J 1 F3 : If the Flubberall fails in period 3, the Jorcillator will not fail until period 3; so the




probability is P J 1 F3  0 .


(iv) P F1 J 2 : The J 2 events are F1 PH 2 , F2 PH 1 and F2 PH 2 . The only one that involves F1 is
F1 PH 2 . So
PJ 2  F 1 
.0008
 .0062 .
 PF1 J 2  
.1286
PJ 2 
14
251y0631 4/17/06
Your Solution: Go to 251y063t. Find ‘Probabilities for the Uniform Distribution.’ Your version
number is h5 h6 . So if h5  0 and h6  6 , you will go to Version 06 and find the following.
Data Display
version
P00-10
P10-20
P20-30
Psum
06.00000
0.416667
0.416667
0.166667
1.00000
The first line is h5 h6 , the version number; the second is P00-10 = PPH 1   P0  x  10 

10  h5
20  10
; the third is P10-20 = PPH 2   P10  x  20  
, the last is P20-30 =
30  h5  h6
30  h5  h6
PPH 3   P20  x  30  
30  h6  20
. Psum is the sum of the probabilities and should be very
30  h5  h6
close to 1.
Now find ‘Probabilities for the Normal Distribution.’ Find your mean   20  h5 . So if your version
number is h5 h6 . So if h5  0 , so that your mean is 20, you will find the following.
Data Display
Row mean var lower upper
prob
1
20 5.1
0
10 0.024908
2
20 5.1
10
20 0.475048
3
20 5.1
20
50 0.500000
Sum of prob = 0.999956
10  20  h5 
 0  20  h5
z
Row 1 gives PF1   P0  y  10   P 
 ; row 2 gives
5.10
 5.10

PF2   P10  y  20  and row 3 gives PF3   P y  20  . Note that these probabilities are exact; the
values of z used by the computer have not been rounded to hundredths, so that they may be close to
your answers, but not identical. ‘Sum of prob’ is the sum of the probabilities and should be very close
to 1.
Once you have these probabilities, you should be able to follow the remainder of the solution on the
previous page.
15
251y0631 4/17/06
ECO251 QBA1
THIRD EXAM
Apr 25, 2005
TAKE HOME SECTION
Name: ____Computer Solution____
Student Number: _________________________
Throughout this exam show your work! Please indicate clearly what sections of the problem you are
answering and what formulas you are using.
Part III. Do all the Following (19+ Points) Show your work! Neatness counts!
1. Ben Horim and Levy present the following actual returns for stock in Republic Steel and General Foods
over a ten year period.
Year
R1
1
22.5
2
9.3
3 -18.6
4
48.1
5
44.4
6
56.0
7 -20.1
8 -11.0
9
17.1
10
22.3
R2
-23.7
8.6
4.3
-52.2
62.4
61.4
9.8
52.6
17.1
11.7
Before you start, personalize the data below as follows. Take the third to last digit of your student number
and subtract it from -52.2 in the R2 column. This will make the results for year 4 even more disappointing
than they actually were. (Example: Seymour Butz’s student number is 123450. He subtracts the 4 from
-52.2 getting -56.2) .
f) Find the sample mean, variance and coefficient of variation for R2. Use computational formulas.
The results must look as if you calculated them by hand, although it is perfectly reasonable to
check the results using a computer or a calculator. (2.5)
g) Find the sample covariance and correlation between R1 and R2. (3)
h) Using a conventional measure of risk, explain which stock is riskier. (1).
[6.5]
i) Make a table showing 11 portfolios. Start with a portfolio with all your money invested in stock 1
(P1 = 1, P2 = 0), then move to a portfolio with 90% in stock 1 and 10% in stock 2 (P1 = .90, P2 =
.10), and move by tenths until you get a portfolio that is all stock 2. (5). The table should look as
P1
1
.9
.8
.7
.6
follows with much wider columns.
.5
.4
.3
.2
.1
0
R
s
C
Here R is the weighted average return,
s is the standard deviation of the portfolio return, and C is the coefficient of variation. [11.5]
16
251y0631 4/17/06
j)
Make a graph . Put the mean return on the y axis and the standard deviation on the x axis. (3)
Connect your points in a curve. The C-like curve you will probably get illustrates the tradeoffs
between return and risk and is called an investment opportunities frontier.
k) Looking at the graph and the coefficients, are there stock portfolios that you would never
recommend? Why? What portfolio would you recommend to an 80-year old widow? Why? What
portfolio would you pick for yourself? Why? (1.5)
[16]
Solution: Let’s assume that Fillmore Barrols has student number 123456, so that he, she or it subtracts 4
from -52.2. This is Version 4 in Computations for the Portfolio Problem.
g) Find the sample mean, variance and coefficient of variation for R2. Use computational formulas.
The results must look as if you calculated them by hand, although it is perfectly reasonable to
check the results using a computer or a calculator. (2.5)
To save a bit of space, the display for both securities is below.
Row
1
2
3
4
5
6
7
8
9
10
x 2  R12
22.5
9.3
-18.6
48.1
44.4
56.0
-20.1
-11.0
17.1
22.3
170.0
506.25
86.49
345.96
2313.61
1971.36
3136.00
404.01
121.00
292.41
497.29
9674.38
y  R2
xy  R1 R 2
y 2  R22
-23.7
561.69
8.6
73.96
4.3
18.49
-56.2 3158.44
62.4 3893.76
61.4 3769.96
9.8
96.04
52.6 2766.76
17.1
292.41
11.7
136.89
148.0 14768.40
-533.25
79.98
-79.98
-2703.22
2770.56
3438.40
-196.98
-578.60
292.41
260.91
2750.23
 y  148 .0  y  14768 .4  xy  2750 .23
 x , s   x  nx , C  std.deviation and
I copied the following formulas from Table 20: x 
So n  10,
x
x  R1
 170 .0 ,
x
2
 9674 .38 ,
2
2
2
2
 xy  nxy . Thus for y  R
n
n 1
mean
148 .0
14768 .40  10 14 .80 
 14 .80 , s 2y 
 1397 .5556 ,
10
n 1
9
37 .3839
 2.5259 . While we are at it, let’s take care of x  R1 .
s y  1397.5556  37.3839 and C y 
14 .80
s xy 
2
, y
2
170 .0
9674 .38  10 17 .00 2
 17 .00 , s x2 
 753 .82 , s x  753 .82  27 .4558 and
10
9
27 .4558
Cx 
 1.6150
17 .00
x
s xy
rxy
h) Find the sample covariance and correlation between R1 and R2.
2750 .23  10 17 .00 14 .8

 26 .0256 and
9
s xy
26 .0256


 .000642931  0.025356
sx s y
753 .82 1397 .556
i) Using a conventional measure of risk, explain which stock is riskier. (1).
y  R 2 has a coefficient of variation of C y  2.5259 , which is larger than C x  1.6150 , so the second
security is riskier.
17
251y0631 4/17/06
j)
Make a table showing 11 portfolios. Start with a portfolio with all your money invested in stock 1
(P1 = 1, P2 = 0), then move to a portfolio with 90% in stock 1 and 10% in stock 2 (P1 = .90, P2 =
.10), and move by tenths until you get a portfolio that is all stock 2. (5).
If we check 251varmin, we find the following. “If R  P1 R1  P2 R2 and P1  P2  1 , then
E R   P1 E R1   P2 E R2  and VarR  P12VarR1   P22VarR2   2P1 P2CovR1 , R2  is the variance of
the return. Thus if P1 and P2 are both .50 , we can say VarR =.25VarR1 +.25VarR2 +.50CovR1 R2  .
…… Since variance is a measure of risk, minimizing variance minimizes risk, though actually, the best
measure of risk is probably the coefficient of variation, the standard deviation divided by the mean, in this
Row
1
2
3
4
5
6
7
8
9
10
11
R
.” The table below was created in the opposite order to that requested.  R  Var R 
E R 
P1
E R 
R
CR
case C 
0.0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.0
14.80
15.02
15.24
15.46
15.68
15.90
16.12
16.34
16.56
16.78
17.00
37.3839
33.8267
30.5437
27.6329
25.2235
23.4703
22.5272
22.4963
23.3811
25.0849
27.4558
2.52594
2.25211
2.00418
1.78738
1.60864
1.47612
1.39747
1.37676
1.41190
1.49493
1.61505
k) Make a graph . Put the mean return on the y axis and the standard deviation on the x axis. (3)
Connect your points in a curve. The C-like curve you will probably get illustrates the tradeoffs
between return and risk and is called an investment opportunities frontier.
Notice that as the fraction of the portfolio in security 1rises, the coefficient of variation also falls until
it hits a minimum at P1  .8 It then starts rising. If you graph the standard deviation against the
expected return, from P1  0 to P1  .8 , you will get a curve with a negative slope, where the variance
falls and the return rises. After P1  .8 , the return continues to rise, but the variance rises too.
l) Looking at the graph and the coefficients, are there stock portfolios that you would never
recommend? Why? What portfolio would you recommend to an 80-year old widow? Why? What
portfolio would you pick for yourself? Why? (1.5)
There is no point in taking any portfolios between P1  0 and P1  .8 . A rational person expects an
increasing return for increasing risk, and it just isn’t there. A person who is very cautious as the widow
probably should be, will take the minimum risk package at P1  .8 . Your personal decision should lie
between P1  .8 and P1  1.0.
18
251y0631 4/17/06
2. It’s time for a jorcillator problem! As everyone knows a jorcillator has two components, a Phillinx
and a Flubberall.
The life of a Phillinx, x , is described by a continuous uniform distribution between c  0  h5 and
d  30  h6 , where h5 and h6 are the last two digits of your student number .
The life of a Flubberall, y , is described by a Normal distribution with a mean of   20  h5 and a
standard deviation of   5.10 .
(Example: Seymour Butz’s student number is 123450. c  0  5  5 , d  30  0  30 and   20  5  25 ).
l)
Find the following probabilities for the Phillinx: (i) PPH 1   P0  x  10  , the probability that it
dies before the end of the tenth year, (ii) PPH 2   P10  x  20  , the probability that it dies
between the end of the tenth and the end of the twentieth year and (iii) PPH 3   P( x  20) , the
probability that it lasts beyond the twentieth year. (1.5)
m) Find the following probabilities for the Flubberall: (i) PF1   P0  y  10  , the probability that it
dies before the end of the tenth year, (ii) PF2   P10  y  20  , the probability that it dies
between the end of the tenth and the end of the twentieth year and (iii) PF3   P( y  20 ) , the
probability that it lasts beyond the twentieth year. (3)
n) Make a joint probability table using the 6 events described above. Assume independence. (1)
o) Assume that the Jorcillator will fail only if both components fail. Find the following probabilities
for the Jorcillator: (i) PJ 1  , the probability that it dies before the end of the tenth year, (ii)
PJ 2  , the probability that it dies between the end of the tenth and the end of the twentieth year
and (iii) PJ 3  , the probability that it lasts beyond the twentieth year. (3)
[23.5]




p) (Extra credit) Find the following conditional probabilities: : (i) P J 3 F1 , (ii) P J 3 F2 (iii)
PJ 1 F3  , (iv) PF1 J 2  (2).
Solution:
f) Find the following probabilities for the Phillinx: (i) PPH 1   P0  x  10  , the probability that it
dies before the end of the tenth year, (ii) PPH 2   P10  x  20  , the probability that it dies
between the end of the tenth and the end of the twentieth year and (iii) PPH 3   P( x  20) , the
probability that it lasts beyond the twentieth year. (1.5)
All 100 solutions to this problem are available in Probabilities for the uniform distribution. Your
version number is h5 h6 . If c  0  h5 and d  30  h6 , d  c  30  h5  h6 . Make a diagram! The
1
1

. The bottom of the box is at h5 and the top is at 30  h6 .
d  c 30  h5  h6
Now divide the box by vertical lines at 10 and 20.
(i) The first division of the box will be from h5 to 10, and its area will be
height of the box is
10  h5
30  h5  h6
(ii) The second division of the box will be from 10 to 20, and its area will be
20  10
PPH 2   P10  x  20  
30  h5  h6
PPH 1   P0  x  10  
(iii) The third division of the box will be from 20 to 30  h6 , and its area will be
PPH 3   P20  x  30  
30  h6  20
30  h5  h6
Lets assume that Fillmore Barrols (Sorry, but I get my names from the Billionaires for Bush website –
many of you ought to learn their credit card song.) has student number 123456, so that h5  5 and
19
251y0631 4/17/06
h6  6. Then PPH 1   P0  x  10  
 P10  x  20  
10  h5
10  5
5


 .263158 , PPH 2 
30  h5  h6 30  5  6 19
30  h6  20
20  10
10

 .526316 and PPH 3   P20  x  30  
30  h5  h6 19
30  h5  h6
30  6  20 4

 .210526 . Of course, these add to one.
19
19
g) Find the following probabilities for the Flubberall: (i) PF1   P0  y  10  , the probability that it

dies before the end of the tenth year, (ii) PF2   P10  y  20  , the probability that it dies
between the end of the tenth and the end of the twentieth year and (iii) PF3   P( y  20 ) , the
probability that it lasts beyond the twentieth year. (3)
The life of a Flubberall, y , is described by a Normal distribution with a mean of   20  h5 and a
standard deviation of   5.10 .
The 10 possible sets of probabilities appear in Probabilities for the Normal distribution cataloged by
the mean. so Fillmore has a mean of 25 and the probabilities are
10  25 
 0  25
PF1   P0  y  10   P 
z
 P 4.90  z  2.94 
5.10 
 5.10
 P4.90  z  0  P2.94  z  0  .5000  .4984  .0016 , PF2   P10  y  20 
20  25 
10  25
 P
z
 P 2.94  z  0.98   P2.94  z  0  P0.98  z  0
5.10 
 5.10
 P2.94  z  0  P0.98  z  0  .4984  .3365  .1619 and PF3   P y  20 
20  25 

 Pz 
 Pz  0.98   P0.98  z  0  Pz  0  .3365  .5  .8365 . Much to my
5.10 

surprise, these are almost equal to the probabilities calculated by Minitab. My surprise is due to the
fact that the probabilities calculated by Minitab are much more accurate than those calculated from the
table, especially for numbers near zero. These probabilities add to one.
h) Make a joint probability table using the 6 events described above. Assume independence.
Let’s tick with Fillmore’s numbers.
From above - PF1  = .0016, PF2  = .1619 and PF3   .8365 ; also PPH 1   .2632 , PPH 2 
 .5263 and PPH 3   .2105 . Let’s make a joint probability table. (Columns don’t always add up
PH 1 PH 2
PH 3
F1
.0004
.0008
.0003
.0016
because of rounding) F2
.0426
.0852
.0341
.1619
F3
.2202
.4402
.1761
.8365
.2632
.5263 .2105 1.0000
i)
Assume that the Jorcillator will fail only if both components fail. Find the following probabilities
for the Jorcillator: (i) PJ 1  , the probability that it dies before the end of the tenth year, (ii)
PJ 2  , the probability that it dies between the end of the tenth and the end of the twentieth year
and (iii) PJ 3  , the probability that it lasts beyond the twentieth year. (3)
Now let’s make a table of the joint events and when they down the Jorcillator. Since the Jorcillator will fail
only if both components fail, it fails only when the longer-lived component dies, so if the Flubberall fails in
period 1 and the Phillinx fails in period 3, the Jorcillator fails in period 3.
Joint Event
Probability
Downs
20
251y0631 4/17/06
F1 PH 1
.0004
Jorcillator in
period
1
F1 PH 2
.0008
2
F1 PH 3
.0003
3
F2 PH 1
.0426
2
F2 PH 2
.0852
2
F2 PH 3
.0341
3
F3 PH 1
.2202
3
F3 PH 2
.4402
3
F3 PH 3
.1761
3
(i) PJ 1   .0004 , the probability that it dies before the end of the tenth year,
(ii) PJ 2   .0008  .0426  .0852  .1286 , the probability that it dies between the end of the tenth and
the end of the twentieth year
(iii) PJ 3   .0003  .0341  .2202  .4402  .1761  .8709 , the probability that it lasts beyond the
twentieth year. Note that, except for a .0001 rounding error, these add up to 1.
j)
(Extra credit) Find the following conditional probabilities:
PH 1 PH 2
PH 3
F1
.0004
.0008
.0003
.0016
F2
.0426
.0852
.0341
.1619
F3
.2202
.4402
.1761
.8365
.2632
.5263
.2105 1.0000


(i) P J 3 F1 : The only J 3 event that involves F1 is F1 PH 3 ; so the probability is
PJ 3 F1  
.0003
 .1875 , which is probably way off because of rounding error.
.0016
(ii) P J 3 F2 : The J 3 event that involves F2 is F2 PH 3 ; so the probability is


P J 3 F2  
.0341
 .2106
.1619
(iii) P J 1 F3 : If the Flubberall fails in period 3, the Jorcillator will not fail until period 3; so the




probability is P J 1 F3  0 .


(iv) P F1 J 2 : The J 2 events are F1 PH 2 , F2 PH 1 and F2 PH 2 . The only one that involves F1 is
F1 PH 2 . So PF1 J 2  
.0008
 .0062 .
.1286
21
Download