Docsity

Solutions to Exercises in Chapter 2: Probability Theory, Study notes of Introduction to Econometrics

Partial preview of the text

Download Solutions to Exercises in Chapter 2: Probability Theory and more Study notes Introduction to Econometrics in PDF only on Docsity!

PART ONE

Solutions to Exercises

4 Stock/Watson - Introduction to Econometrics - Second Edition

(c) Table 2.2 shows Pr ( X = (^) 0, Y = (^) 0) = (^) 0 15,. (^) Pr ( X = (^) 0, Y = (^) 1) = (^) 0 15,. (^) Pr ( X = (^) 1, Y = (^) 0) = (^) 0 07,.

Pr ( X = 1, Y = 1) = 0 63.. So

cov ( , ) [( )( )]

(0 - 0.70)(0 - 0.78) Pr( 0, 0)

(0 0 70)(1 0 78) Pr ( 0 1)

(1 0 70)(0 0 78) Pr ( 1 0)

(1 0 70)(1 0 78) Pr ( 1 1)

XY X Y^ E^ X^ X Y Y
X Y
X Y
X Y
X Y

σ = = − μ −μ

= −. × −. ×. + −. ×. ×.
+. × −. ×. +. 30 0 22 0 63

XY

X Y

cor X Y

σ

σ σ

×. ×.
. ×.
  1. For the two new random variables W = 3 + 6 X and V = 20 − 7 , Y we have:

(a)

E V E Y E Y
E W E X E X
= − = − = − ×. =.
= + = + = + ×. =..

(b)

2 2 2

2 2 2

var (3 6 ) 6 36 0 21 7 56,

var (20 7 ) ( 7) 49 0 1716 8 4084

W X

V Y

X
Y

σ σ

σ σ

= + = ⋅ = ×. =.
= − = − ⋅ = ×. =..

(c)

WV

WV

W V

cov X Y cov X Y

cor W V

σ

σ

σ σ

= + − = − = − ×. = −.
. ×.
  1. (a) = × − + × =

3 3 3 E X ( ) 0 (1 p ) 1 p p

(b) ( ) = 0 × (1 − ) + 1 × =

k k k E X p p p

(c) E X ( ) =0.

2 2 var ( X ) E X ( ) [ E X ( )] 0.3 0.09 0.

Thus, σ= 0.21 =0.46.

To compute the skewness, use the formula from exercise 2.21:

3 3 2 3

2 3

( ) ( ) 3[ ( )][ ( )] 2[ ( )]

E X − μ = E X − E X E X + E X

= − × + × =

Alternatively, − − × + − × =

3 3 3 E X ( μ) = [(1 0.3) 0.3] [(0 0.3) 0.7] 0.

Thus, skewness

3 3 3 = E X ( − μ ) /σ = .084/0.46 =0.87.

Solutions to Exercises in Chapter 2 5

To compute the kurtosis, use the formula from exercise 2.21:

4 4 3 2 2 4

2 3 4

( ) ( ) 4[ ( )][ ( )] 6[ ( )] [ ( )] 3[ ( )]

E X − μ = E X − E X E X + E X E X − E X

= − × + × − × =

Alternatively, − − × + − × =

4 4 4 E X ( μ) = [(1 0.3) 0.3] [(0 0.3) 0.7] 0.

Thus, kurtosis is

4 4 4 E X ( − μ ) /σ = .0777/0.46 =1.

  1. 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; this implies Y = (100/180) × ( X − 32) or Y = −17.78 + (5/9) × X .Using Key

Concept 2.3, μ X = 70 F° implies that μ Y = −17.78 + (5/9) × 70 = 21.11 C,° and σ X = 7 F°

implies σ (^) Y = (5/9) × 7 = 3.89 C.°

  1. The table shows that Pr ( X = 0, Y = 0) = 0 045,. Pr ( X = 0, Y = 1) = 0 709,. Pr ( X = 1, Y = 0) = 0 005,.

