EconPapers    
Economics at your fingertips  
 

Parallel Trends Forest: Data-Driven Control Sample Selection in Difference-in-Differences

Yesol Huh and Matthew Kling
Additional contact information
Yesol Huh: https://www.federalreserve.gov/econres/yesol-huh.htm

No 2025-091, Finance and Economics Discussion Series from Board of Governors of the Federal Reserve System (U.S.)

Abstract: This paper introduces parallel trends forest, a novel approach to selecting optimal control samples when using difference-in-differences (DiD) in a relatively long panel data with little randomization in treatment assignment. Our method uses machine learning techniques to find control units that best meet the parallel trends assumption. We demonstrate that our approach outperforms existing methods, particularly with noisy, granular data. Applying the parallel trends forest to analyze the impact of post-trade transparency in corporate bond markets, we find that it produces more robust estimates compared to traditional two-way fixed effects models. Our results suggest that the effect of transparency on bond turnover is small and not statistically significant when allowing for constrained deviations from parallel trends. This method offers researchers a powerful tool for conducting more reliable DiD analyses in complex, real-world settings.

Keywords: Causal inference; Difference-in-differences; Parallel trends assumption; Random forest (search for similar items in EconPapers)
JEL-codes: C10 C21 C23 G12 (search for similar items in EconPapers)
Pages: 29 p.
Date: 2025-09-29
References: Add references at CitEc
Citations:

Downloads: (external link)
https://www.federalreserve.gov/econres/feds/files/2025091pap.pdf (application/pdf)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:fip:fedgfe:2025-91

DOI: 10.17016/FEDS.2025.091

Access Statistics for this paper

More papers in Finance and Economics Discussion Series from Board of Governors of the Federal Reserve System (U.S.) Contact information at EDIRC.
Bibliographic data for series maintained by Ryan Wolfslayer ; Keisha Fournillier ().

 
Page updated 2025-12-31
Handle: RePEc:fip:fedgfe:2025-91