Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Estimates from Day-1 doesn't show in plot #16

Closed
d0nghyunkang opened this issue Mar 1, 2021 · 3 comments
Closed

Estimates from Day-1 doesn't show in plot #16

d0nghyunkang opened this issue Mar 1, 2021 · 3 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request FAQ

Comments

@d0nghyunkang
Copy link

Hey, I've found another peculiar issue in the resulting plot. The command doesn't show the estimate from Day-1. For example, if I run the following code from your example_csv, the resulting plot omits the estimate from Day-1.

esplot paygrade, by(male) event(to_male_mgr, save) window(-20 30) estimate_reference

Graph

@dballaelliott dballaelliott added the documentation Improvements or additions to documentation label Mar 1, 2021
@dballaelliott
Copy link
Owner

dballaelliott commented Mar 1, 2021

Hi,

Thanks for highlighting this, this is actually by design!

The dynamic treatment effects (or event-study coefficients are only identified up to a constant). By convention, these coefficients are often normalized to 0 in the time t = -1. For example, that's what is done in the figures in Cullen & Perez-Truglia, 2020. Of course, the normalization is arbitrary, and e.g. Chetty, Friedman & Rockoff, 2014 normalize with respect to other years (-3 and +2).

I know that moving the reference period is a feature that has been requested in the past, and I'll flag that as a new feature to add (i.e. changing the omitted period to t=0 or t = -2).

There is currently an undocumented option called recenter that may be of interest to you. It is a workaround for the under-identification of the full set of dynamic effects (i.e. the coefficients need to be relative to something). What happens is the package will estimate the normalized event study with t= -1 set to 0 as usual. Then, it will estimate the mean of the outcome variable in t = -1 and shift the whole series by that amount. That is, instead of setting t=-1 to be zero, it sets it to the mean of the outcome in t=-1. To highlight that we've mechanically set t=-1 to it's mean, confidence intervals around that point are still ommitted.

@dballaelliott dballaelliott added the enhancement New feature or request label Mar 1, 2021
@d0nghyunkang
Copy link
Author

Thanks for the detailed explanation. I learned something!

@dballaelliott
Copy link
Owner

Great! Glad this was helpful!

I think this is a common source of confusion, so I'll leave this issue open until I can add this information to the package docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request FAQ
Projects
None yet
Development

No branches or pull requests

2 participants