You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rename the regression coefficients from DID models (event_study, DID2s, lpdid), e.g. rename C(f1, contr.treatment(base=1))[T.0.0]:X1 to f1::0::X1, etc.
The text was updated successfully, but these errors were encountered:
s3alfisc
changed the title
Prettier and Unified Coefficient Names for DiD Methods
DID: Prettier and Unified Coefficient Names for DiD Methods
May 30, 2024
@s3alfisc: this would indeed be a nice enhancement. I'm currently having difficulty applying the delta method with these event study coefficient names in the marginaleffects package (it's obviously also partly an issue with marginaleffects).
Context
Currently, the coefficient names of the DiD methods follow
formulaic
standard naming, which is very verbose.Here is an example:
The
lpdid
function does better:while
did2s
producesFor ATTs, we get
To Do
C(f1, contr.treatment(base=1))[T.0.0]:X1
tof1::0::X1
, etc.The text was updated successfully, but these errors were encountered: