01 / 21

IV & Regression
Discontinuity

Discover how instrumental variables and regression discontinuity designs help us find causal effects when randomized experiments aren't possible.

Business Analytics

The Causality Problem

In business and economics, we often want to know: does \(X\) actually cause \(Y\)? For example, does more education cause higher earnings? Does a marketing campaign cause more sales?

Simple regression can show correlation, but correlation is not causation. Hidden variables (called confounders) can bias our estimates and lead us to wrong conclusions.

What Is an Instrumental Variable?

An instrumental variable (IV) is a clever workaround. It's a variable \(Z\) that affects \(Y\) only through \(X\): it nudges \(X\) but has no direct link to \(Y\) or any confounder.

\(Z\)
Instrument
\(X\)
Treatment
\(Y\)
Outcome
\(U\)
Confounder ✕ No direct path

Two Key IV Conditions

1. Relevance
The instrument \(Z\) must be correlated with the treatment \(X\). Formally: \(\text{Cov}(Z, X) \neq 0\). A "weak" instrument barely moves \(X\) and gives unreliable estimates.
2. Exclusion
The instrument \(Z\) must affect \(Y\) only through \(X\). It cannot have any direct or backdoor effect on \(Y\). Formally: \(\text{Cov}(Z, U) = 0\).

The IV Estimator: Two-Stage Least Squares

The most common IV method is Two-Stage Least Squares (2SLS). It works in two steps:

1
First stage: Regress \(X\) on \(Z\) to get predicted values \(\hat{X}\). This isolates only the variation in \(X\) driven by the instrument.
2
Second stage: Regress \(Y\) on \(\hat{X}\). Because \(\hat{X}\) is "clean" (driven only by \(Z\)), this gives an unbiased causal estimate.

The Wald Estimator

With a single binary instrument, the IV estimate simplifies to a beautiful ratio called the Wald estimator:

Intuition: The numerator measures how much \(Y\) changes when \(Z\) changes (the "reduced form"). The denominator measures how much \(X\) changes when \(Z\) changes (the "first stage"). Dividing gives the causal effect of \(X\) on \(Y\).

What Is Regression Discontinuity?

Regression Discontinuity (RD) exploits a cutoff rule: when treatment is assigned based on whether a score crosses a threshold, we can compare outcomes just above and just below that cutoff.

Running Variable
A continuous score \(X\) (e.g., test score, age, income) that determines treatment assignment.
Cutoff \(c\)
The threshold value. If \(X \ge c\), you get the treatment; if \(X < c\), you don't.
Local Effect
The causal effect is estimated at the cutoff, comparing people barely above vs. barely below.

Visualizing the Discontinuity

Running Variable (\(X\))
Outcome (\(Y\))
Cutoff \(c\)
Jump = Causal Effect

The RD Estimator

The RD design estimates the causal effect as the difference in the outcome at the cutoff from the right vs. the left:

In practice, we estimate this by fitting separate regressions on each side of the cutoff, often within a narrow bandwidth around \(c\):

1
Choose a bandwidth \(h\): Use only data within \([c - h, c + h]\).
2
Fit two regressions: One for \(X < c\) and one for \(X \ge c\).
3
Compute the gap: The difference in predicted values at \(X = c\) is \(\hat{\tau}_{RD}\).

Sharp vs. Fuzzy RD

Sharp RD
Treatment assignment is deterministic: everyone above the cutoff gets treated, everyone below does not. Compliance is 100%.
Fuzzy RD
The cutoff increases the probability of treatment but doesn't guarantee it. Some people above don't comply; some below do. Uses IV logic at the cutoff.

IV vs. RD: Key Distinctions

Instrumental Variables Regression Discontinuity
Source of variation External instrument \(Z\) Cutoff rule on running variable
Key assumption Exclusion restriction Continuity at the cutoff
What it estimates LATE (local average treatment effect) Treatment effect at the cutoff
External validity Applies to "compliers" Applies only near cutoff
Testability Exclusion hard to test Continuity checks, placebo tests

How to Apply IV in Practice

1
Identify the causal question: What is \(X\) (treatment) and \(Y\) (outcome)? Why might OLS be biased?
2
Find a valid instrument \(Z\): It must be relevant (correlated with \(X\)) and satisfy the exclusion restriction (no direct effect on \(Y\)).
3
Test instrument strength: Run the first-stage regression. The F-statistic should be well above 10 (rule of thumb).
4
Run 2SLS: Use the predicted \(\hat{X}\) from the first stage in the second-stage regression to estimate the causal effect \(\beta_1\).
5
Interpret carefully: The IV estimate is a Local Average Treatment Effect (LATE): it applies to "compliers" whose behavior changes because of \(Z\).

Example: Education and Earnings

Question: Does an extra year of education cause higher wages? Ability is a confounder: smarter people get more education and earn more.

Instrument \(Z\)
Quarter of birth: people born earlier in the year can legally drop out sooner, getting less education.
Treatment \(X\)
Years of schooling completed.
Outcome \(Y\)
Log weekly earnings.

Example: Scholarship Cutoff

Question: Does receiving a merit scholarship improve college graduation rates?

A university awards scholarships to students scoring \(\ge 80\) on an entrance exam. We compare students scoring 79 vs. 81.

Entrance Exam Score Graduation Rate (%) 70 75 80 85 90 50 65 80 +15%

Example: Fuzzy RD in Practice

Scenario: A job training program is offered to workers laid off from firms with \(\ge 50\) employees. But not everyone takes up the offer.

1
Running variable: Firm size (number of employees). Cutoff: \(c = 50\).
2
Jump in treatment: At the cutoff, the probability of participating in training jumps from 20% to 70% (a 50 percentage point increase).
3
Jump in outcome: Re-employment rates jump from 40% to 55% (a 15 percentage point increase).
4
Fuzzy RD estimate: \(\hat{\tau} = \frac{0.15}{0.50} = 0.30\). Training increases re-employment by 30 percentage points for compliers.

Common Mistakes

✕ Weak Instruments
Using an instrument barely correlated with \(X\). This inflates standard errors and biases the IV estimate toward OLS. Always check the first-stage F-statistic.
✕ Violating Exclusion
Assuming \(Z\) has no direct effect on \(Y\) when it actually does. This cannot be tested statistically: it requires careful economic reasoning.
✕ Manipulation at Cutoff
In RD, if people can precisely manipulate their score to land just above the cutoff, the design fails. Always check for "bunching" at the cutoff using a density test.

Question 1 of 5

For a variable \(Z\) to be a valid instrument for \(X\) in estimating the effect of \(X\) on \(Y\), which two conditions must hold?

Question 2 of 5

In two-stage least squares (2SLS), what happens in the first stage?

Question 3 of 5

In a sharp regression discontinuity design, the causal effect is estimated by:

Question 4 of 5

A fuzzy RD design differs from a sharp RD design because in a fuzzy RD:

Question 5 of 5

Suppose in a fuzzy RD, the jump in the outcome at the cutoff is 0.12 and the jump in the treatment probability is 0.40. What is the fuzzy RD estimate of the treatment effect?