Causal Inference with the Instrumental Variable Approach and Bayesian Nonparametric Machine Learning

Robert E. McCulloch, Rodney A. Sparapani, Brent R. Logan, Purushottam W. Laud
2/1/2021
stat.MLcs.LG
bayesian

Official code: rsparapa/bnptools (16 stars, C++, GPL-2.0, last commit 2026-11-14).

Abstract

We provide a new flexible framework for inference with the instrumental variable model. Rather than using linear specifications, functions characterizing the effects of instruments and other explanatory variables are estimated using machine learning via Bayesian Additive Regression Trees (BART).

Show full abstract

Error terms and their distribution are inferred using Dirichlet Process mixtures. Simulated and real examples show that when the true functions are linear, little is lost. But when nonlinearities are present, dramatic improvements are obtained with virtually no manual tuning.

View on arXivView PDF

Code Implementations(1)

rsparapa/bnptoolsOfficial100%
GPL-2.0

R packages for Bayesian Nonparametrics

163C++, ROct 3, 20192 weeks agoGPL-2.0

Similar Papers

Cite this paper

@article{mcculloch2021causal,
  title  = {Causal Inference with the Instrumental Variable Approach and Bayesian Nonparametric Machine Learning},
  author = {Robert E. McCulloch and Rodney A. Sparapani and Brent R. Logan and Purushottam W. Laud},
  year   = {2021},
  eprint = {2102.01199},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.01199}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2102.01199.svg)](https://codeofpaper.com/paper/2102.01199)

Discussion