sim_rc dataset

Simulated repeated cross-section data

Simulated repeated cross-section data

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")}

  • Maintainer: Pedro H. C. Sant'Anna
  • License: GPL-3
  • Last published: 2024-10-07

About the dataset

  • Number of rows: 1000
  • Number of columns: 8
  • Class: data.frame

Column names and types

  • id:numeric
  • post:numeric
  • y:numeric
  • d:numeric
  • x1:numeric
  • x2:numeric
  • x3:numeric
  • x4:numeric