Code:
did_multiplegt
My code is
Code:
did_multiplegt y i t D , robust_dynamic dynamic(4) placebo(3) controls($control_list) breps(100) cluster(i)
Code:
DID estimators of the instantaneous treatment effect, of dynamic treatment effects if the dynamic option is used, and of placebo tests of the parallel trends assumption if the placebo option is used. The estimators are robust to heterogeneous effects, and to dynamic effects if the robust_dynamic option is used. | Estimate SE LB CI UB CI N Switchers -------------+------------------------------------------------------------------ Effect_0 | -.0226619 .0061357 -.0346878 -.0106359 20592 4982 Effect_1 | -.017382 .0093775 -.0357619 .0009978 15723 4463 Effect_2 | .0054355 .0134015 -.0208315 .0317025 12417 4130 Effect_3 | .0698069 .0170375 .0364135 .1032004 9921 3839 Effect_4 | .1103436 .0194448 .0722318 .1484553 8957 3538 Placebo_1 | .0069436 .004159 -.0012081 .0150953 16863 3719 Placebo_2 | .0243217 .005671 .0132066 .0354368 12891 2796 Placebo_3 | .0110985 .0081419 -.0048597 .0270567 9075 2039
Code:
event_plot e(estimates)#e(variances), default_look graph_opt(xtitle("Periods since the event") ytitle("Average causal effect") /// title("de Chaisemartin and D'Haultfoeuille (2020)") xlabel(-3(1)4)) stub_lag(Effect_#) stub_lead(Placebo_#) together
But I do not know whether the laws affect the dependent y and whether the parallel trend is being satisfied.
And I try to apply
Code:
estat simple
But the result is that
Code:
estat simple not valid
Code:
estat summarize (equation), noomitted
Code:
e(sample) information not available
0 Response to How to know whether laws affect dependent variables and paralell trend being satisfied following Chaisemartin and D'Haultfoeuille ?
Post a Comment