I try to run the five_estimators_stata.do of Kirill Borusyak available at https://github.com/ridwandse/Stata/b...ors_example.do
I have installed all the necessary packages (and more)
ssc install moremata, replace
ssc install avar, replace
ssc install did_imputation, replace
ssc install did_multiplegt, replace
ssc install reghdfe, replace
ssc install event_plot, replace
ssc install ftools, replace
ssc install drdid, replace
ssc install eventstudyinteract, replace
github install lsun20/eventstudyinteract
But when I run the script, after the event_plot of Chaisemartin and D'Haultfoeuille (2020), I have the following message:
No estimates found. Make sure you have specified stub_lag and stub_lead correctly.
I do not understand, everything is well specified:
did_multiplegt Y i t D, robust_dynamic dynamic(5) placebo(5) breps(100) cluster(i)
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(-5(1)5)) stub_lag(Effect_#) stub_lead(Placebo_#) together
I work with STATA15, any help would be very much appreciated...
I have installed all the necessary packages (and more)
ssc install moremata, replace
ssc install avar, replace
ssc install did_imputation, replace
ssc install did_multiplegt, replace
ssc install reghdfe, replace
ssc install event_plot, replace
ssc install ftools, replace
ssc install drdid, replace
ssc install eventstudyinteract, replace
github install lsun20/eventstudyinteract
But when I run the script, after the event_plot of Chaisemartin and D'Haultfoeuille (2020), I have the following message:
No estimates found. Make sure you have specified stub_lag and stub_lead correctly.
I do not understand, everything is well specified:
did_multiplegt Y i t D, robust_dynamic dynamic(5) placebo(5) breps(100) cluster(i)
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(-5(1)5)) stub_lag(Effect_#) stub_lead(Placebo_#) together
I work with STATA15, any help would be very much appreciated...
Comment