undidR
Difference-in-Differences with Unpoolable Data
A framework for estimating difference-in-differences with unpoolable data, based on Karim, Webb, Austin, and Strumpf (2025) <doi:10.48550/arXiv.2403.15910>. Supports common or staggered adoption, multiple groups, and the inclusion of covariates. Also computes p-values for the aggregate average treatment effect on the treated via the randomization inference procedure described in MacKinnon and Webb (2020) <doi:10.1016/j.jeconom.2020.04.024>.
README
# Example Data Files These CSV files are all generated by undidR package functions. The data processed by `undidR::undid_stage_two()` (the filled_diff.csv files and the trends_data.csv files) comes from the college enrollment and merit aid data from Conley and Taber (2011). The original data is publicly available: https://economics.uwo.ca/people/conley_docs/code_to_download.html ## Data Description The original data includes the following variables: - `coll`: Binary indicator for college enrollment (outcome variable) - `merit`: Binary indicator for merit program (treatment variable) - `male`: Binary indicator for male students - `black`: Binary indicator for Black students - `asian`: Binary indicator for Asian students - `year`: Year of observation - `state`: State identifier ## Citation If you use this data, please cite: Conley, Timothy G., and Christopher R. Taber. "Inference with "difference in differences" with a small number of policy changes." The Review of Economics and Statistics 93.1 (2011): 113-125. Karim, Sunny, Matthew D. Webb, Nichole Austin, and Erin Strumpf. "Difference-in-Differences with Unpoolable Data." arXiv preprint arXiv:2403.15910 (2024).
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
3.0.2 |
rolling linux/jammy R-4.5 | undidR_3.0.2.tar.gz |
507.5 KiB |
3.0.2 |
rolling linux/noble R-4.5 | undidR_3.0.2.tar.gz |
507.3 KiB |
3.0.2 |
rolling source/ R- | undidR_3.0.2.tar.gz |
466.2 KiB |
3.0.2 |
latest linux/jammy R-4.5 | undidR_3.0.2.tar.gz |
507.5 KiB |
3.0.2 |
latest linux/noble R-4.5 | undidR_3.0.2.tar.gz |
507.3 KiB |
3.0.2 |
latest source/ R- | undidR_3.0.2.tar.gz |
466.2 KiB |
3.0.2 |
2026-04-26 source/ R- | undidR_3.0.2.tar.gz |
466.2 KiB |
3.0.2 |
2026-04-23 source/ R- | undidR_3.0.2.tar.gz |
466.2 KiB |
3.0.2 |
2026-04-09 windows/windows R-4.5 | undidR_3.0.2.zip |
537.7 KiB |
1.0.1 |
2025-04-20 source/ R- | undidR_1.0.1.tar.gz |
303.3 KiB |