110
Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020 Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 1 / 99

Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

  • Upload
    others

  • View
    7

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Lecture 5: Instrumental VariablesApplied Micro-Econometrics,Fall 2020

Zhaopeng Qu

Nanjing University

10/29/2020

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 1 / 99

Page 2: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

1 Review Previous Lecture of Internal Validity

2 Instrumental Variable Method

3 Checking Instrument Validity

4 Instrumental Variable for multiple regression

5 Review the last lecture

6 IV with Heterogeneous Causal Effects

7 Some Practical Guides by Angrist and Pischke(2012)

8 An good example: Long live Keju

9 Where Do Valid Instruments Come From?

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 2 / 99

Page 3: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Review Previous Lecture of Internal Validity

Section 1

Review Previous Lecture of Internal Validity

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 3 / 99

Page 4: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Review Previous Lecture of Internal Validity

Threatens to Internal Validity

Three endogenous in OLS regression are:Omitted Variable Bias(a variable that is correlated with X but isunobserved)Simultaneity or reverse causality Bias (X causes Y,Y causes X)Errors-in-Variables Bias (X is measured with error)

One easy way to deal with these endogeneity is using InstrumentalVariable method.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 4 / 99

Page 5: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Section 2

Instrumental Variable Method

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 5 / 99

Page 6: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Introduction

The earliest application involved attempts to estimate demand andsupply curve for product.

A simple but difficult question: How to find the supply or demandcurves?

Difficulty: We can only observe intersections of supply and demand,yielding pairs.

Solution: Wright(1928) use variables that appear in one equation toshift this equation and trace out the other.

The variables that do the shifting came to be known as InstrumentalVariables method.

It is well-known that IV can address the problems of omitted variablebias, measurement error and reverse causality problems.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 6 / 99

Page 7: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Terminology: endogeneity and exogeneity

An endogenous variable is one that both we are interested in and iscorrelated with u.

An exogenous variable is one that is uncorrelated with u.

Historical note: “Endogenous” literally means “determined within thesystem,” that is, a variable that is jointly determined with Y, that is,a variable subject to simultaneous causality.

However, this definition is narrow and IV regression can be used toaddress OVB and errors-in-variable bias, not just to simultaneouscausality bias.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 7 / 99

Page 8: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Instrumental variables: 1 endogenous regressor & 1instrument

suppose a simple OLS regression like previous equation

𝑌𝑖 = 𝛽0 + 𝛽1𝑋𝑖 + 𝑢𝑖

Because 𝐸[𝑢𝑖|𝑋𝑖] ≠ 0, then we can use an instrumental variable(𝑍𝑖)to obtain an consistent estimate of coefficient.

Intuitively, we want to split 𝑋𝑖 into two parts:1 part that is correlated with the error term.2 part that is uncorrelated with the error term.

If we can isolate the variation in 𝑋𝑖 that is uncorrelated with 𝑢𝑖,thenwe can use this part to obtain a consistent estimate of the causaleffect of 𝑋𝑖 on 𝑌𝑖.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 8 / 99

Page 9: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Instrumental variables: 1 endogenous regressor & 1instrument

An instrumental variable 𝑍𝑖 must satisfy the following 2 properties:1 Instrumental relevance: 𝑍𝑖 should be correlated with the casual

variable of interest, 𝑋𝑖 (endogenous variable),thus

𝐶𝑜𝑣(𝑋𝑖, 𝑍𝑖) ≠ 0

.2 Instumental exogeneity: 𝑍𝑖 is as good as randomly assigned and 𝑍𝑖

only affect on 𝑌𝑖 through 𝑋𝑖 affecting 𝑌𝑖 channel.

𝐶𝑜𝑣(𝑍𝑖, 𝑢𝑖) = 0

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 9 / 99

Page 10: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

IV estimator:Jargon

Our simple OLS regression: Causal relationship of interest

𝑌𝑖 = 𝛽0 + 𝛽1𝑋𝑖 + 𝑢𝑖

First-Stage regression: regress endogenous variable on IV

𝑋𝑖 = 𝜋0 + 𝜋1𝑍𝑖 + 𝑣𝑖

Reduced-Form: regress outcome variable on IV

𝑌𝑖 = 𝛿0 + 𝛿1𝑍𝑖 + 𝑒𝑖

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 10 / 99

Page 11: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

IV estimator:Two Steps Least Square (2SLS)

We can estimate the causal effect of 𝑋𝑖 on 𝑌𝑖 in two steps1 First stage: Regress 𝑋𝑖 on 𝑍𝑖 & obtain predicted values of ��𝑖,if

𝐶𝑜𝑣(𝑍𝑖, 𝑢𝑖) = 0, then ��𝑖 contains variation in 𝑋𝑖 that is uncorrelatedwith 𝑢𝑖

��𝑖 = 𝜋0 + 𝜋1𝑍𝑖

.2 Second stage: Regress 𝑌𝑖 on ��𝑖 to obtain the Two Stage Least

Squares estimator 𝛽2𝑆𝐿𝑆

𝛽2𝑆𝐿𝑆 = ∑(𝑌𝑖 − 𝑌 )(��𝑖 − ��)∑(��𝑖 − ��)2

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 11 / 99

Page 12: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

IV estimator:Two Steps Least Square (2SLS)

we substitute��𝑖 − �� = 𝜋1(𝑍𝑖 − 𝑍)

then we could obtain

𝛽2𝑆𝐿𝑆 = ∑(𝑌𝑖 − 𝑌 )(��𝑖 − ��)∑(��𝑖 − ��)2

= ∑(𝑌𝑖 − 𝑌 ) 𝜋1(𝑍𝑖 − 𝑍)∑ 𝜋2

1(𝑍𝑖 − 𝑍)2

= 1𝜋1

∑(𝑌𝑖 − 𝑌 )(𝑍𝑖 − 𝑍)∑(𝑍𝑖 − 𝑍)2

= ∑(𝑍𝑖 − 𝑍)2

∑(𝑋𝑖 − 𝑋)(𝑍𝑖 − 𝑍) × ∑(𝑌𝑖 − 𝑌 )(𝑍𝑖 − 𝑍)∑(𝑍𝑖 − 𝑍)2

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 12 / 99

Page 13: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

IV estimator:Two Steps Least Square (2SLS)

we substitute��𝑖 − �� = 𝜋1(𝑍𝑖 − 𝑍)

then we could obtain

𝛽2𝑆𝐿𝑆 = ∑(𝑌𝑖 − 𝑌 )(��𝑖 − ��)∑(��𝑖 − ��)2

= ∑(𝑌𝑖 − 𝑌 ) 𝜋1(𝑍𝑖 − 𝑍)∑ 𝜋2

1(𝑍𝑖 − 𝑍)2

= 1𝜋1

∑(𝑌𝑖 − 𝑌 )(𝑍𝑖 − 𝑍)∑(𝑍𝑖 − 𝑍)2

= ∑(𝑍𝑖 − 𝑍)2

∑(𝑋𝑖 − 𝑋)(𝑍𝑖 − 𝑍) × ∑(𝑌𝑖 − 𝑌 )(𝑍𝑖 − 𝑍)∑(𝑍𝑖 − 𝑍)2

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 12 / 99

Page 14: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

IV estimator:Two Steps Least Square (2SLS)

we substitute��𝑖 − �� = 𝜋1(𝑍𝑖 − 𝑍)

then we could obtain

𝛽2𝑆𝐿𝑆 = ∑(𝑌𝑖 − 𝑌 )(��𝑖 − ��)∑(��𝑖 − ��)2

= ∑(𝑌𝑖 − 𝑌 ) 𝜋1(𝑍𝑖 − 𝑍)∑ 𝜋2

1(𝑍𝑖 − 𝑍)2

= 1𝜋1

