

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Problem Set # Solutions
(1) Stock and Watson 2.2: (a) First,
E(W ) = 3 + 6E(X) and E(V ) = 20 โ 7 E(Y ).
From table 2.2, E(X) = 0(.3) + 1(.7) =. 7
and E(Y ) = 0(.22) + 1(.78) =. 78.
Therrefore, E(W ) = 3 + 6(.7) = 7. 2
and E(V ) = 20 โ 7(.78) = 14. 54.
(b) First, ฯ^2 W = Var(W ) = 36Var(X) and ฯ V^2 = Var(V ) = 49Var(Y ).
Now, again from table 2.2,
E(X^2 ) = 0(.3) + 1(.7) = .7 and E(Y 2 ) = 0(.22) + 1(.78) =. 78.
Thus, Var(X) = E(X^2 ) โ E^2 (X) =. 7 โ .7(.7) =. 21.
Similarly, Var(Y ) = E(Y 2 ) โ E^2 (Y ) =. 78 โ (.78)(.78) =. 1716.
Thus, Var(W ) = 36(.21) = 7.56 andVar(V ) = 49(.1716) = 8. 41.
(c)Note that
ฯW V = Cov(W, V ) = E(W V ) โ E(W )E(V ) = E[(3 + 6X)(20 โ 7 Y )] โ E(W )E(V ) = E(60 + 120X โ 21 Y โ 42 XY ) โ E(W )E(V ) = 60 + 120E(X) โ 21 E(Y ) โ 42 E(XY ) โ E(W )E(V )
From previous parts of this exercise, we know all of the above quantities, except for E(XY ). We can, however, calculate this from table 2.2:
E(XY ) = 0(.15) + 0(.07) + 0(.15) + 1(.63) =. 63.
Therefore,
Cov(W, V ) = 60+120(.7)โ21(.78)โ42(.63)โ(7.2)(14.54) = 60+84โ 16. 38 โ 26. 46 โ 104 .688 = โ 3. 528
It follows that Corr(W, V ) = Cov(W, V )/โVar(W )Var(V ) = โ 3. 528 /โ 7 .56(8.41) โ โ.44. It is reasonable to expect a negative correlation between rain and the shorness of the commute.
(2). Note that
E(Z) = E[(1/2)(Y โ 1)] = (1/2)[E(Y ) โ 1] = (1/2)[1 โ 1] = 0.
Similarly,
Var(Z) = Var([1/2](Y โ 1)) = (1/4)Var(Y โ 1) = (1/4)Var(Y ) = (1/4)4 = 1.
(3 a) By definition,
Pr(Y = yj ) =
โ^ l i=
Pr(Y = yj , X = xi)
โ^ l i=
Pr(Y = yj |X = xi)Pr(X = xi),
where the last line follows from the definition of conditional probability.
(b) Note
E(Y ) =
โ^ k j=
yiPr(Y = yj )
โ^ k j=
yj
โl i=
Pr(Y = yj |X = xi)Pr(X = xi)
โ^ k j=
โ^ l i=
yj Pr(Y = yj |X = xi)Pr(X = xi)
โ^ l i=
๏ฃฎ ๏ฃฐ โ^ k j=
yj Pr(Y = yj |X = xi)
๏ฃน ๏ฃป (^) Pr(X = xi)
โ^ l i=
E(Y |X = xi)Pr(X = xi).
Note that the second line substitutes the result in part (a), we can interchange the order of the summations, and the last line applies the definition of the conditional expectation function.
(c) If X and Y are independent, then, as shown in class, E(XY ) = E(X)E(Y ). Since, by defini- tion, ฯXY = Cov(X, Y ) = E(XY ) โ E(X)E(Y ), independence implies ฯXY = 0. Similarly, since Corr(X, Y ) = ฯXY /
โ Var(X)Var(y), the correlation must also be zero.