🕺 Let's get DiSCo-ing with distributions! This package implements Distributional Synthetic Controls (DiSCo) in Stata, following the methodology developed in Gunsilius (2023). While traditional synthetic controls focus on matching means, DiSCo takes it to the next level by matching entire distributions.
- 📊 Match entire outcome distributions, not just means
- 🎯 Estimate distributional treatment effects
- 📈 Generate
beautifulvisualizations - 🔄 Bootstrap inference and permutation tests
- 🎨 Flexible estimation approaches (quantile-based or CDF-based)
The package will soon be available on SSC. For now, you can install directly from GitHub:
net install disco, from("https://raw.githubusercontent.com/Davidvandijcke/DiSCos_stata/main/src/") replaceFor the development version:
net install disco, from("https://raw.githubusercontent.com/Davidvandijcke/DiSCos_stata/dev/src/") replace* Load your data
use mydata.dta, clear
* Run DiSCo
disco outcome unit time, idtarget(1) t0(10) graph
* Get summary statistics
disco_estatAfter installation, access the help files in Stata:
help disco
help disco_estat
help disco_plot
help disco_weightFor more detailed information, see the accompanying article at https://arxiv.org/abs/2501.07550.
This package is actively being developed! Future releases may include (depending on my mood and the weather):
- Additional visualization options
- More flexible weighting schemes
- Multivariate distributional synthetic controls... (scary)
Comments, suggestions, and bug reports are very welcome! Please open an issue on GitHub or email dvdijcke@umich.edu.
Also check out the R version of DiSCo:
If you use this package, please cite:
@article{gunsilius2025disco,
title = {disco: Distributional Synthetic Controls},
author = {Gunsilius, Florian and Van Dijcke, David},
journal = {Manuscript},
year = {2025}
}
@article{gunsilius2023distributional,
title={Distributional Synthetic Controls},
author={Gunsilius, Florian F},
journal={Econometrica},
volume={91},
number={3},
pages={1105--1117},
year={2023}
}
@article{van2024return,
title={Return to Office and the Tenure Distribution},
author={Van Dijcke, David and Gunsilius, Florian and Wright, Austin L},
journal={University of Chicago, Becker Friedman Institute for Economics Working Paper},
number={2024-56},
year={2024}
}
Because averages are so yesterday! If you're feeling like doing the robot (you're thinkin' bout that synthetic control), and you want your treatment effects to be as varied as your moves on the dance floor, you'll need DiSCo to capture all that distributional groove.
This project is licensed under the MIT License.
Made with 🕺 and 💃 by David Van Dijcke, with a stamp of approval from Florian Gunsilius