Pr ( X = 1, Y = 1) = 0 241,. Pr ( X = 0) = 0 754,. Pr ( X = 1) = 0 246,. Pr ( Y = 0) = 0 050,.

Pr ( Y = 1) = 0 950..

(a)

= = × = + × =
= ×. + ×. =..

( ) 0 Pr( 0) 1 Pr ( 1)

E Y μ Y Y Y

(b)

(unemployed) Unemployment Rate (labor force)

Pr ( 0) 0 050 1 0 950 1 ( )

Y E Y

(c) Calculate the conditional probabilities first:

Pr ( 0, 0) 0 045 Pr ( 0| 0) 0 0597, Pr ( 0) 0 754

X Y
Y X
X

Pr ( 0, 1) 0 709 Pr ( 1| 0) 0 9403, Pr ( 0) 0 754

X Y
Y X
X

Pr ( 1, 0) 0 005 Pr ( 0| 1) 0 0203, Pr ( 1) 0 246

X Y
Y X
X

Pr ( 1, 1) 0 241 Pr ( 1| 1) 0 9797 Pr ( 1) 0 246

X Y
Y X
X

The conditional expectations are

( | 1) 0 Pr ( 0| 1) 1 Pr ( 1| 1)

( | 0) 0 Pr ( 0| 0) 1 Pr ( 1| 0)

E Y X Y X Y X
E Y X Y X Y X
= = × = = + × = =
= ×. + ×. =.
= = × = = + × = =
= ×. + ×. =..

Solutions to Exercises in Chapter 2 7

Value of Y

Probability

Distribution of

X

1 0.02^ 0.05^ 0.10^ 0.03^ 0.01^ 0.

5 0.17 0.15 0.05 0.02 0.01 0.

Value of X

Probability distribution

of Y

(a) The probability distribution is given in the table above.

2 2 2 2 2 2

2 2

Var(Y) ( ) [ ( )] 218.

Y 14.
E Y
E Y
E Y E Y

σ

= × + × + × + × + × =
= × + × + × + × + × =

(b) Conditional Probability of Y | X = 8 is given in the table below

Value of Y

14 22 30 40 65

0.02/0.39 0.03/0.39 0.15/0.39 0.10/0.39 0.09/0.

E Y X = = × + × + ×
+ × + × =

2 2 2 2

2 2

E Y X = = × + × + ×
+ × + × =

2

8

Var( ) 1778.7 39.21 241.

Y X 15.
Y

σ (^) | =

(c) E XY ( ) = (1 × 14 × 0.02) + (1 × 22 : 0.05) + C(8 × 65 × 0.09) =171.

Cov( X Y , ) = E XY ( ) − E X E Y ( ) ( ) = 171.7 − 5.33 × 30.15 =11.

Corr( X Y , ) = Cov( X Y , )/( σ σ (^) X Y ) = 11.0 /(5.46 × 14.77) =0.

  1. Using the fact that if

2 Y N μ Y (^) ,σ Y

     

1 then ~ (0,1)

Y Y

Y N

μ σ

− and Appendix Table 1, we have

(a)

Pr ( 3) Pr (1) 0 8413 2 2

Y
Y

(b)

Pr( 0) 1 Pr( 0)

1 Pr 1 ( 1) (1) 0 8413 3 3

Y Y
Y

8 Stock/Watson - Introduction to Econometrics - Second Edition

(c)

Pr (40 52) Pr 5 5 5

(0 4) ( 2) (0 4) [1 (2)]
Y
Y

(d)

Pr (6 8) Pr 2 2 2

Y
Y
  1. (a) 0.

(b) 0.

(c) 0.

(d) When

2 Y ~ χ 10 ,then Y /10 ~ F 10, (^) ∞.

(e)

