df_hom | R Documentation |
Generated using the following call:
did2s::gen_data(panel = c(1990, 2020),
g1 = 2000, g2 = 2010, g3 = 0,
te1 = 2, te2 = 2, te3 = 0,
te_m1 = 0, te_m2 = 0, te_m3 = 0)
df_hom
A data frame with 31000 rows and 15 variables:
individual in panel data
time in panel data
the year that treatment starts
outcome variable
T/F variable for when treatment is on
year relative to treatment start. Inf = never treated.
year relative to treatment start, but <=-6 and >=6 are binned.
Unit FE
Year FE
Random error component
Static treatment effect = te
Dynamic treatmet effect = te_m
String name for group
State that unit is in
Weight from runif()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.