∑(𝑌𝑖 − 𝑌 )(𝑍𝑖 − 𝑍)∑(𝑍𝑖 − 𝑍)2

= ∑(𝑍𝑖 − 𝑍)2

∑(𝑋𝑖 − 𝑋)(𝑍𝑖 − 𝑍) × ∑(𝑌𝑖 − 𝑌 )(𝑍𝑖 − 𝑍)∑(𝑍𝑖 − 𝑍)2

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 12 / 99

Page 15: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

IV estimator:Two Steps Least Square (2SLS)

we substitute��𝑖 − �� = 𝜋1(𝑍𝑖 − 𝑍)

then we could obtain

𝛽2𝑆𝐿𝑆 = ∑(𝑌𝑖 − 𝑌 )(��𝑖 − ��)∑(��𝑖 − ��)2

= ∑(𝑌𝑖 − 𝑌 ) 𝜋1(𝑍𝑖 − 𝑍)∑ 𝜋2

1(𝑍𝑖 − 𝑍)2

= 1𝜋1

∑(𝑌𝑖 − 𝑌 )(𝑍𝑖 − 𝑍)∑(𝑍𝑖 − 𝑍)2

= ∑(𝑍𝑖 − 𝑍)2

∑(𝑋𝑖 − 𝑋)(𝑍𝑖 − 𝑍) × ∑(𝑌𝑖 − 𝑌 )(𝑍𝑖 − 𝑍)∑(𝑍𝑖 − 𝑍)2

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 12 / 99

Page 16: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

IV estimator:Two Steps Least Square (2SLS)

Which gives the instrumental variable estimator

𝛽2𝑆𝐿𝑆 = ∑(𝑌𝑖 − 𝑌 )(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍) = 𝑠𝑍𝑌

𝑠𝑍𝑋

The TSLS estimator of 𝛽1 is the ratio of the sample covariancebetween 𝑍 and 𝑌 to the sample covariance between 𝑍 and 𝑋.

If 𝑍𝑖 = 𝑋𝑖, then𝛽2𝑆𝐿𝑆 = 𝛽𝑜𝑙𝑠

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 13 / 99

Page 17: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Statistical propertise of 2SLS estimator: Unbiasedness

Consider 𝐸[ 𝛽𝐼𝑉 ]

𝐸[ 𝛽2𝑆𝐿𝑆] = 𝐸[ ∑(𝑌𝑖 − 𝑌 )(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)]

= 𝐸[∑[(𝛽0 + 𝛽1𝑋𝑖 + 𝑢𝑖) − (𝛽0 + 𝛽1�� + ��)](𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍) ]

= 𝐸[∑ 𝛽1(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍) + ∑(𝑢𝑖 − ��)(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍) ]

= 𝛽1 + 𝐸[ ∑(𝑢𝑖 − ��)(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)]

= 𝛽1 + 𝐸[ ∑ 𝑢𝑖(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)]

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 14 / 99

Page 18: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Statistical propertise of 2SLS estimator: Unbiasedness

Consider 𝐸[ 𝛽𝐼𝑉 ]

𝐸[ 𝛽2𝑆𝐿𝑆] = 𝐸[ ∑(𝑌𝑖 − 𝑌 )(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)]

= 𝐸[∑[(𝛽0 + 𝛽1𝑋𝑖 + 𝑢𝑖) − (𝛽0 + 𝛽1�� + ��)](𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍) ]

= 𝐸[∑ 𝛽1(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍) + ∑(𝑢𝑖 − ��)(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍) ]

= 𝛽1 + 𝐸[ ∑(𝑢𝑖 − ��)(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)]

= 𝛽1 + 𝐸[ ∑ 𝑢𝑖(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)]

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 14 / 99

Page 19: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Statistical propertise of 2SLS estimator: Unbiasedness

Consider 𝐸[ 𝛽𝐼𝑉 ]

𝐸[ 𝛽2𝑆𝐿𝑆] = 𝐸[ ∑(𝑌𝑖 − 𝑌 )(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)]

= 𝐸[∑[(𝛽0 + 𝛽1𝑋𝑖 + 𝑢𝑖) − (𝛽0 + 𝛽1�� + ��)](𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍) ]

= 𝐸[∑ 𝛽1(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍) + ∑(𝑢𝑖 − ��)(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍) ]

= 𝛽1 + 𝐸[ ∑(𝑢𝑖 − ��)(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)]

= 𝛽1 + 𝐸[ ∑ 𝑢𝑖(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)]

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 14 / 99

Page 20: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Statistical propertise of 2SLS estimator: Unbiasedness

Consider 𝐸[ 𝛽𝐼𝑉 ]

𝐸[ 𝛽2𝑆𝐿𝑆] = 𝐸[ ∑(𝑌𝑖 − 𝑌 )(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)]

= 𝐸[∑[(𝛽0 + 𝛽1𝑋𝑖 + 𝑢𝑖) − (𝛽0 + 𝛽1�� + ��)](𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍) ]

= 𝐸[∑ 𝛽1(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍) + ∑(𝑢𝑖 − ��)(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍) ]

= 𝛽1 + 𝐸[ ∑(𝑢𝑖 − ��)(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)]

= 𝛽1 + 𝐸[ ∑ 𝑢𝑖(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)]

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 14 / 99

Page 21: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Statistical propertise of 2SLS estimator: Unbiasedness

Consider 𝐸[ 𝛽𝐼𝑉 ]

𝐸[ 𝛽2𝑆𝐿𝑆] = 𝐸[ ∑(𝑌𝑖 − 𝑌 )(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)]

= 𝐸[∑[(𝛽0 + 𝛽1𝑋𝑖 + 𝑢𝑖) − (𝛽0 + 𝛽1�� + ��)](𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍) ]

= 𝐸[∑ 𝛽1(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍) + ∑(𝑢𝑖 − ��)(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍) ]

= 𝛽1 + 𝐸[ ∑(𝑢𝑖 − ��)(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)]

= 𝛽1 + 𝐸[ ∑ 𝑢𝑖(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)]

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 14 / 99

Page 22: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Statistical propertise of 2SLS estimator: Unbiasedness

Because instrument exogeneity implies 𝐶𝑜𝑣(𝑍𝑖, 𝑢𝑖) = 0,but not𝐸[𝑢𝑖|𝑍𝑖, 𝑋𝑖] = 0,then

𝐸[ ∑ 𝑢𝑖(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)] = 𝐸[∑ 𝐸[𝑢𝑖|𝑋𝑖, 𝑍𝑖](𝑍𝑖 − 𝑍)

∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍) ] ≠ 0

Then we have𝐸[ 𝛽2𝑆𝐿𝑆] ≠ 𝛽1

It means that 2SLS estimator is biased.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 15 / 99

Page 23: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Statistical propertise of 2SLS estimator: Consistent

We have a simple regression 𝑌𝑖 = 𝛽0 + 𝛽1𝑋𝑖 + 𝑢𝑖 and take acovariance of 𝑌𝑖 and 𝑍𝑖

𝐶𝑜𝑣(𝑍𝑖, 𝑌𝑖) = 𝐶𝑜𝑣[𝑍𝑖, (𝛽0 + 𝛽1𝑋𝑖 + 𝑢𝑖)]= 𝐶𝑜𝑣(𝑍𝑖, 𝛽0) + 𝛽1𝐶𝑜𝑣(𝑍𝑖, 𝑋𝑖) + 𝐶𝑜𝑣(𝑍𝑖, 𝑢𝑖)= 𝛽1𝐶𝑜𝑣(𝑍𝑖, 𝑋𝑖)

Thus if the instrument is valid,

𝛽1 = 𝐶𝑜𝑣(𝑍𝑖, 𝑌𝑖)𝐶𝑜𝑣(𝑍𝑖, 𝑋𝑖)

The population coefficient is the ratio of the population covariancebetween 𝑍 and 𝑌 to the popualtion covariance between 𝑍 and 𝑋.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 16 / 99

