Exercise Solutions Chapter 2
Exercise Solutions Chapter 2
to Econometrics
(3rd Updated Edition, Global Edition)
by
James H. Stock and Mark W. Watson
Solutions to End‐of‐Chapter Exercises: Chapter 2*
(This version August 17, 2014)
*Limited distribution: For Instructors Only. Answers to all odd‐numbered
questions are provided to students on the textbook website. If you find errors in
the solutions, please pass them along to us at [email protected].
2.1. (a) Probability distribution function for Y
Outcome (number of heads) Y=0 Y=1 Y=2
Probability 0.36 0.48 0.16
and
so that
(a)
Y E (Y ) 0 Pr (Y 0) 1 Pr (Y 1)
0 022 1 078 078,
X E ( X ) 0 Pr ( X 0) 1 Pr ( X 1)
0 030 1 070 070
(b)
X2 E[( X X )2 ]
(0 0.70) 2 Pr ( X 0) (1 0.70) 2 Pr ( X 1)
(070) 2 030 0302 070 021
Y2 E[(Y Y ) 2 ]
(0 0.78) 2 Pr (Y 0) (1 0.78) 2 Pr (Y 1)
(078) 2 022 0222 078 01716
(c)
XY cov (X , Y ) E[( X X )(Y Y )]
(0 0.70)(0 0.78) Pr( X 0, Y 0)
(0 070)(1 078) Pr ( X 0 Y 1)
(1 070)(0 078) Pr ( X 1 Y 0)
(1 070)(1 078) Pr ( X 1 Y 1)
(070) (078) 015 (070) 022 015
030 (078) 007 030 022 063
0084,
XY 0084
corr (X , Y ) 04425
XY 021 01716
(a)
E (V ) E (11 2Y ) 11 2 E (Y ) 11 2 078 944,
E (W ) E (4 8 X ) 4 8E ( X ) 4 8 070 96
(b)
(c)
WV 1008
corr (W , V ) 03319
WV 1344 06864
2.4. (a) E ( X 3 ) 03 (1 p) 13 p p
(b) E ( X k ) 0k (1 p) 1k p p
(c) E ( X ) 0.3
E ( X )3 E ( X 3 ) 3[ E ( X 2 )][ E ( X )] 2[ E ( X )]3
0.3 3 0.32 2 0.33 0.084
2.5. Let X denote temperature in F and Y denote temperature in C. Recall that Y = 0
when X = 32 and Y =100 when X = 212.
Using Key Concept 2.3, X = 65oF implies that x 17.78 (5/9) 63 18.33C,
(a)
E (Y ) Y 0 Pr(Y 0) 1 Pr (Y 1)
0 012 1 088 088
(b)
#(unemployed)
Unemployment Rate Pr (Y 0) 0.12
#(labor force)
Pr ( X 0, Y 0) 0078
Pr (Y 0|X 0) 0104,
Pr ( X 0) 0751
Pr ( X 0, Y 1) 0673
Pr (Y 1|X 0) 0896,
Pr ( X 0) 0751
Pr ( X 1, Y 0) 0042
Pr (Y 0|X 1) 0169,
Pr ( X 1) 0249
Pr ( X 1, Y 1) 0207
Pr (Y 1|X 1) 0831
Pr ( X 1) 0249
E (Y |X 0) 0 Pr (Y 0|X 0) 1 Pr (Y 1|X 0)
0 1 0896 0896
(e) The probability that a randomly selected worker, who is reported being
unemployed, is a college graduate is
Pr ( X 1, Y 0) 0042
Pr ( X 1|Y 0) 035
Pr (Y 0) 012
(f) Educational achievement and employment status are not independent because
they do not satisfy that, for all values of x and y,
Pr ( X x|Y y ) Pr ( X x)
For example, from part (e) Pr ( X 0|Y 0) = 0.65, while from the table
Pr(X = 0) = 0.751.
cov( M , F )
(b) corr ( M , F ) MF , so that cov ( M , F ) M F corr ( M , F ). Thus,
(d) First you need to look up the current Euro/dollar exchange rate in the Wall Street
Journal, the Federal Reserve web page, or other financial data outlet. Suppose that
this exchange rate is e (say e = 0.75 Euros per Dollar); each 1 dollar is therefore
with e Euros. The mean is therefore e C (in units of thousands of Euros per
year), and the standard deviation is e C (in units of thousands of Euros per
year). The correlation is unit-free, and is unchanged.
2.9.
Probability
Value of Y
Distribution of
2 4 6 8 10 X
3 0.04 0.09 0.03 0.12 0.01 0.29
Value of X 6 0.10 0.06 0.15 0.03 0.02 0.36
9 0.13 0.11 0.04 0.06 0.01 0.35
Probability Distribution of Y 0.27 0.26 0.22 0.21 0.04 1.00
(a) The probability distribution is given in the table above.
E (Y ) 2(0.27) 4(0.26) 6(0.22) 8(0.21) 10(0.04) 4.98
E (Y 2 ) 2 2 (0.27) 4 2 (0.26) 6 2 (0.22) 82 (0.21) 10 2 (0.04) 30.6
var(Y ) E (Y 2 ) [ E (Y )]2 30.6 24.8 5.8
Y 5.8 2.41
(b) The conditional probability of Y|X = 6 is given in the table below
Value of Y
2 4 6 8 10
0.10/0.36 0.06/0.36 0.15/0.36 0.03/0.36 0.02/0.36
E (Y| X 6) 2 (0.1/0.36) 4 (0.06/0.36) 6 (0.15/0.36)
8 (0.03/0.36) 10 (0.02/0.36) 4.944
2 2 2 2
E (Y | X 6) 2 (0.1/0.36) 4 (0.06/0.36) 6 (0.15/0.36)
82 (0.03/0.36) 102 (0.02/0.36) 29.667
var(Y ) E (Y 2 ) [ E (Y )]2 29.667 24.443 5.244
(c)
E ( XY ) (3 2 0.04) (3 4 0.09) (9 10 0.01) 29.4
cov( X , Y ) E ( XY ) E ( X ) E (Y ) 29.4 6.18 4.98 1.3764
corr( X , Y ) cov( X , Y )/( X Y ) 1.3764 / (2.93 2.41) 0.1949
Y Y
2.10. Using the fact that if Y N Y , Y2 then ~ N (0,1) and Appendix Table 1,
Y
we have
Y 4 54 1
(a) Pr (Y 5) Pr 06304
3 3 3
Y 5 25 1 1
(b) Pr(Y 2) 1 Pr 1 05987
4 4 4 4
2 1 Y 1 5 1 1
(c) Pr (2 Y 5) Pr (2) 0.2857
2 2 2 2
1 2 Y 2 1 2
(d) Pr (1 Y 4) Pr (2) (1)
1 1 1
Y
(d) When Y ~ 82 , then ~ F8,
10
E (W 2 ) Var (W ) W2 16 0 16
(b) Y and W are symmetric around 0, thus skewness is equal to 0; because their mean
is 0, which means that the third moment is 0.
E (Y Y )4
(c) The kurtosis of the normal is 3, so 3 ; by transforming both Y and
Y4
W to the standard normal yields the results.
E ( S |X 0) 0; E ( S 2 |X 0) 16, E ( S 3 |X 0) 0, E ( S 4 |X 0) 3 162
Similarly,
E ( S |X 1) 0; E ( S 2 |X 1) 4, E ( S 3 |X 1) 0, E ( S 4 |X 1) 3 42
E ( S 3 ) E ( S 3 |X 0) Pr (X 0) E ( S 3 |X 1) Pr( X 1) 0
E ( S 4 ) E ( S 4 |X 0) Pr (X 0) E ( S 4 |X 1) Pr( X 1)
3 162 0.1 3 42 0.9 120
2.14. The central limit theorem suggests that when the sample size (n) is large, the
Y2
distribution of the sample average (Y ) is approximately N Y , Y2 with Y2 n .
2
(a) n 50 and Y2 nY 50
21
042
Y 50 51 50 Y 50
Pr (Y 51) Pr Pr 1.5429 (1543) 09382
042 042 042
2
(b) n 150 and Y2 nY 150
21
014
Pr (Y 49) 1 Pr (Y 49
Y 50 49 50
1 Pr
014 014
Y 50 1
1 Pr
014 0.3741
Y 50
1 Pr 2.6731 1 (26731)
014
(26731) 09962
2
(c) n 45 and Y2 nY 21
45 0467
Pr (50.5 Y 51)
50.5 50 Y 50 51 50
Pr
0467 0467 0467
(14587) (07293) 09265 07642
01623
2.15. (a)
9.6 10 Y 10 10.4 10
Pr (9.6 Y 10.4) Pr
4/n 4/n 4/n
9.6 10 10.4 10
Pr Z
4/n 4/n
9.6 10 10.4 10
(i) n = 20; Pr Z Pr (0.89 Z 0.89) 0.63
4/n 4/n
9.6 10 10.4 10
(ii) n = 100; Pr Z Pr(2.00 Z 2.00) 0.954
4/n 4/n
9.6 10 10.4 10
(iii)n = 1000; Pr Z Pr(6.32 Z 6.32) 1.000
4/n 4/n
(b)
c Y 10 c
Pr (10 c Y 10 c) Pr
4/n 4/n 4/n
c c
Pr Z .
4/n 4/n
c
As n get large gets large, and the probability converges to 1.
4/n
(c) This follows from (b) and the definition of convergence in probability given in
Key Concept 2.6.
2.16. There are several ways to do this. Here is one way. Generate n draws of Y, Y1, Y2, …
Yn. Let Xi = 1 if Yi < 3.6, otherwise set Xi = 0. Notice that Xi is a Bernoulli random
variables with X = Pr(X = 1) = Pr(Y < 3.6). Compute X . Because X converges in
The variance of Y is
Y2 E Y Y
2
2 107
(b) Y2 nY 4.27 355,833
120
Using the central limit theorem,
Pr (Y 3000) 1 Pr (Y 3000)
Y 1500 3000 1500
1 Pr
355,833 355,833
1 (25145) 1 09939 0
2.19. (a)
l
Pr (Y y j ) Pr ( X xi , Y y j )
i 1
l
Pr (Y y j | X xi )Pr ( X xi )
i 1
(b)
k k l
E (Y ) y j Pr (Y y j ) y j Pr (Y y j |X xi ) Pr ( X xi )
j 1 j 1 i 1
l k
yj Pr (Y yj |X xi ) Pr ( X xi )
i 1 j 1
l
E (Y | X xi )Pr ( X xi )
i 1
Pr (X xi , Y y j ) Pr (X xi )Pr (Y y j )
so
XY E[( X X )(Y Y )]
l k
( xi X )( y j Y ) Pr ( X xi , Y y j )
i 1 j 1
l k
( xi X )( y j Y ) Pr ( X xi ) Pr (Y y j )
i 1 j 1
l k
( xi X ) Pr ( X xi ) ( yj Y ) Pr (Y yj
i 1 j 1
E ( X X ) E (Y Y ) 0 0 0,
XY 0
cor (X , Y ) 0
XY XY
l m
2.20. (a) Pr (Y yi ) Pr (Y yi | X xj , Z zh ) Pr (X xj , Z zh )
j 1 h 1
(b)
k
E (Y ) yi Pr (Y yi ) Pr (Y yi )
i 1
k l m
yi Pr (Y yi | X xj , Z zh ) Pr (X xj , Z zh )
i 1 j 1 h 1
l m
k
yi Pr (Y yi | X xj , Z zh ) Pr (X xj , Z zh )
j 1 h 1 i 1
l m
E (Y | X xj , Z zh ) Pr (X xj , Z zh )
j 1 h 1
where the first line in the definition of the mean, the second uses (a), the third is a
rearrangement, and the final line uses the definition of the conditional
expectation.
2. 21.
(a)
E ( X )3 E[( X ) 2 ( X )] E[ X 3 2 X 2 X 2 X 2 2 X 2 3 ]
E ( X 3 ) 3E ( X 2 ) 3E ( X ) 2 3
E ( X 3 ) 3E ( X 2 ) E ( X ) 3E ( X )[ E ( X )]2 [ E ( X )]3
E ( X 3 ) 3E ( X 2 ) E ( X ) 2 E ( X )3
(b)
E ( X ) 4 E[( X 3 3 X 2 3 X 2 3 )( X )]
E[ X 4 3 X 3 3 X 2 2 X 3 X 3 3 X 2 2 3 X 3 4 ]
E ( X 4 ) 4 E ( X 3 ) E ( X ) 6 E ( X 2 ) E ( X ) 2 4 E ( X ) E ( X )3 E ( X ) 4
E ( X 4 ) 4[ E ( X )][ E ( X 3 )] 6[ E ( X )]2 [ E ( X 2 )] 3[ E ( X )]4
w 0.08 (1 w) 0.05
2 w2 0.072 (1 w)2 0.042 2 w (1 w) [0.07 0.04 0.25]
where 0.07 0.04 0.25 Cov ( Rs , Rb ) follows from the definition of the correlation
between Rs and Rb.
d 2
2 w .07 2 2(1 w) 0.042 (2 4 w) [0.07 0.04 0.25]
dw
0.0102 w 0.0018
Solving for w yields w 18 / 102 0.18. (Notice that the second derivative is
positive, so that this is the global minimum.) With w 0.18, R .038.
2. 23. X and Z are two independently distributed standard normal random variables, so
X Z 0, X2 Z2 1, XZ 0.
(b) E ( X 2 ) X2 X2 1, and Y E ( X 2 Z ) E ( X 2 ) Z 1 0 1
(d)
(b) (Yi/) is distributed i.i.d. N(0,1), W i 1 (Yi / ) 2 , and the result follows from the
n
n
Yi 2 n
Yi 2
(c) E (W ) E E n.
i 1 2 i 1 2
(d) Write
Y1 Y1 /
V
in2 Yi 2 in2 (Y / ) 2
n 1 n 1
which follows from dividing the numerator and denominator by . Y1/ ~ N(0,1),
i 2 (Yi / ) 2 ~ n21 , and Y1/ and i 2 (Yi / ) 2 are independent. The result then
n n
n n
2.25. (a) ax
i 1
i (ax1 ax2 ax3 axn ) a( x1 x2 x3 xn ) a xi
i 1
(b)
n
(x y ) (x y
i 1
i i 1 1 x2 y2 xn yn )
( x1 x2 xn ) ( y1 y2 yn )
n n
xi yi
i 1 i 1
n
(c) a (a a a a) na
i 1
(d)
n n
uses the definition of correlation, the second uses the fact that Yi and Yj have the same
variance (and standard deviation), the third equality uses the definition of standard
deviation, and the fourth uses the correlation given in the problem. Solving for
cov(Yi, Yj) from the last equality gives the desired result.
1 1 1 1
(b) Y Y1 Y2 , so that E( Y ) = E (Y )1 E (Y2 ) Y
2 2 2 2
1 1 2 2 Y2
var( Y ) = var(Y1 ) var(Y2 ) cov(Y1 , Y2 ) Y
4 4 4 2 2
1 n 1 n 1 n
(c) Y i
n i 1
Y , so that E (Y ) i n
n i 1
E (Y )
i 1
Y Y
1 n
var(Y ) var Yi
n i 1
1 n 2 n 1 n
2 var(Yi ) 2 cov(Y , Y ) i j
n i 1 n i 1 j i 1
1 n
2 n 1 n
n2
i 1
2
Y
n2
i 1 j i 1
2
Y
2
n(n 1)
Y
Y2
n n2
Y2 1 2
1 Y
n n
n 1 n
an(n 1)
where the fourth line uses a a(1 2 3 n 1)
i 1 j i 1 2
for any
variable a.
Y2 1
(d) When n is large 0 and 0 , and the result follows from (c).
n n
2.27
(c) Using the hint: V = W – h(Z), so that E(V2) = E(W2) + E[h(Z)2] – 2×E[W×h(Z)].
Using an argument like that in (b), E[W×h(Z)] = 0. Thus, E(V2) = E(W2) +
E[h(Z)2], and the result follows by recognizing that E[h(Z)2] ≥ 0 because h(z)2 ≥ 0
for any value of z.