chaisemartinPackages / did_multiplegt_dyn

|| Stata | R || Estimation of event-study Difference-in-Difference (DID) estimators in designs with multiple groups and periods, and with a potentially non-binary treatment that may increase or decrease multiple times.
34 stars 7 forks source link

Discrepency in names for stored elements after estimation #37

Closed Vincent-Nossek closed 4 months ago

Vincent-Nossek commented 4 months ago

Dear authors, after trying to use the saved results (i.e. like e(X)) from did_multiplegt_dyn I noticed that the names given in the "help" file (after calling help did_multiplegt_dyn) did not work. After calling "ereturn list" I noticed that most of the results are stored under different names than the one given in the help file. For instance help file gives "e(effect_average)" while the true name is "e(Av_tot_effect)". Under the scalars stored results most names are different except for the standard errors. Under the Macro and Matrix it looks like the names are the same.

PS: I'm guessing it would be simpler to correct the help file, but having the same names for the saved results between did_multpiplegt_dyn and former did_multiplegt might make it easier for people when switching between both command.

Best regards, Vincent

chaisemartinPackages commented 4 months ago

Dear Vincent, This is Diego from Clément de Chaisemartin's RA Team. Thanks for your interest in did_multiplegt_dyn! It seems that you may be using an older version of did_multiplegt_dyn. I checked running the program with a random DGP and the names of the ereturn seem consistent with the help file: image

image

Try updating the program with:

ssc install did_multiplegt_dyn, replace

and let me know if this solves the issue. Best, Diego

Vincent-Nossek commented 4 months ago

Dear Diego, thanks for the prompt response! Indeed updating the package seems to have resolved the issue, the help document have the new names matching with ereturn list. Best, Vincent