Page 24: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Statistical propertise of 2SLS estimator: Consistent

As discussed in Section 3.7,the sample covariance is a consistentestimator of the population covariance, thus 𝑠𝑍𝑌

𝑝−→ 𝐶𝑜𝑣(𝑍𝑖, 𝑌𝑖) and

𝑠𝑍𝑋𝑝−→ 𝐶𝑜𝑣(𝑍𝑖, 𝑋𝑖)

Then the TSLS estimator is consistent.

𝛽2𝑆𝐿𝑆 = 𝑠𝑍𝑌𝑠𝑍𝑋

𝑝−→ 𝐶𝑜𝑣(𝑍𝑖, 𝑌𝑖)

𝐶𝑜𝑣(𝑍𝑖, 𝑋𝑖)= 𝛽1

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 17 / 99

Page 25: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Statistical propertise of 2SLS : sampling distribution

Similar to the expression for the OLS estimator in Equation(4.30,page 183 in S.W)

𝛽2𝑆𝐿𝑆 = ∑(𝑌𝑖 − 𝑌 )(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)

= ∑[(𝛽0 + 𝛽1𝑋𝑖 + 𝑢𝑖) − (𝛽0 + 𝛽1�� + ��)](𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)

= ∑ 𝛽1(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍) + ∑(𝑢𝑖 − ��)(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)

= 𝛽1 + ∑(𝑢𝑖 − ��)(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)

= 𝛽1 +1𝑛 ∑ 𝑢𝑖(𝑍𝑖 − 𝑍)

1𝑛 ∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 18 / 99

Page 26: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Statistical propertise of 2SLS : sampling distribution

Similar to the expression for the OLS estimator in Equation(4.30,page 183 in S.W)

𝛽2𝑆𝐿𝑆 = ∑(𝑌𝑖 − 𝑌 )(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)

= ∑[(𝛽0 + 𝛽1𝑋𝑖 + 𝑢𝑖) − (𝛽0 + 𝛽1�� + ��)](𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)

= ∑ 𝛽1(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍) + ∑(𝑢𝑖 − ��)(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)

= 𝛽1 + ∑(𝑢𝑖 − ��)(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)

= 𝛽1 +1𝑛 ∑ 𝑢𝑖(𝑍𝑖 − 𝑍)

1𝑛 ∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 18 / 99

Page 27: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Statistical propertise of 2SLS : sampling distribution

Similar to the expression for the OLS estimator in Equation(4.30,page 183 in S.W)

𝛽2𝑆𝐿𝑆 = ∑(𝑌𝑖 − 𝑌 )(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)

= ∑[(𝛽0 + 𝛽1𝑋𝑖 + 𝑢𝑖) − (𝛽0 + 𝛽1�� + ��)](𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)

= ∑ 𝛽1(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍) + ∑(𝑢𝑖 − ��)(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)

= 𝛽1 + ∑(𝑢𝑖 − ��)(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)

= 𝛽1 +1𝑛 ∑ 𝑢𝑖(𝑍𝑖 − 𝑍)

1𝑛 ∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 18 / 99

Page 28: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Statistical propertise of 2SLS : sampling distribution

Similar to the expression for the OLS estimator in Equation(4.30,page 183 in S.W)

𝛽2𝑆𝐿𝑆 = ∑(𝑌𝑖 − 𝑌 )(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)

= ∑[(𝛽0 + 𝛽1𝑋𝑖 + 𝑢𝑖) − (𝛽0 + 𝛽1�� + ��)](𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)

= ∑ 𝛽1(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍) + ∑(𝑢𝑖 − ��)(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)

= 𝛽1 + ∑(𝑢𝑖 − ��)(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)

= 𝛽1 +1𝑛 ∑ 𝑢𝑖(𝑍𝑖 − 𝑍)

1𝑛 ∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 18 / 99

Page 29: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Statistical propertise of 2SLS : sampling distribution

Similar to the expression for the OLS estimator in Equation(4.30,page 183 in S.W)

𝛽2𝑆𝐿𝑆 = ∑(𝑌𝑖 − 𝑌 )(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)

= ∑[(𝛽0 + 𝛽1𝑋𝑖 + 𝑢𝑖) − (𝛽0 + 𝛽1�� + ��)](𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)

= ∑ 𝛽1(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍) + ∑(𝑢𝑖 − ��)(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)

= 𝛽1 + ∑(𝑢𝑖 − ��)(𝑍𝑖 − 𝑍)∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)

= 𝛽1 +1𝑛 ∑ 𝑢𝑖(𝑍𝑖 − 𝑍)

1𝑛 ∑(𝑋𝑖 − ��)(𝑍𝑖 − 𝑍)

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 18 / 99

Page 30: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Statistical propertise of 2SLS: sampling distribution

Large sample: 𝑍 ≅ 𝜇𝑧. Let 𝑞𝑖 = (𝑍𝑖 − 𝜇𝑍)𝑢𝑖,then the numerator

1𝑛 ∑ 𝑢𝑖(𝑍𝑖 − 𝑍) ≅ 1

𝑛 ∑ 𝑞𝑖 = 𝑞

Because 𝐶𝑜𝑣(𝑍𝑖, 𝑢𝑖) = 0 and 𝐸(𝑢𝑖)=0,so

𝐶𝑜𝑣(𝑍𝑖 − 𝜇𝑍, 𝑢𝑖) = 𝐸[(𝑍𝑖 − 𝜇𝑍)𝑢𝑖] = 𝐸(𝑞𝑖) = 0

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 19 / 99

Page 31: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Statistical propertise of 2SLS: sampling distribution

In addition,the variance of 𝑞𝑖 is 𝜎2𝑞 = 𝑉 𝑎𝑟[(𝑍𝑖 − 𝜇𝑍)𝑢𝑖].

We also have

𝑉 𝑎𝑟( 𝑞) = 𝜎2𝑞 = 𝜎2

𝑞𝑛 = 1

𝑛𝑉 𝑎𝑟[(𝑍𝑖 − 𝜇𝑍)𝑢𝑖]

By the C.L.T.(central limit theorem) in large sample,

𝑞𝜎2

𝑞

𝑑−→ 𝑁(0, 1)

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 20 / 99

Page 32: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Statistical propertise of 2SLS: sampling distribution

Because the sample covariance is consistent for the populationcovariance,thus 𝑠𝑋𝑌

𝑝−→ 𝐶𝑜𝑣(𝑋𝑖, 𝑌𝑖), then we obtain

𝛽2𝑆𝐿𝑆 ≅ 𝛽1 + 𝑞𝐶𝑜𝑣(𝑍𝑖, 𝑌𝑖)

In addition,because 𝑞 𝑑−→ 𝑁(0, 𝜎2𝑞),then we have

𝑞𝐶𝑜𝑣(𝑍𝑖, 𝑋𝑖)

𝑑−→ 𝑁(0, 𝜎2𝑞

[𝐶𝑜𝑣(𝑍𝑖, 𝑋𝑖)]2)

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 21 / 99

Page 33: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Statistical propertise of 2SLS: sampling distribution

At last, so in large samples 𝛽2𝑆𝐿𝑆 is approximately distributed

𝛽2𝑆𝐿𝑆𝑑−→ 𝑁(𝛽, 𝜎2

𝛽2𝑆𝐿𝑆)

Where

𝜎2𝛽2𝑆𝐿𝑆

= 𝜎2𝑞

[𝐶𝑜𝑣(𝑍𝑖, 𝑋𝑖)]2= 1

𝑛𝑉 𝑎𝑟[(𝑍𝑖 − 𝜇𝑍)𝑢𝑖]

𝐶𝑜𝑣[(𝑍𝑖, 𝑋𝑖)]2(12.8)

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 22 / 99

