sim_rc contains a simulated dataset following the DGP1 in Sant'Anna and Zhao (2020).
data
Format
A data frame in "long" format with 1000 observations on the following and 8 variables:
id: unique identifier for each cross-sectional unit.
post: an indicator variable for post-treatment period (1 if post, 0 if pre treatment period).
y: outcome of interest
d: an indicator variable for treatment group. Equal to 1 if experience treatment in the post-treatment period; equal to 0 if never experience treatment.
x1: Covariate z1 in Sant'Anna and Zhao(2020)
x2: Covariate z2 in Sant'Anna and Zhao(2020)
x3: Covariate z3 in Sant'Anna and Zhao(2020)
x4: Covariate z4 in Sant'Anna and Zhao(2020)
Source
Sant'Anna and Zhao (2020)
sim_rc
References
Sant'Anna, Pedro H. C. and Zhao, Jun. (2020), "Doubly RobustDifference-in-Differences Estimators." Journal of Econometrics, Vol.219 (1), pp. 101-122,\Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/j.jeconom.2020.06.003")}