endogeneity in econometrics: instrumental variable estimation

32
Endogeneity in Econometr ics: Instrumental Variable Es timation Ming LU

Upload: johnda

Post on 05-Jan-2016

188 views

Category:

Documents


2 download

DESCRIPTION

Endogeneity in Econometrics: Instrumental Variable Estimation. Ming LU. Endogeneity. Omitting variable bias Simultaneity Measurement error. Can we ignore the omitted variables bias? It can be satisfactory if the estimates are coupled with the direction of the biases for the key parameters. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Endogeneity in Econometrics: Instrumental Variable Estimation

Endogeneity in Econometrics:Instrumental Variable Estimation

Ming LU

Page 2: Endogeneity in Econometrics: Instrumental Variable Estimation

Endogeneity

• Omitting variable bias

• Simultaneity

• Measurement error

Page 3: Endogeneity in Econometrics: Instrumental Variable Estimation

• Can we ignore the omitted variables bias? It can be satisfactory if the estimates are coupled with the direction of the biases for the key parameters.

• Can we use proxy to eliminate omitted variable bias? –Sometimes.

• Can FE estimation solve omitting variable problem? First differencing or fixed effects estimation eliminates time-constant variables. In addition, the panel data methods do not solve the problem of time-varying omitted variables

Page 4: Endogeneity in Econometrics: Instrumental Variable Estimation

Idea of IV Estimation

• Exogenous variable.

• Indirect effects of IV.

Page 5: Endogeneity in Econometrics: Instrumental Variable Estimation

Example

Page 6: Endogeneity in Econometrics: Instrumental Variable Estimation
Page 7: Endogeneity in Econometrics: Instrumental Variable Estimation

What can serve as IV for edu?

• Mother’s education?

• Number of siblings?

• The report of others?

• A dummy variable that is equal to 1 if a man is born in the first quarter of the year. Angrist and Krueger (1991). (Problematic.)

• In China, the years of primary edu?

Page 8: Endogeneity in Econometrics: Instrumental Variable Estimation

IV for skipped class?

• The distance from home to school.

Page 9: Endogeneity in Econometrics: Instrumental Variable Estimation

Other examples of IV• IV for institution: Language? History?• Mauro (1995) 使用人口的种族和语言构成

作为腐败的工具变量, Hall and Jones (1999) 用距离赤道的距离和以西欧语言为第一语言的程度作为制度质量的工具变量, La Porta et al. (1997, 1998, 1999) 把法律的起源作为各种法律结构的工具变量。 Acemoglu, Johnson, and Robinson (2001, 2002)使用殖民地时代 (1500 年前后 ) 的死亡率和人口密度作为制度的工具变量

• IV for school choice: Number of steams?

Page 10: Endogeneity in Econometrics: Instrumental Variable Estimation

Identification

• Refer to (15.9) and (15.10)

Page 11: Endogeneity in Econometrics: Instrumental Variable Estimation

The (asymptotic) standard error of

SST is the total sum of squares of the xi

Page 12: Endogeneity in Econometrics: Instrumental Variable Estimation

Self-selection

• Angrist (1990) studied the effect that being a veteran in the Vietnam war had on lifetime earnings.

• Draft lottery number is a good IV candidate for veteran.

• Some additional words about natural experiment and DID

Page 13: Endogeneity in Econometrics: Instrumental Variable Estimation

Properties of IV with a Poor Instrumental Variable

Poor IV can cause serious bias.

Page 14: Endogeneity in Econometrics: Instrumental Variable Estimation

R2

• Most regression packages compute an R-squared after IV estimation, using the standard formula: R2= 1- SSR/SST, where SSR is the sum of squared IV residuals, and SST is the total sum of squares of y.

• R2 can be negative in this case.

Page 15: Endogeneity in Econometrics: Instrumental Variable Estimation

IV ESTIMATION OF THE MULTIPLE REGRESSION

MODEL• structural equation

Page 16: Endogeneity in Econometrics: Instrumental Variable Estimation

Estimation

Page 17: Endogeneity in Econometrics: Instrumental Variable Estimation

Efficient IV

Equation (15.26) is an example of a reduced form reduced form equationequation, which means that we have written an endogenous variable in terms of exogenous variables.

Page 18: Endogeneity in Econometrics: Instrumental Variable Estimation

TWO STAGE LEAST SQUARES

Page 19: Endogeneity in Econometrics: Instrumental Variable Estimation