Page 34: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Statistical propertise of 2SLS: Statistical InferenceThe variance 𝛽2𝑆𝐿𝑆 can be estimated by estimating the variance andcovariance terms appearing in Equation (12.8),thus

𝑆𝐸( 𝛽2𝑆𝐿𝑆) = √1𝑛 ∑(𝑍𝑖 − 𝜇𝑍)2��2

𝑖𝑛( 1

𝑛 ∑(𝑍𝑖 − 𝜇𝑍)𝑋𝑖)2

Then the square root of the estimate of 𝜎2𝛽2𝑆𝐿𝑆

, thus the standarderror of the IV estimator, which is a little bit complicated.Fortunately,this is done automatically in TSLS regression commandsin econometric software packages.

Because 𝛽2𝑆𝐿𝑆 is normally distributed in large samples, hypothesistests about 𝛽 can be performed by computing the t-statistic,and a95% large-sample confidence interval is given by

𝛽2𝑆𝐿𝑆 ± 1.96𝑆𝐸( 𝛽2𝑆𝐿𝑆)Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 23 / 99

Page 35: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Application: Angrist and Krueger(1991)

Angrist, Joshua D. and Alan B. Krueger. 1991. “Does CompulsorySchool Attendance Affect Schooling and Earnings?” The QuarterlyJournal of Economics 106 (4):pp979–1014.

They use quarter of birth as an instrument for education to estimatethe returns to schooling.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 24 / 99

Page 36: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Application: Angrist and Krueger(1991)Why is the Quarter of Birth?

In most of the U.S. must attend school until age 16 (at least during1938-1967)

Age when starting school depends on birthday, so grade when canlegally drop out depends on birthday by compulsory schooling laws.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 25 / 99

Page 37: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Application: Angrist and Krueger(1991)Is Schooling related to Quarter of Birth?(Assumption 1)

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 26 / 99

Page 38: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Angrist and Krueger(1991): The First Stage

Does quarter of birth affect education?

Regress education outcomes on quarter of birth dummy variables:

𝑆𝑖𝑗𝑐 = 𝛼 + 𝛽1𝑄1𝑖𝑐 + 𝛽2𝑄2𝑖𝑐 + 𝛽3𝑄3𝑖𝑐 + 𝜖𝑖𝑗𝑐

where individual 𝑖, cohort 𝑐, education outcome 𝑆, birth quarter 𝑄𝑗

It is the first stage regression

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 27 / 99

Page 39: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Angrist and Krueger(1991): The First StageIt shows that 𝑄𝑗 does impact education outcomes such as total yearsof education and high school graduation.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 28 / 99

Page 40: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Angrist and Krueger(1991): exogeneity

Due to compulsory schooling laws?

Indirect evidence: on post-secondary outcomes that are not expectedto be affected by compulsory schooling laws.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 29 / 99

Page 41: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Angrist and Krueger(1991): Reduced form

Is Earnings related to Quarter of Birth?

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 30 / 99

Page 42: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Angrist and Krueger(1991): OLS v.s IVIV Estimates

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 31 / 99

Page 43: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable Method

Angrist and Krueger(1991): OLS v.s IV with covariates

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 32 / 99

Page 44: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Checking Instrument Validity

Section 3

Checking Instrument Validity

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 33 / 99

Page 45: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Checking Instrument Validity

Assumption #1 Instrument Relevance

Instrumental strategy that seems very robust.

But how to understand that Angrist and Krueger(1991) IV’s resultlarger than that of OLS?

Bound et al(1995) prove that when instruments have limitedexplanatory power over endogenous variable,

1.IV is biased towards OLS in finite samples. 2.May happen even onvery large sample

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 34 / 99

Page 46: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Checking Instrument Validity

Assumption #1 Instrument RelevanceRecall 2SLS: a simple OLS regression equation is

𝑌𝑖 = 𝛽0 + 𝛽1𝑋𝑖 + 𝑢𝑖

Get the predict value from the first stage

��𝑖 = 𝜋0 + 𝜋1𝑍𝑖

Running the second stage regression

𝑌𝑖 = 𝛽0 + 𝛽1��𝑖 + 𝑢𝑖

So following the OLS formula in large sample, we can obtain

𝛽1𝑝−→ 𝛽1 + 𝐶𝑜𝑣(��, 𝑢)

𝑉 𝑎𝑟(��)Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 35 / 99

Page 47: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Checking Instrument Validity

Assumption #1 Instrument Relevance

An 2SLS version of OVB

𝛽2𝑆𝐿𝑆𝑝−→ 𝛽 + 𝐶𝑜𝑣(��, 𝑢)

𝑉 𝑎𝑟(��)

= 𝛽 + 𝐶𝑜𝑣( 𝜋0 + 𝜋1𝑍, 𝑢)𝑉 𝑎𝑟( 𝜋0 + 𝜋1𝑍)

= 𝛽 + 𝜋1𝐶𝑜𝑣(𝑍, 𝑢)𝜋21𝑉 𝑎𝑟( 𝑍)

= 𝛽 + 𝑉 𝑎𝑟(𝑍)𝐶𝑜𝑣(𝑍, 𝑋)

𝐶𝑜𝑣(𝑍, 𝑢)𝑉 𝑎𝑟(𝑍)

= 𝛽 + 𝐶𝑜𝑣(𝑍, 𝑢)𝐶𝑜𝑣(𝑍, 𝑋)

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 36 / 99

Page 48: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Checking Instrument Validity

Weak InstrumentsAssumption 1: Instrument Relevance

𝐶𝑜𝑣(𝑋𝑖, 𝑍𝑖) ≠ 0.

Intuition: the more the variation in 𝑋 is explained by the instruments,thus the more information is available for use in IV regression

On the contrary, instruments explain little of variation in 𝑋 are calledWeak Instruments, thus there is a very weak correlation between𝑋(endogenous variable) and 𝑍(IV).

Because𝛽2𝑆𝐿𝑆

𝑝−→ 𝛽 + 𝐶𝑜𝑣(𝑍, 𝑢)

𝐶𝑜𝑣(𝑍, 𝑋)So if 𝐶𝑜𝑣(𝑍, 𝑋) = 0,thus 𝑋 and 𝑍 is irrelevant,the bias willapproximate to infinity.

Even the correlation coefficient,𝜌𝑍𝑋 is very small,then OVB bias willbe exacerbated.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 37 / 99

Page 49: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Checking Instrument Validity

Weak Instruments: How to test weak instruments ?

We should therefore always check whether an instrument is relevantenough.

Compute the first stage F-statistic provide a measure of the information content contained in the instruments.

Stock and Yogo(2005) showed that

𝐸(𝛽2𝑆𝐿𝑆) − 𝛽 ≅ 𝐸(𝛽𝑜𝑙𝑠) − 𝛽𝐸(𝐹) − 1

𝐸(𝐹) is the expectation of the first stage F-statistics.And if𝐸(𝐹) = 10,the bias of 2SLS, relative to the bias of OLS,isapproximately 1

9 , which is small enough to be acceptable.

A Rule of Thumb: if F-statistic exceeds 10,then don’t need worryabout too much.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 38 / 99

Page 50: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Checking Instrument Validity

Angrist and Krueger(1991): Why IV over OLS?In Angrist and Krueger(1991),despite large samples sizes, theF-statistics for a test of the joint statistical significance of theexcluded exogenous variables in the first-stage regression are not over2.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 39 / 99

Page 51: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Checking Instrument Validity

Wrap up

If the correlation between the instruments and the endogenousvariable is small, then even the enormous sample sizes do notguarantee that quantitatively important finite sample biases will beeliminated from IV estimates.

The first assumption of IV method, thus relevance of IV, can bejustified by the F-statistic in the first stage.

Potential SolutionsIf you have many IVs, some are strong, some are weak. Then discardweak ones.