2 Y = Z ,where Z ~ N(0,1),thus Pr ( Y ≤ 1) = Pr ( 1− ≤ Z ≤ 1) =0.32.

  1. (a) 0.

(b) 0.

(c) 0.

(d) The tdf distribution and N(0, 1) are approximately the same when df is large.

(e) 0.

(f) 0.

  1. (a)

2 2 2 2 E Y ( ) = Var ( ) Y + μ Y = 1 + 0 = 1; E W ( ) = Var ( W ) + μ W = 100 + 0 =100.

(b) Y and W are symmetric around 0, thus skewness is equal to 0; because their mean is zero, this

means that the third moment is zero.

(c) The kurtosis of the normal is 3, so

4

$

( ) 3 ;

Y Y

E Y μ σ

− = solving yields

4 E( Y ) = 3;a similar calculation

yields the results for W.

(d) First, condition on X = 0,so that S = W :

2 3 4 2 E S X ( | = 0) = 0; E S X ( | = 0) = 100, E S X ( | = 0) = 0, E S X ( | = 0) = 3 × (^100).

Similarly,

2 3 4 E S X ( | = 1) = 0; E S X ( | = 1) = 1, E S X ( | = 1) = 0, E S ( | X = 1) =3.

From the large of iterated expectations

E S ( ) = E S X ( | = 0) × Pr (X = 0) + E S X ( | = 1) × Pr( X = 1) = 0

2 2 2 E S ( ) = E S X ( | = 0) × Pr (X = 0) + E S X ( | = 1) × Pr( X = 1) = 100 × 0.01 + 1 × 0.99 =1.

3 3 3 E S ( ) = E S ( | X = 0) × Pr (X = 0) + E S ( | X = 1) × Pr( X = 1) = 0

4 4 4 2 E S ( ) = E S ( | X = 0) × Pr (X = 0) + E S ( | X = 1) × Pr( X = 1) = 3 × 100 × 0.01 + 3 × × 1 0.99 =302.

10 Stock/Watson - Introduction to Econometrics - Second Edition

(b)

Pr (10 10 ) Pr 4/ 4/ 4/

Pr. 4/ 4/

c Y c c Y c n n n

c c Z n n

≤ ≤

≤

As n get large 4 /

c n

gets large, and the probability converges to 1.

(c) This follows from (b) and the definition of convergence in probability given in Key Concept 2.6.

  1. There are several ways to do this. Here is one way. Generate n draws of Y , Y 1 , Y 2 , … 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 probability to μ X = Pr( X = 1) = Pr( Y < 3.6), X

will be an accurate approximation if n is large.

  1. μ Y = 0.4 and

2 σ (^) Y = 0.4 × 0.6 =0.

(a) (i) P ( Y ≥ 0.43) =

Pr Pr 0.6124 0. 0.24/ 0.24/ 0.24/

Y Y

n n n

 ≥^  =^  ≥^ =

(ii) P ( Y ≤ 0.37) =

Pr Pr 1.22 0. 0.24/ 0.24/ 0.24/

Y Y

n n n

 ≤^  =^  ≤ −^ =

(b) We know Pr(−1.96 ≤ Z ≤ 1.96) = 0.95, thus we want n to satisfy 0.41 0. 0.24 /

n

= − > − and

0.39 0. 0.24 /

n

− < − Solving these inequalities yields^ n^ ≥^ 9220.

  1. Pr ( Y = $ 0) = 0 95,. Pr ( Y = $ 20000) = 0 05..

(a) The mean of Y is

μ Y (^) = 0 × Pr ( Y = $ 0) + 20, 000 × Pr ( Y = $ 20000) = $ 1000.

The variance of Y is

( )

( )

2 2

2 2

2 2 7

(0 1000) Pr^0 (20000^ 1000)^ Pr (^ 20000)

Y E^ Y Y
Y Y

σ μ

     

= − × = + − × =
= − ×. + ×. =. ×

so the standard deviation of Y is

