Specialisation B: Data Analytics for Economics

Online MA · Sem 4

Lesson 2 of 4Economics

Instrumental Variables and 2SLS

Specialisation B: Data Analytics for Economics

About the video

An intuitive introduction to Instrumental Variables

Doug McKee

Study notes

When a regressor such as education is correlated with the error term, OLS is biased. Instrumental variables (IV) solve this by using only the variation in the endogenous regressor that is driven by an instrument, which must be relevant and must affect the outcome only through the regressor. Two-stage least squares (2SLS) puts this into practice.

The endogeneity problem

  • Wage equation: log(wage) = b0 + b1 educ + b2 exper + b3 exper² + e.
  • Ability, persistence, health and social networks affect wages and are also correlated with schooling.
  • Because these factors are unobserved, education is endogenous and the OLS estimate of b1 is biased.
  • IV corrects for this without needing to measure the confounders.

What makes a good instrument

  • Relevance: the instrument Z must be correlated with the endogenous regressor.
  • Exclusion (validity): Z affects the dependent variable only through the regressors, so Z must be independent of the error term.
  • Distance to the nearest college is relevant. It is valid only if labor markets near colleges are not otherwise different.
  • Quarter of birth affects schooling through compulsory schooling laws but is only weakly correlated with education. Bound, Jaeger and Baker found first-stage F statistics of 2.4 and 1.87.

Two-stage least squares

  • Stage 1: regress educ on Z and the exogenous regressors, then compute fitted values educ-hat.
  • educ-hat is a linear combination of exogenous variables, so it is uncorrelated with the error term.
  • Stage 2: regress log(wage) on educ-hat and the other regressors. This gives a consistent estimate of b1.
  • Card (1993) used college proximity as the instrument: growing up near a college added about 0.3 years of schooling, and the IV return to schooling was about 13.2% per year.
  • Running the two stages manually gives the correct point estimates but wrong standard errors. Use a built-in IV command (e.g. Stata's ivregress).

Cautions

  • Weak instruments: the first-stage F test on the instruments should be at least 10, preferably 12 or more.
  • Several instruments can be used together if each one is valid.
  • IV estimates a local average treatment effect (LATE): the effect for the people whose treatment is changed by the instrument.
  • Validity is hard to test. With more than one instrument, overidentification tests (Sargan, Hausman) check whether the instruments give similar estimates.

Key terms

Endogenous regressor
A regressor that is correlated with the error term.
Instrument
A variable correlated with the endogenous regressor that affects the outcome only through the regressors.
2SLS
An estimator that regresses the endogenous variable on the instruments, then uses the fitted values in the main regression.
Weak instrument
An instrument with low first-stage correlation (F below 10), which makes IV estimates unreliable.
LATE
The average treatment effect for the subgroup whose treatment is shifted by the instrument.

Takeaways

  • A good instrument must be both relevant and excludable.
  • Check instrument strength with the first-stage F statistic (at least 10).
  • IV identifies a LATE, not necessarily the average treatment effect for everyone.
  • Do not run the second stage by hand when you need standard errors; use a proper IV command.
Contribute

Was this lesson helpful?

We read every rating and fix the weakest lessons first.