If you only have an weak IV, then find other more stronger IV(easy tosay, very hard to do)

Employing other estimator(LIML) other than 2SLS methods.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 40 / 99

Page 52: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Checking Instrument Validity

Assumption #2 Instrument Exogeneity

If the instruments are not exogenous, then TSLS is inconsistent.

After all, the idea of instrumental variables regression is that theinstrument contains information about variation in 𝑋𝑖 that isunrelated to the error term 𝑢𝑖.

Can we statistically test the assumption that the instruments areexogenous?

Answer: In most case,NO.

Assessing whether the instruments are exogenous necessarily requiresmaking an expert judgment based on personal knowledge and expertopinion of the application.(“讲好故事”)

In some case,you can test partially,thus overidentification test.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 41 / 99

Page 53: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Checking Instrument Validity

Assumption #2 Instrument Exogeneity

Terminology: The relationship between the number ofinstruments(𝑚) and the number of endogenous regressors(𝑘)

exactly(just) identified:𝑚 = 𝑘overidentified 𝑚 > 𝑘underidentified 𝑚 < 𝑘

when the coefficients are just identified, you can’t do a formalstatistical test of the hypothesis that the instruments are in factexogenous.

If, however, there are more instruments than endogenous regressors,then there is a statistical tool that can be helpful in this process: theso-called test of overidentifying restrictions.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 42 / 99

Page 54: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Checking Instrument Validity

Overidentification-test:Intuition

Suppose there are two valid instruments: 𝑍1 𝑍2(you are very lucky.)

Then you could compute two separate TSLS estimates.

Intuitively,if these 2 TSLS estimates are very different from eachother, then something must be wrong: one or the other (or both) ofthe instruments must be invalid.

The overidentifying restrictions test makes this comparison in astatistically precise way.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 43 / 99

Page 55: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Checking Instrument Validity

Overidentification test:

Our model is a multiple regression

𝑌𝑖 = 𝛽0+𝛽1𝑋1,𝑖+𝛽2𝑋2,𝑖+...+𝛽𝑘𝑋𝑘,𝑖+𝛽𝑘+1𝑊1,𝑖+...+𝛽𝑘+𝑟𝑊𝑟,𝑖+𝑢𝑖(12.13)

Where𝑌𝑖 is the dependent variable𝑋1, 𝑋2, ...𝑋𝑘 are 𝐾 endogenous regressors𝑊1, 𝑋2, ...𝑊𝑟 are the additional exogenous variableswe have 𝑚 instruments,𝑍1, 𝑍2, ...𝑍𝑚,instrumental variables𝑢𝑖 is the regression error term.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 44 / 99

Page 56: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Checking Instrument Validity

Overidentification test:

A set of m instruments,𝑍1, 𝑍2, ...𝑍𝑚

then 2sls regression

𝑌𝑖 = 𝛽0+𝛽1��1,𝑖+𝛽2��2,𝑖+...+𝛽𝑘��𝑘,𝑖+𝛽𝑘+1𝑊1,𝑖+...+𝛽𝑘+𝑟𝑊𝑟,𝑖+𝑢𝑖(12.13)

then we can get the predict value of 𝑢𝑖𝑇 𝑆𝐿𝑆

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 45 / 99

Page 57: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Checking Instrument Validity

Overidentification test:

Let

��𝑇 𝑆𝐿𝑆𝑖 = 𝛿0 + 𝛿1𝑍1𝑖 + ... + 𝛿𝑚𝑍𝑚𝑖 + 𝛿𝑚+1𝑊1,𝑖 + ... + 𝛿𝑚+𝑟𝑊𝑟𝑖 + 𝑒𝑖

Let 𝐹 denote the homoskedasticity-only F-statistic testing thehypothesis that 𝛿0 = ... = 𝛿𝑚 = 0Then the overidentifying restrictions test statistic is 𝐽 = 𝑚𝐹Under the null hypothesis that all the instruments are exogenous,

𝐽 𝑑−→ 𝜒2𝑚−𝑘

Where 𝑚 − 𝑘 is the “degree of over-identification,” that is, thenumber of instruments minus the number of endogenous regressors.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 46 / 99

Page 58: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Checking Instrument Validity

Application: Demand for Cigarettes

A serious public health issue: huge externalities

One policy tool is to tax cigarettes so heavily that current smokerscut back and potential new smokers are discouraged from taking upthe habit.

Precisely how big a tax hike is needed to make a dent in cigaretteconsumption?

For example, what would the after-tax sales price of cigarettes needto be to achieve a 20% reduction in cigarette consumption?

The answer to this question depends on the elasticity of demand forcigarettes.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 47 / 99

Page 59: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Checking Instrument Validity

Application: Demand for Cigarettes

Because of the interactions between supply and demand, the elasticityof demand for cigarettes cannot be estimated consistently by an OLSregression of log quantity on log price.

Using annual data for the 48 contiguous U.S. states for in 1995,wetherefore use TSLS to estimate the elasticity of demand for cigarettes.

The instrumental variable, 𝑆𝑎𝑙𝑒𝑠𝑇 𝑎𝑥𝑖, is the portion of the tax oncigarettes arising from the general sales tax,measured in dollars perpack.

Cigarette consumption, 𝑄𝑐𝑖𝑔𝑎𝑟𝑒𝑡𝑡𝑒𝑠𝑖 , is the number of packs of

cigarettes sold per capita in the state,

and the price, 𝑃 𝑐𝑖𝑔𝑎𝑟𝑒𝑡𝑡𝑒𝑠𝑖 ,is the average real price per pack of

cigarettes including all taxes.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 48 / 99

Page 60: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Checking Instrument Validity

Application: Demand for Cigarettes

We consider quantity and price changes that occur over 10-yearperiods.

Dependent variable:

Δ𝑙𝑛(𝑄𝑐𝑖𝑔𝑎𝑟𝑒𝑡𝑡𝑒𝑠𝑖 ) = 𝑙𝑛(𝑄𝑐𝑖𝑔𝑎𝑟𝑒𝑡𝑡𝑒𝑠

𝑖,1995 ) − 𝑙𝑛(𝑄𝑐𝑖𝑔𝑎𝑟𝑒𝑡𝑡𝑒𝑠𝑖,1985 )

Independent variable:

Δ𝑙𝑛(𝑃 𝑐𝑖𝑔𝑎𝑟𝑒𝑡𝑡𝑒𝑠𝑖 ) = 𝑙𝑛(𝑃 𝑐𝑖𝑔𝑎𝑟𝑒𝑡𝑡𝑒𝑠

𝑖,1995 ) − 𝑙𝑛(𝑃 𝑐𝑖𝑔𝑎𝑟𝑒𝑡𝑡𝑒𝑠𝑖,1985 )

Control variable:

Δ𝑙𝑛(𝐼𝑛𝑐𝑖) = 𝑙𝑛(𝐼𝑛𝑐𝑖,1995) − 𝑙𝑛(𝐼𝑛𝑐𝑖,1985)

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 49 / 99

Page 61: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Checking Instrument Validity

Application: Demand for Cigarettes

Two instruments1 the change in the sales tax over 10 years,

Δ𝑆𝑎𝑙𝑒𝑠𝑇 𝑎𝑥𝑖 = 𝑆𝑎𝑙𝑒𝑠𝑇 𝑎𝑥𝑖,1995 − 𝑆𝑎𝑙𝑒𝑠𝑇 𝑎𝑥𝑖,1985

2 the change in the cigarette-specific tax over 10 years

Δ𝐶𝑖𝑔𝑇 𝑎𝑥𝑖 = 𝐶𝑖𝑔𝑇 𝑎𝑥𝑖,1995 − 𝐶𝑖𝑔𝑇 𝑎𝑥𝑖,1985

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 50 / 99

Page 62: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Checking Instrument Validity

Application: Demand for Cigarettes