2SLS in words

• The first stage is to run the regression in (15.36), where we obtain the fitted values yˆ2.

• The second stage is the OLS regression (15.38). Because we use yˆ2 in place of y2, the 2SLS estimates can differ substantially from the OLS estimates.

• Another interpretation:

Page 20: Endogeneity in Econometrics: Instrumental Variable Estimation

Multiple Endogenous Explanatory Variables

• ORDER CONDITION FOR IDENTIFICATION OF AN EQUATION:

• We need at least as many excluded exogenous variables as there are included endogenous explanatory variables in the structural equation.

Page 21: Endogeneity in Econometrics: Instrumental Variable Estimation

IV SOLUTIONS TO ERRORS-IN-VARIABLES PROBLEMS

One possibility is to obtain a second measurement on X*1, say, z1, as IV.An alternative is to use other exogenous variables as IVs for a potentially mismeasured variable.

Page 22: Endogeneity in Econometrics: Instrumental Variable Estimation

TESTING FOR ENDOGENEITY AND TESTING OVERIDENTIFYING

RESTRICTIONS

• The 2SLS estimator is less efficient than OLS when the explanatory variables are exogenous; as we have seen, the 2SLS estimates can have very large standard errors.

Page 23: Endogeneity in Econometrics: Instrumental Variable Estimation

How to test endogeneity?

• 1. Comparing the OLS and 2SLS estimates and determining whether the differences are statistically significant. (Hausman, 1978)

• 2. A regression test:

Page 24: Endogeneity in Econometrics: Instrumental Variable Estimation

Another interpretation of 2SLS

• Including vˆ2 in the OLS regression (15.51) clears up the endogeneity of y2.

• We can also test for endogeneity of multiple explanatory variables. For each suspected endogenous variable, we obtain the reduced form residuals. Then, we test for joint significance of these residuals in the structural equation, using an F test.

Page 25: Endogeneity in Econometrics: Instrumental Variable Estimation

Testing Overidentification Restrictions

• If we have more than one instrumental variable, we can effectively test whether some of them are uncorrelated with the structural error.

• Use one IV and get the predicted residual, then test the correlation between other IVs and the residual.

Page 26: Endogeneity in Econometrics: Instrumental Variable Estimation

TESTING OVERIDENTIFYING RESTRICTIONS:

• (i) Estimate the structural equation by 2SLS and obtain the 2SLS residuals, uˆ1.

• (ii) Regress uˆ1 on all exogenous variables. Obtain the R-squared, say R1

2.• (iii) Under the null hypothesis that all IVs are unc

orrelated with u1, nR12 ~ª X 2(q) , where q is the n

umber of instrumental variables from outside the model minus the total number of endogenous explanatory variables. If nR1

2 exceeds (say) the 5% critical value in the X 2(q) distribution, we reject H0 and conclude that at least some of the IVs are not exogenous.

Page 27: Endogeneity in Econometrics: Instrumental Variable Estimation

Is it better to have more IVs?

• Adding instruments to the list improves the asymptotic efficiency of the 2SLS. But this requires that any new instruments are in fact exogenous.

• With the typical sample sizes available, adding too many instruments—that is, increasing the number of overidentifying restrictions—can cause severe biases in 2SLS.

Page 28: Endogeneity in Econometrics: Instrumental Variable Estimation

2 Omitted Topics

• 2SLS WITH HETEROSKEDASTICITY

• APPLYING 2SLS TO TIME SERIES EQUATIONS

Page 29: Endogeneity in Econometrics: Instrumental Variable Estimation

APPLYING 2SLS TO POOLED CROSS SECTIONSAND PANEL DATA

• For pooled cross sections data: add time dummy.

• For panel data: In the first stage, use the differenced IV to get an estimate of the endogenous variable.

• Question: If the panel model is a FE one, how to check the efficiency of IV if the IV is time invariant?

Page 30: Endogeneity in Econometrics: Instrumental Variable Estimation

STATA commands

• To compare OLS and 2SLS

• ivreg y (x=iv) x2

• est store f2

• reg y x x2

• hausman f2

• The sequence is important.

Page 31: Endogeneity in Econometrics: Instrumental Variable Estimation

STATA commands

• To compare FE and IV-FE

• xtivreg y (x=iv) x2, fe

• est store f2

• xtreg y x x2, fe

• hausman f2

Page 32: Endogeneity in Econometrics: Instrumental Variable Estimation

The end.