Docsity

Problem Set 2 - Introductory Econometrics | ECON 371, Assignments of Introduction to Econometrics

Toggle sidebar
bg1
Problem Set #2
Solutions
(1) Stock and Watson 2.2: (a) First,
E(W) = 3 + 6E(X) and E(V) = 20 โˆ’7E(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 ฯƒ2
V= Var(V) = 49Var(Y).
Now, again from table 2.2,
E(X2) = 0(.3) + 1(.7) = .7 and E(Y2) = 0(.22) + 1(.78) = .78.
Thus,
Var(X) = E(X2)โˆ’E2(X) = .7โˆ’.7(.7) = .21.
Similarly,
Var(Y) = E(Y2)โˆ’E2(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 โˆ’7Y)] โˆ’E(W)E(V)
=E(60 + 120Xโˆ’21Yโˆ’42XY )โˆ’E(W)E(V)
= 60 + 120E(X)โˆ’21E(Y)โˆ’42E(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.
1
pf3

Partial preview of the text

Download Problem Set 2 - Introductory Econometrics | ECON 371 and more Assignments Introduction to Econometrics in PDF only on Docsity!

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.