1 (1 9 10 )^72 σ (^) Y =. × = $.

(b) (i) E Y ( ) = μ Y = $ 1000,

2 2 7 5 1 9 10 100 1 9^ 10.

Y Y n

σ σ

. × = = =. ×

(ii) Using the central limit theorem,

5 5

Pr ( 2000) 1 Pr ( 2000)

1 Pr

1 9 10 1 9 10

Y Y
Y
. ×^. × 

Solutions to Exercises in Chapter 2 11

  1. (a)

1

1

Pr ( ) Pr ( , )

Pr ( | )Pr ( )

l

j i j i

l

j i i i

Y y X x Y y

Y y X x X x

=

=

∑

∑

(b)

1 1 1

1 1

1

( ) Pr ( ) Pr ( | ) Pr ( )

Pr ( | ) Pr ( )

( | )Pr ( )

i

i i

k k l

j j j j i i j j i

l k

j j i i j

l

i

E Y y Y y y Y y X x X x

y Y y X x X x

E Y X x X x

= = =

      =   = (^)  = 

=

∑ ∑ ∑

∑ ∑

∑

(c) When X and Y are independent,

Pr ( X = xi , Y = yj ) = Pr ( X = xi )Pr ( Y = yj ),

so

1 1

1 1

1 1

[( )( )]

( )( ) Pr ( , )

( )( ) Pr ( ) Pr ( )

( ) Pr ( ) ( ) Pr (

XY X Y l k

i X j Y i j i j

l k

i X j Y i j i j

l k

i X i j Y j i j

X Y

E X Y

x y X x Y y

x y X x Y y

x X x y Y y

E X E Y

σ μ μ

μ μ

μ μ

μ μ

μ μ

= =

= =

= =

 ^ 
= − − = × =

∑ ∑

∑ ∑

∑ ∑

XY

X Y X Y

cor X Y

σ

σ σ σ σ

  1. (a)

1 1

Pr ( ) Pr ( | , ) Pr ( , )

l m

i i j h j h j h

Y y Y y X x Z z X x Z z

= =

= = (^) ∑∑ = = = = =

(b)

1

1 1 1

1 1 1

1 1

( ) Pr ( ) Pr ( )

Pr ( | , ) Pr ( , )

Pr ( | , ) Pr ( , )

( | , ) Pr ( , )

k

i i i i k l m

i i j h j h i j h

l m k

i i j h j h j h i

l m

j h j h j h

E Y y Y y Y y

y Y y X x Z z X x Z z

y Y y X x Z z X x Z z

E Y X x Z z X x Z z

=

= = =

= = =

= =

∑

∑ ∑∑

∑∑ ∑

∑∑

Solutions to Exercises in Chapter 2 13

(d)

( ) [( )( )] [( 0)( 1)]

X Y

XY

X Y X Y

Cov XY E X Y E X Y

E XY X E XY E X

cor X Y

μ μ

σ

σ σ σ σ

  1. (a)

2 2 2 2 E Y ( (^) i )= σ + μ = σ and the result follows directly.

(b) ( Yi / σ) is distributed i.i.d. N(0,1),

2 1

n W = (^) ∑ (^) i = Yi σ and the result follows from the definition of a

2 χ (^) n random variable.

(c) E ( W ) =

2 2

2 2 1 1

n n i i

i i

Y Y

E W E E n = σ^ = σ

= (^) ∑ = (^) ∑ =

(d) Write

2 2 2 2

1 1

( / ) 1 1

n n i Yi^ i Y n n

Y Y
V

σ

σ

∑ (^) = ∑= − −

which follows from dividing the numerator and denominator by σ. Y 1 / σ ~ N(0,1),

2 2

n ∑ (^) i = Yi^ σ ~

2 χ (^) n − 1 , and Y 1 / σ and

2 2

n ∑ (^) i = Yi^ σ are independent. The result then follows from the definition of

the t distribution.