Mostly Harmless Machine Learning: Learning Optimal Instruments in Linear IV Models
Not on the map. Why?
Abstract (arXiv)
We offer straightforward theoretical results that justify incorporating machine learning in the standard linear instrumental variable setting. The key idea is to use machine learning, combined with sample-splitting, to predict the treatment variable from the instrument and any exogenous covariates, and then use this predicted treatment and the covariates as technical instruments to recover the coefficients in the second-stage. This allows the researcher to extract non-linear co-variation between the treatment and instrument that may dramatically improve estimation precision and robustness by boosting instrument strength. Importantly, we constrain the machine-learned predictions to be linear in the exogenous covariates, thus avoiding spurious identification arising from non-linear relationships between the treatment and the covariates. We show that this approach delivers consistent and asymptotically normal estimates under weak conditions and that it may be adapted to be semiparametrically efficient (Chamberlain, 1992). Our method preserves standard intuitions and interpretations of linear instrumental variable methods, including under weak identification, and provides a simple, user-friendly upgrade to the applied economics toolbox. We illustrate our method with an example in law and criminal justice, examining the causal effect of appellate court reversals on district court sentencing decisions.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). First posted on arXiv 12 Nov 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 1; 2023: 0; 2024: 0; 2025: 1.
4 papers.
- 2021Learning Causal Models from Conditional Moment Restrictions by Importance Weightingcited by 7
- 2022Fast Instrument Learning with Faster Ratescited by 6
- 2021Improving Inference from Simple Instruments through Compliance Estimationcited by 1
- 2025Machine learning the first stage in 2SLS: Practical guidance from bias decomposition and simulationcited by 0
- 2025Machine learning the first stage in 2SLS: Practical guidance from bias decomposition and simulation19 May 2025
- 2022Fast Instrument Learning with Faster Rates22 May 2022
- 2021Improving Inference from Simple Instruments through Compliance Estimation8 Aug 2021
- 2021Learning Causal Models from Conditional Moment Restrictions by Importance Weighting3 Aug 2021