Parallel Trends Forest: Data-Driven Control Sample Selection in Difference-in-Differences
Federal Reserve paper2025-09-29 · FRB · Finance and Economics Discussion Series · fedgfe:102264
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.
Original sourcePDF at source
References: 24 extracted, 20 linked to papers
Page 1Download these results: CSV · JSON
Wooldridge (2020): “Sampling-based versus designbased uncertainty in regression analysis,” Econometrica, 88, 265–296.
Hainmueller (2010): “Synthetic Control Methods for Comparative Case Studies: Estimating the Effect of California’s Tobacco Control Program,” The Journal of the American Statistical Association, 105, 493–505.
Gardeazabal (2003): “The Economic Costs of Conflict: A Case Study of the Basque Country,” The American Economic Review, 93, 113–132.
Wager (2021): “Synthetic Difference-in-Differences,” The American Economic Review, 111, 4088–4118.
Pathak (2019): “The Effects of Mandatory Transparency in Financial Market Design: Evidence from the Corporate Bond Market,” Working Paper.
working paperNot linked to a paper · refsec
Khosravi (2021): “Matrix Completion Methods for Causal Panel Data Models,” Journal of the American Statistical Association, 116, 1716–1730.
Wager (2019): “Generalized Random Forests,” The Annals of Statistics, 47, 1148–1178.
Sant’Anna (2025): “Difference-in-Differences Designs: A Practitioner’s Guide,” forthcoming, Journal of Economic Literature.
Maxwell (2008): “Markets: Transparency and the Corporate Bond Market,” Journal of Economic Perspectives, 22, 217–234.
Venkataraman (2006): “Market Transparency, Liquidity
research reportNot linked to a paper · refsec
Breiman, L. (2001): “Random forests,” Machine learning, 45, 5–32. Bühlmann, P. and B.
Yu (2002): “Analyzing Bagging,” The Annals of Statistics, 30, 927–961.
journal articleNot linked to a paper · refsec
Imbens (2016): “Balancing, Regression, Difference-in-Differences and Synthetic Control Methods: A Synthesis,” National Bureau of Economic Research Working Paper.
Piwowar (2007): “Corporate Bond Market Transaction Costs and Transparency,” The Journal of Finance, 62, 1421–1451.
Sirri (2007): “Transparency and Liquidity: A Controlled Experiment on Corporate Bonds,” Review of Financial Studies, 20, 235–273.
Goodman-Bacon, A. (2021): “Difference-in-Differences with Variation in Treatment Timing,” Journal of
Wang (2017): “Do College Graduates Serving as Village Officials Help Rural China?” American Economic Journal: Applied Economics, 9, 186–215.
Roth (2023): “A More Credible Approach to Parallel Trends,” The Review of Economic Studies, 90, 2555–2591.
Roth, J. (2022): “Pretest with Caution: Event-Study Estimates after Testing for Parallel Trends,” American Economic Review: Insights, 4, 305–322.
Poe (2023): “What’s Trending in Difference-inDifferences? A Synthesis of the Recent Econometrics Literature,” Journal of Econometrics, 235, 2218– 2244.
B. (2008): “For Objective Causal Inference, Design Trumps Analysis,” The Annals of Applied
journal articleNot linked to a paper · refsec
Hothorn (2007): “Bias in Random Forest Variable Importance Measures: Illustrations, Sources and a Solution,” BMC Bioinformatics, 8, 25.
Athey (2018): “Estimation and Inference of Heterogeneous Treatment Effects using Random Forests,” Journal of the American Statistical Association, 113, 1228–1242.
https://doi.org/10.17016/FEDS.2025.091.