A collection of data files are provided here for the ease of testing and illustrations.
The included data are modified from the original sources
and stored in compressed CSV (.csv.gz
) files.
See data/src/make.jl
for the source code
that generates these files from original data.
DiffinDiffsBase.jl
provides methods for looking up and loading these example data.
Call exampledata()
for a name list of the available datasets.
To load one of them, call exampledata(name)
where name
is the Symbol
of filename without extension (e.g., :hrs
).
Name | Source | File Link | License | Note |
---|---|---|---|---|
hrs | Dobkin et al. (2018) | HRS_long.dta | CC BY 4.0 | Data are processed as in Sun and Abraham (2020) |
nsw | Diamond and Sekhon (2013) | ec675_nsw.tab | CC0 1.0 | Data are rearranged in a long format as in the R package DRDID |
mpdta | Callaway and Sant'Anna (2020) | mpdta.rda | GPL-2 |
Diamond, Alexis and Jasjeet S. Sekhon. 2013. "Replication data for: Genetic Matching for Estimating Causal Effects: A General Multivariate Matching Method for Achieving Balance in Observational Studies." MIT Press [publisher], Harvard Dataverse [distributor]. https://doi.org/10.7910/DVN/23407/DYEWLO.
Dobkin, Carlos, Amy Finkelstein, Raymond Kluender, and Matthew J. Notowidigdo. 2018. "Replication data for: The Economic Consequences of Hospital Admissions." American Economic Association [publisher], Inter-university Consortium for Political and Social Research [distributor]. https://doi.org/10.3886/E116186V1.