stat.MEMay 14, 2025

Forests for Differences: Beyond Parametric Difference-in-Differences

Authors: Hugo Gobato Souto, Francisco Louzada Neto

Organizations: Institute of Mathematics and Computer Sciences at University of S˜ao Paulo, Brazil Av. Trab. S˜ao Carlense 400, 13566-590 S˜ao Carlos (SP), Brazil · Institute of Mathematics and Computer Sciences at University of S˜ao Paulo, Brazil Av. Trab. S˜ao Carlense, 400, S˜ao Carlos, 13566-590, Brazil

Abstract

This paper introduces the Difference-in-Differences Bayesian Causal Forest (DiD-BCF), a novel non-parametric model addressing key challenges in DiD estimation, such as staggered adoption and heterogeneous treatment effects. DiD-BCF provides a unified framework for estimating Average (ATE), Group-Average (GATE), and Conditional Average Treatment Effects (CATE). By structuring separate regression forests for cohort-specific levels, common untreated trends and treatment effects, the model directly embeds conditional parallel trends and no-anticipation restrictions into Bayesian nonparametrics. We establish non-parametric identification and integrated treatment effect consistency of the exact treatment effect posterior distribution. Extensive simulations demonstrate DiD-BCF's superior performance over established benchmarks, particularly under non-linearity, selection biases, and effect heterogeneity. Applied to U.S. minimum wage policy, the model uncovers significant conditional treatment effect heterogeneity related to county population, insights obscured by traditional methods. DiD-BCF offers a robust and versatile tool for more nuanced causal inference in modern DiD applications.

Figures & tables

Appendix figures & tables33 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Bayesian Causal Forests for Zero-Inflated Continuous Outcomes

    Oct 8, 2026Hugo Gobato Souto, Eric Wang, Igor ShuryakCausal Effect EstimationConditional Average Treatment Effect Estimation