The first stage

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 51 / 99

Page 63: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Checking Instrument Validity

Application: Demand for Cigarettes

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 52 / 99

Page 64: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Checking Instrument Validity

Application: Demand for CigarettesOver-identifying J-test reject the null hypothesis that both theinstruments are exogenous at the 5% significantlevel(𝑝 − 𝑣𝑎𝑙𝑢𝑒 = 0.026)

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 53 / 99

Page 65: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Checking Instrument Validity

Application: Demand for Cigarettes

The reason the J-statistic rejects the null hypothesis that bothinstruments are exogenous is that the two instruments produce ratherdifferent estimated coefficients.

The J-statistic rejection means that the regression in column (3) isbased on invalid instruments (the instrument exogeneity conditionfails).

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 54 / 99

Page 66: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Checking Instrument Validity

Application: Demand for Cigarettes

The J-statistic rejection says that at least one of the instruments isendogenous, so there are three logical possibilities

The sales tax is exogenous but the cigarette-specific tax is not, inwhich case the column (1) regression is reliable;

the cigarette-specific tax is exogenous but the sales tax is not, so thecolumn (2) regression is reliable;

or neither tax is exogenous, so neither regression is reliable. Thestatistical evidence cannot tell us which possibility is correct, so wemust use our judgement.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 55 / 99

Page 67: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Checking Instrument Validity

Application: Demand for Cigarettes

We think that the case for the exogeneity of the general sales tax isstronger than that for the cigarette-specific tax.

because the political process can link changes in the cigarette-specifictax to changes in the cigarette market and smoking policy.

if smoking decreases in a state because it falls out of fashion, therewill be fewer smokers and a weakened lobby against cigarettespecifictax increases, which in turn could lead to higher cigarette-specifictaxes.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 56 / 99

Page 68: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Checking Instrument Validity

Application: Demand for Cigarettes

So the result that use the cigarette-only tax as an instrument andadopting the price elasticity estimated using the general sales tax asan instrument is more reliable.

The estimate of -0.94 indicates that cigarette consumption issomewhat elastic:An increase in price of 1% leads to a decrease inconsumption of 0.94%.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 57 / 99

Page 69: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable for multiple regression

Section 4

Instrumental Variable for multiple regression

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 58 / 99

Page 70: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable for multiple regression

IV for multiple regression(Key Concept 12.1)

Our model is a multiple regression

𝑌𝑖 = 𝛽0+𝛽1𝑋1,𝑖+𝛽2𝑋2,𝑖+...+𝛽𝑘𝑋𝑘,𝑖+𝛽𝑘+1𝑊1,𝑖+...+𝛽𝑘+𝑟𝑊𝑟,𝑖+𝑢𝑖(12.13)

Where𝑌𝑖 is the dependent variable𝑋1, 𝑋2, ...𝑋𝑘 are 𝐾 endogenous regressors𝑊1, 𝑋2, ...𝑊𝑟 are the additional exogenous variableswe have 𝑚 instruments,𝑍1, 𝑍2, ...𝑍𝑚,instrumental variables𝑢𝑖 is the regression error term.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 59 / 99

Page 71: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable for multiple regression

Two Conditions for Valid InstrumentsA set of m instruments ,𝑍1, 𝑍2, ...𝑍𝑚 must satisfy the following twoconditions to be valid:

1 Instrument Relevance:In general,let ��∗

1𝑖 be the predicted value of 𝑋1𝑖 from the populationregression of 𝑋1𝑖 on the instruments (𝑍) and the included exogenousregressors (𝑊 ), and let “1” denote the constant regressor that takes onthe value 1 for all observations. Then (��∗

1𝑖, ..., ��∗𝑘𝑖, 𝑊1, 𝑋2, ...𝑊𝑟, 1)

are not perfectly multicollinear.If there is only one X, then for the previous condition to hold, at leastone 𝑍 must have a non-zero coefficient in the population regression of𝑋 on the 𝑍 and the 𝑊 .

2 Instrument ExogeneityThe instruments are uncorrelated with the error term,

𝐶𝑜𝑣(𝑍1𝑖, 𝑢𝑖) = 0, ..., 𝐶𝑜𝑣(𝑍𝑚𝑖, 𝑢𝑖) = 0Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 60 / 99

Page 72: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Instrumental Variable for multiple regression

The IV Regression Assumptions(Key Concept 12.4)The variables and errors in the IV regression model in Key Concept12.1 satisfy the following:

1 𝐸(𝑢𝑖|𝑊1𝑖, ..., 𝑊𝑟𝑖) = 02 (𝑋1𝑖, ..., 𝑋𝑘𝑖, 𝑊1𝑖, ..., 𝑊𝑟𝑖, 𝑍1𝑖, ..., 𝑍𝑚𝑖, 𝑌 𝑖) are i.i.d. draws from

their joint distribution;

3 Large outliers are unlikely: The 𝑋,𝑊 ,𝑍, and 𝑌 have nonzero finitefourth moments;

4 The two conditions for a valid instrument hold.

Under the IV regression assumptions,the TSLS estimator is consistentand normally distributed in large samples.

Because the sampling distribution of the TSLS estimator is normal inlarge samples,the general procedures for statistical inference(hypothesis tests and confidence intervals) in regression modelsextend to TSLS regression.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 61 / 99

Page 73: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Review the last lecture

Section 5

Review the last lecture

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 62 / 99

Page 74: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Review the last lecture

Instrument Variables:Constant-effectInstrumental Variable is a useful method to make causal inference. Itcan eliminate

Omitted Variable BiasMeasurement ErrorReverse Causality

Two AssumptionsRelevance(Weak Instrument): It can be test by the first stageregression and F-statistic.Exogeneity: Can’t be test formally but argue it using professionalknowledges.

Estimation and InferenceWhen IV satisify these two assumptions,the causal effect of coefficientsof interest,TSLS estimator,𝛽𝑇 𝑆𝐿𝑆 can be NOT unbiased butconsistent.The sampling distribution of the TSLS estimator is also normal in largesamples,so the general procedures for statistical inference in OLS canbe used.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 63 / 99

Page 75: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

IV with Heterogeneous Causal Effects

Section 6

IV with Heterogeneous Causal Effects

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 64 / 99

Page 76: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

IV with Heterogeneous Causal Effects

Example: Angrist(1990)

Topic: How does veteran status effect on earnings

Methods: Instrumental Variable

Use the lottery outcome as an instrument for veteran status

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 65 / 99

Page 77: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

IV with Heterogeneous Causal Effects

Example: Angrist(1990) Background

In the 1960s and 70s young men in the US were at risk of beingdrafted for military service in Vietnam.

Fairness concerns led to the institution of a draft lottery in 1970 thatwas used to determine priority for conscription.

In each year from 1970 to 1972, random sequence numbers wererandomly assigned to each birth date in cohorts of 19-year-olds.

Men with lottery numbers below a cutoff were eligible for the draft

Men with lottery numbers above the cutoff were not.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 66 / 99

Page 78: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

IV with Heterogeneous Causal Effects

Example: Angrist(1990) Instrumental Variables

The instrument(𝑍𝑖) is thus defined as follows:𝑍𝑖 = 1 if lottery implied individual i would be draft eligible,

𝑍𝑖 = 0 if lottery implied individual i would NOT be draft eligible.

The econometrician observes treatment status(𝐷𝑖) as follows:𝐷𝑖 = 1 if individual i served in the Vietnam war (veteran)

𝐷𝑖 = 0 if individual i did not serve in the Vietnam war (not veteran)

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 67 / 99

Page 79: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

IV with Heterogeneous Causal Effects

Example: Angrist(1990): IV’s Relevance and Exogenous

While the lottery didn’t completely determine veteran status, itcertainly mattered: relevance.

The lottery outcome was random and seems reasonable to supposethat its only effect was on veteran status: exogenous.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 68 / 99

