Topics in Econometrics - M2 ENS Lyon
How would you measure health effects of air pollution?
Why not regress an health outcome (mortality or hospital admissions for instance) on air pollution?
How would you proceed?
Find an exogenous shifter in air pollution
Wind direction (Deryugina et al. 2019)
Intuition
Wind affects pollution levels
Wind direction varies quasi-randomly over time
Wind itself doesn’t affect health (after controlling for temperature and humidity)
Individuals down-wind of pollution source receive more pollution (no defiers)
with
Problem: is endogenous
IV solution:
| Group | Effect of instrument | ||
|---|---|---|---|
| Compliers | 0 | 1 | Instr. proba of treatment |
| Defiers | 1 | 0 | Instr. proba of treatment |
| Never-takers | 0 | 0 | Instr. has no effect |
| Always-takers | 1 | 1 | Instr. has no effect |
Warning
The IV estimator identifies the effect for compliers only (a Local Average Treatment Effect, LATE, under usual assumptions)
| Assumption. | Formal expression | Intuition |
|---|---|---|
| Independence, exogeneity | No unobserved confounders affecting both and | |
| Exclusion restriction | affects only through | |
| Relevance | does affect | |
| Monotonicity | with (no defiers) | is an incentive, does not discourage treatment |
IV ≠ ATE
Take-away message
Want to estimate the causal effect of education () on earnings ()
Education not randomly assigned
Studied in Card (1993)
Solution:
It estimates:
| Estimand | Definition | Estimates the effect for? | Identified by |
|---|---|---|---|
| ATE | The entire population | Randomized experiment | |
| ATT | Those who actually receive treatment | Selection on observables | |
| LATE | Those whose treatment status is affected by the instrument (the compliers) | Instrumental Variables (IV) |
Oregon, 2008: Medicaid expansion, but cannot cover everyone
85,000 people sign up 30,000 drawn at random only 10,000 actually enrol
The lottery randomises the offer, not the treatment
Which comparison should we use?
Two different questions
LATE theorem assumes no covariates (or a fully saturated specification)
But virtually all applied studies uses controls
With controls, 2SLS = a weighted average of treatment effects not only for compliers (Blandhol et al. 2026)
Numerically equivalent to Two-Stage Least Squares (2SLS) estimator obtained through:
Warning
ivreg, fixest) automatically adjust SEsWarning
feols/ivregwooldridge::card data using fixest::feols to compare the 2SLS and the control function approaches
lwage (log wage)educ (years of schooling)nearc4 (near 4-year college)exper, black, south, smsa, fatheduc, motheducMore precise instructions on the website
In IV, use the variation that is explained by the instrument
Throws out variation not explained by the instrument
Throwing out variation increases variance
May end up with too little variation to estimate the effect of the treatment
Take-away message
Even if the instrument is valid, if it is weak, IV estimates are not trustworthy
grows with the sample size. Instrument strength does not
A negligible passes if is large enough (Bound, Jaeger, and Baker 1995)
And is the wrong number: valid 5% -inference needs (Lee et al. 2022)
Shift-share instruments also named Bartik instruments after Bartik (1991)
Explores the effect of immigration () on local wages ()
Problem: endogeneity of , eg migrants locate where the economy is doing well
Bartik instrument interacts:
Exogeneity: the instrument uses no local information about today
The exogeneity and identification come from either:
The initial shares argue that they are exogenous, conditional on controls. Shifts only give first-stage strength
The many national shocks argue that shocks are numerous and quasi-randomly assigned. Shares need not be exogenous
Exogeneity comes from either one of, never both at once:
The exclusion restriction…
Relevance is ensured because settlement is persistent: migrants go where their community already is usually a very strong first stage
Monotonicity is not guaranteed here
Depending on the approach, check:
Shares often correlate with a lot of things
With hundreds of industries and many periods, “the exclusion restriction holds” is a big claim
Take-away message
A shift-share instrument is not exogenous because it is a shift-share instrument. Need to argue which part provides the identification and how
Air quality alerts in Mexico City on highly polluted days
Which impact on pollution levels and health?
Problem: cannot compare alert days (highly polluted) to “normal” days
But alert triggered by a rule: ozone above 155 ppb in any station (Aguilar-Gomez 2025)
Intuition
Nothing else about a day changes at 155 ppb
There are days just above and just below
Crossing 155 ppb does raise the chance of an alert, by 74 pp
Crossing it only matters because it triggers the alert
Treatment is not randomly assigned, it is assigned by a rule:
Estimand:
Local continuity
Relevance and local support
Local continuity can break when:
Individuals can sort across the cutoff. That happens if:
The cutoff is endogenous: several factors affecting the outcome vary at the threshold
Heaping: excess mass at particular values of the running variable (eg round numbers, that may coincide with the threshold)
A RDD never compares a treated and an untreated unit with the same
from other strategies: no CIA
Counterfactual built by extrapolating to the other side of the cutoff
Narrower bandwidth size less bias, more imprecise
The functional form of matters global or high-order polynomials overfit (Gelman and Imbens 2019)
An RDD identifies an effect at the cutoff local
Says nothing about units far from the threshold
Extrapolating away from requires extra assumptions, not more data
In a fuzzy RD two forms of locality combinded: effect on compliers at the cutoff
Warning
The identification can credible but the estimand can remain uninforative of what we care about
| Sharp | Fuzzy. | |
|---|---|---|
| What jumps at | Treatment itself: | The probability of treatment: |
| Assumptions | Local continuity, relevance | exclusion restriction and local monotonicity |
| Estimand | ||
| ATE at the cutoff | ATE on compliers at the cutoff | |
| Estimator | The jump in at | Jump in divided by the jump in , ie 2SLS |
Crossing only makes the treatment more likely
The cutoff indicator is an instrument for
Link to what we discussed for IV:
| DGP | Model | Average estimate | True effect | Standard deviation |
|---|---|---|---|---|
| Linear DGP | Order 1 | 3.11 | 3 | 1.36 |
| Linear DGP | Order 2 | 2.95 | 3 | 2.02 |
| Linear DGP | Order 4 | 3.75 | 3 | 3.74 |
| Bending DGP | Order 1 | 1.54 | 3 | 1.26 |
| Bending DGP | Order 2 | 2.77 | 3 | 1.86 |
| Bending DGP | Order 4 | 3.01 | 3 | 3.11 |
base_plot <- window |>
ggplot(aes(x = xc, y = y)) +
geom_point(alpha = 0.35) +
geom_vline(xintercept = 0, linetype = "dashed") +
labs(
title = "Raw data",
subtitle = "One draw, within a bandwidth of 15. The true jump is 3",
x = "Distance to the cutoff",
y = "Outcome"
)
base_plot
base_plot +
geom_smooth(
aes(group = above),
method = "lm",
se = FALSE,
formula = y ~ poly(x, 1, raw = TRUE)
) +
labs(
title = "Linear fit",
subtitle = "The true jump is 3"
)
base_plot +
geom_smooth(
aes(group = above),
method = "lm",
se = FALSE,
formula = y ~ poly(x, 2, raw = TRUE)
) +
labs(
title = "Quadratic fit",
subtitle = "The true jump is 3"
)
base_plot +
geom_smooth(
aes(group = above),
method = "lm",
se = FALSE,
formula = y ~ poly(x, 4, raw = TRUE)
) +
labs(
title = "Flexible fit, order 4",
subtitle = "The true jump is 3"
)
result_sim |>
summarise(
`Average estimate` = mean(estimate),
`True effect` = mean(beta_0),
`Standard deviation` = sd(estimate),
.by = c(curvature, order)
) |>
rename(DGP = curvature, Model = order) |>
arrange(DGP, Model) |>
kable(digits = 2)One of the main design choices in an RDD is choosing the bandwidth size
It arbitrates a bias-variance trade-off pick the that minimises the MSE
Select an optimal bandwidth (Imbens and Kalyanaraman 2012)
is optimal for the point estimate, not for inference: conventional CIs undercover
cerrd bandwidth, or robust bias-corrected intervalsObservations outside the bandwidth are typically manually filtered out pre-estimation. They can also be dropped by adding observation-level fixed effects.
Identification rests on observations within the bandwidth
The effective sample can be small
Stommes, Aronow, and Sävje (2023) study RD in political sciences and show that they:
Conventional confidence intervals are too narrow
Running variables are often rounded
eg birth weight piles up at round 100g values
Observations exactly at round values may be different
the units at the cutoff can a selected group
Fix: donut hole RD, drop a small window around and re-estimate
Make a binscatter of the outcome against the running variable
Continuity cannot be tested, but can be made credible
Evaluate sorting: no jump in the density of at
Pre-treatment covariates should not jump at
No jump at placebo cutoffs, and no jump in placebo outcomes
Report the first-stage jump in a fuzzy RD (plot it)
Summary: make a lot of pictures
Compelling identification strategy
Can use IVs to address attenuation bias that may result from measurement error in
has finite sample bias. Stems from randomness in estimates of
less efficient than OLS, precision further with weak instruments
In many settings (e.g., non-linear ), 2SLS can be very biased
Approximates a local randomized experiment around the cutoff
Relies on relatively weak continuity assumptions (in the sharp case)
Discontinuities are everywhere in economics: administrative rules, eligibility thresholds, borders
Identification rests on the few observations close to the cutoff often underpowered (Stommes, Aronow, and Sävje 2023)
No overlap results depend on functional form and bandwidth choices
Estimates are highly local: limited external validity
Fuzzy RDs add the IV assumptions on top, and are especially imprecise when the first-stage jump is small
Take away messages
An IV only uses the variation in explained by the instruments
Both IV and RDD estimates are local
Weak instruments should be avoided, and is not a licence
A weak instrument also amplifies any violation of the exclusion restriction
With covariates, 2SLS is often not a LATE on compliers
A fuzzy RDD is just an IV
No overlap in an RDD bandwidth and polynomial choices strongly affect the estimate
Both IV and RDD identify local estimands: always ask local to whom?