df_het | R Documentation |
Generated using the following call:
did2s::gen_data(panel = c(1990, 2020),
g1 = 2000, g2 = 2010, g3 = 0,
te1 = 2, te2 = 1, te3 = 0,
te_m1 = 0.05, te_m2 = 0.15, te_m3 = 0)
df_het
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
State that unit is in
String name for group
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.