Page 80: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

IV with Heterogeneous Causal Effects

Example: Angrist(1990): heterogeneous effects

We can classify individuals according to assignment(Z) antreatment(X) into four parts

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 69 / 99

Page 81: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

IV with Heterogeneous Causal Effects

Local Average Treatment Effect(LATE)

So IV estimate only get the X effect on Y on thesubpopulation-compilers.

Angrist and Imbens(1994) called it as Local Average TreatmentEffect(LATE), thus the treatment effect on those that change theirbehavior under the instrument.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 70 / 99

Page 82: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

IV with Heterogeneous Causal Effects

IV with Heterogeneous Causal Effects: Generalization

If the population is heterogeneous, then the 𝑖𝑡ℎ individual now has hisor her own causal effect, 𝛽1𝑖,then the population regression equationcan be written

𝑌𝑖 = 𝛽0𝑖 + 𝛽1𝑖𝑋𝑖 + 𝑢𝑖 (13.9)

𝛽1𝑖 is a random variable that,just like 𝑢𝑖, reflects unobserved variationacross individuals.

The average causal effect is the population mean value of the causaleffect,𝐸(𝛽1𝑖) which is the expected causal effect of a randomlyselected member of the population.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 71 / 99

Page 83: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

IV with Heterogeneous Causal Effects

OLS with Heterogeneous Causal Effects

If there is heterogeneity in the causal effect and if 𝑋𝑖 is randomlyassigned, then the differences estimator is a consistent estimator ofthe average causal effect.

𝛽𝑜𝑙𝑠 = 𝑠𝑋𝑌𝑠2

𝑋

𝑝−→ 𝐶𝑜𝑣(𝑌𝑖, 𝑋𝑖)

𝑉 𝑎𝑟(𝑋𝑖)= 𝐶𝑜𝑣(𝛽0𝑖 + 𝛽1𝑖𝑋𝑖 + 𝑢𝑖, 𝑋𝑖)

𝑉 𝑎𝑟(𝑋𝑖)

= 𝐶𝑜𝑣(𝛽1𝑖𝑋𝑖, 𝑋𝑖)𝑉 𝑎𝑟(𝑋𝑖)

= 𝐸(𝛽1𝑖)

Thus, if 𝑋𝑖 is randomly assigned, 𝛽1 is a consistent estimator of theaverage causal effect 𝐸(𝛽1𝑖).

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 72 / 99

Page 84: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

IV with Heterogeneous Causal Effects

IV Regression with Heterogeneous Causal Effects

Specifically, suppose that 𝑋𝑖 is related to 𝑍𝑖 by the linear model

𝑋𝑖 = 𝜋0𝑖 + 𝜋1𝑖𝑍𝑖 + 𝑣𝑖

where the coefficients 𝜋0𝑖 and 𝜋1𝑖 vary from one individual to thenext. And it is the first-stage equation of TSLS with the modificationof heterogeneous effect of 𝑍 on 𝑋.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 73 / 99

Page 85: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

IV with Heterogeneous Causal Effects

IV Regression with Heterogeneous Causal Effects

Then TSLS estimator becomes

𝛽2𝑆𝐿𝑆 = 𝑠𝑍𝑌𝑠𝑍𝑋

𝑝−→ 𝜎𝑍𝑌

𝜎𝑍𝑋= 𝐸(𝛽1𝑖𝜋1𝑖)

𝐸(𝜋1𝑖)

Exercise: prove it by yourself (refers to Appendix 13.2)

The TSLS estimator converges in probability to the ratio of theexpected value of the product of 𝛽1𝑖 and 𝜋1𝑖 to the expected value of𝜋1𝑖.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 74 / 99

Page 86: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

IV with Heterogeneous Causal Effects

IV Regression with Heterogeneous Causal Effects

It is a weighted average of the individual causal effects 𝛽1𝑖, Theweights are 𝜋1𝑖

𝐸(𝜋1𝑖) , which measure the relative degree to which theinstrument influences whether the 𝑖𝑡ℎ individual receives treatment,

In other words,TSLS estimator is a consistent estimator of a weightedaverage of the individual causal effects, where the individuals whoreceive the most weight are those for whom the instrument is mostinfluential.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 75 / 99

Page 87: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

IV with Heterogeneous Causal Effects

IV Regression with Heterogeneous Causal Effects

Three special cases:The treatment effect is the same for all individuals.

𝛽1𝑖 = 𝛽1

The instrument affects each individual equally.

𝜋1𝑖 = 𝜋1

The heterogeneity in the treatment effect and heterogeneity in theeffect of the instrument are uncorrelated.

𝐶𝑜𝑣(𝛽1𝑖𝜋1𝑖) = 0

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 76 / 99

Page 88: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

IV with Heterogeneous Causal Effects

IV Regression with Heterogeneous Causal Effects

LATE equals to the ATE: all three cases we have

𝐸(𝛽1𝑖𝜋1𝑖)𝐸(𝜋1𝑖)

= 𝐸(𝛽1𝑖) = 𝛽1

Aside from these three special cases, in general the local averagetreatment effect differs from the average treatment effect.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 77 / 99

Page 89: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

IV with Heterogeneous Causal Effects

IV Regression with Heterogeneous Causal Effects:Implications

Different instruments can identify different parameters because theyestimate the impact on different populations.

The difference arises because each researcher is implicitly estimating adifferent weighted average of the individual causal effects in thepopulation.

Recall: J-test of overidentifying restrictions can reject if the twoinstruments estimate different local average treatment effects,even ifboth instruments are valid. In general neither estimator is a consistentestimator of the average causal effect.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 78 / 99

Page 90: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

IV with Heterogeneous Causal Effects

In Summary

The IV paradigm provides a powerful and flexible framework forcausal inference.

An alternative to random assignment with a strong claim on internalvalidity.

The LATE framework highlights questions of external validityCan one instrument identify the average effect induced by anothersource of variation?

Can we go from average effects on compliers to average effects on theentire treated population or an unconditional effect?

The answer to these questions is usually: NO, at least withoutadditional assumptions.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 79 / 99

Page 91: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Some Practical Guides by Angrist and Pischke(2012)

Section 7

Some Practical Guides by Angrist and Pischke(2012)

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 80 / 99

Page 92: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Some Practical Guides by Angrist and Pischke(2012)

Practical Guides1 Check IV relevance

Always report the first stage and think about whether it makessense(Signs and magnitudes)Always report the F-statistic on the excluded instruments. Thebigger,the better. Don’t forget the rule of thumb.(𝐹 > 10)

2 Check exclusion restrictionThe exclusion restriction cannot be tested directly, but it can befalsified

Run and examine the reduced form(regression of dependent variable oninstruments) and look at the coefficients, t-statistics and F-statisticsfor excluded instruments.

Because the reduced form is proportional to the casual effect of interestand is unbiased(OLS), so we should see the causal relation in thereduced form.If you can’t see the causal relation in the reducedform,it’s probably not there

Falsification test: Test the reduced form effect of 𝑍𝑖 on 𝑌 𝑖 insituations where it is impossible or extremely unlikely that 𝑍𝑖 couldaffect 𝑋𝑖.Because 𝑍𝑖 can’t affect 𝑋𝑖, then the exclusion restrictionimplies that this falsification test should have 0 effect.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 81 / 99

Page 93: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Some Practical Guides by Angrist and Pischke(2012)

Practical Guides

3 Provide a substantive explanation for observed difference between2SLS and OLS

How bid is the difference? What does this tell you?Is the coefficient bigger when theory of endogeneity suggests it shouldbe smaller? If so, why?Measurement Error or heterogeneous effects?

4 If you have multiple instruments, report over-identification tests.Pick your best single instrument and report just-identified estimatesusing this one only because just-identified IV is relatively unlikely to besubject to a weak bias.Worry if it is substantially different from what you get using multipleinstruments.Check over-identified 2SLS estimates with LIML. LIML is less thanprecise than 2SlS but also less biased. If the results come out similar,be happy. If not, worry, and try to find stronger instruments.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 82 / 99

Page 94: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Some Practical Guides by Angrist and Pischke(2012)

How to Evaluate IV paper in a simple way?1 Relevant: The first stage regression

Does the author report the first stage regression?Does the instrument perform well in the first stage?Testable: rule of thumb: first stage 𝐹 > 10

2 Exclusion restriction:Is the instrument exogenous enough?(the random assignment is thebest)Would you expect a direct effect of Z on YNot directly testable: Except when equation is overidentified.

3 What LATE is being estimated?Whose behavior is affected by the instrument?Is this the LATE you would want? Is it a quantify of theoreticalinterest?Would other LATEs possible yield different estimates?

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 83 / 99

Page 95: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

An good example: Long live Keju

Section 8

An good example: Long live Keju

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 84 / 99

Page 96: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

An good example: Long live Keju

Chen, Kung and MA(2017)

Title: Long Live Keju! The Persistent Effects of China’s ImperialExamination System.

Topic: Long term persistence of human capital:the effect of Keju

Dependent Variable: education level in 2010

Indepenet Variable: the density of jinshi in the Ming-Qing dynasties

Data: 272 perfectures in jinshi.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 85 / 99

Page 97: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

An good example: Long live Keju

Chen, Kung and MA(2018)

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 86 / 99

Page 98: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

An good example: Long live Keju

Chen, Kung and MA(2018)

The effect of Keju on human capital at present

Run regression

𝑙𝑛𝑌𝑖 = 𝛽𝑙𝑛(𝐾𝑒𝑗𝑢𝑖) + 𝛾1𝑋𝑐𝑖 + 𝛾2𝑋ℎ

𝑖 + 𝛼𝑝 + 𝑢𝑖

𝑌𝑖: 2010 年 i 地区的平均受教育年限。

𝐾𝑒𝑗𝑢𝑖: 明清时期 i 地区获得进士的人数。

𝑋𝑐𝑖 : 控制变量(当代),包括经济繁荣程度 (夜间灯光);地理因素:该地区到海选距离、地形(免于遭受自然灾害)。

𝑋𝑐𝑖 : 控制变量(历史):历史经济繁荣程度基础教育设施社会和政治影响力

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 87 / 99

Page 99: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

An good example: Long live Keju

Chen, Kung and MA(2018): OLS

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 88 / 99

Page 100: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

An good example: Long live Keju

Chen, Kung and MA(2018): Potential Bias

OVB: that are simultaneously associated with both historical jinshidensity and years of schooling today.

For instance, prefectures that had produced more jinshi may beassociated with unobserved (natural or genetic) endowments.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 89 / 99

Page 101: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

An good example: Long live Keju

Chen, Kung and MA(2018): Instrumental Variable

IV: Distance to the Printing Ingredients (Pine and Bamboo) as theInstrumental Variable of Keju

A logic chain:

𝑀𝑜𝑟𝑒; 𝑠𝑢𝑐𝑒𝑒𝑑𝑒𝑑 𝑖𝑛 𝐾𝑒𝑗𝑢 ⟺ 𝑚𝑜𝑟𝑒 𝑟𝑒𝑓𝑒𝑟𝑒𝑛𝑐𝑒𝑠 𝑏𝑜𝑜𝑘𝑠⟺ 𝑝𝑟𝑖𝑛𝑡 𝑟𝑒𝑓𝑒𝑟𝑒𝑛𝑐𝑒𝑠 𝑏𝑜𝑜𝑘𝑠 𝑖𝑛 𝑐𝑒𝑛𝑡𝑒𝑟𝑠⟺ 𝑝𝑟𝑖𝑛𝑡 𝑐𝑒𝑛𝑡𝑒𝑟𝑠 𝑙𝑜𝑐𝑎𝑡𝑒𝑠 𝑛𝑒𝑎𝑟𝑏𝑦 𝑠𝑜𝑚𝑒 𝑖𝑛𝑔𝑟𝑒𝑑𝑖𝑒𝑛𝑡𝑠

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 90 / 99

Page 102: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

An good example: Long live Keju

Chen, Kung and MA(2018): First Stage

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 91 / 99

Page 103: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

An good example: Long live Keju

Chen, Kung and MA(2018): Reduced-form and 2SLS

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 92 / 99

Page 104: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Where Do Valid Instruments Come From?

Section 9

Where Do Valid Instruments Come From?

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 93 / 99

Page 105: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Where Do Valid Instruments Come From?

Where do we find an IV?

Generally Speaking“可遇不可求”

Two main approaches1 Economic Theory/Logics2 Exogenous Source of Variation in X(natural experiments)

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 94 / 99

Page 106: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Where Do Valid Instruments Come From?

Where do we find an IV?

Example 1: Does putting criminals in jail reduce crime?

Run a regression of crime rates(d.v.) on incarceration rates(id.v) byusing annual data at a suitable level of jurisdiction(states) andcovariates (economic conditions)

Simultaneous causality bias: crime rates goes up, more prisoners andmore prisoners,reduced crime.

IV: it must affect the incarceration rate but be unrelated to any of theunobserved factors that determine the crime rate.

Levitt (1996) suggested that lawsuits aimed at reducing prisonovercrowding could serve as an instrumental variable.

Result: The estimated effect was three times larger than the effectestimated using OLS.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 95 / 99

Page 107: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Where Do Valid Instruments Come From?

Where do we find an IV?: Class Size and Test ScoreExample 2: Does cutting class sizes increase test scores?

Omited Variable bias: such as parental interest in learning, learningopportunities outside the classroom, quality of the teachers andschool facilities.

IV: correlated with class size (relevance) but uncorrelated with theomitted determinants of test performance.

Hoxby (2000) suggested biology. Because of random fluctuations intimings of births, the size of the incoming kindergarten class variesfrom one year to the next.

But potential enrollment also fluctuates because parents with youngchildren choose to move into an improving school district and out ofone in trouble. She used the deviation of potential enrollment fromits long-term trend as her instrument.

Result: the effect on test scores of class size is small.Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 96 / 99

Page 108: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Where Do Valid Instruments Come From?

Where do we find an IV?

1 Institutional Background

Angrist(1990)-draft lottery: Vietnam veterans were randomlydesignated based on birth day used to estimate the wage impact of ashorter work experience.

Acemoglu, Johnson, and Robinson(2001): the dead rate of somediseases in some areas to estimate the impact of institutions toeconomic growth.

Feng et al.(2012) “The Returns to Education in China: Evidence fromthe 1986 Compulsory Education Law”.

Li and Zhang(2007),Liu(2012)- “One Child policy”

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 97 / 99

Page 109: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Where Do Valid Instruments Come From?

Where do we find an IV?

2 Natural conditions(geography,weather,disaster)

the Rainfall,Hurricane,Earthquake,Tsunami…

the number of Rivers: Hoxby(2000)

Ying Bai and Ruixue Jia(2014)-“keju” and “the number of smallrivers”

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 98 / 99

Page 110: Lecture 5: Instrumental Variables - GitHub Pages · 2020. 12. 8. · Lecture 5: Instrumental Variables Applied Micro-Econometrics,Fall 2020 Zhaopeng Qu Nanjing University 10/29/2020

Where Do Valid Instruments Come From?

Where do we find an IV?

3 Economic theory and Economic logic

study the alcohol consumption and income relationship. alcohol pricein a local market may be as a instrument of alcohol consumption.

Angrist & Evans(1998): have same sex or different sex children usedto estimate the impact of an additional birth on women labor supply.

Zhaopeng Qu (Nanjing University) Lecture 5: Instrumental Variables 10/29/2020 99 / 99