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

Issue with different event-study functions #25

Open
Chenghao163 opened this issue Nov 14, 2024 · 2 comments
Open

Issue with different event-study functions #25

Chenghao163 opened this issue Nov 14, 2024 · 2 comments

Comments

@Chenghao163
Copy link

I shows a event-study did example:
y = a + event_1treatbeta1+ event_2treatbeta2 + event_3treatbeta3 + event_4treatbeta4 + event_5treatbeta5 + u
In this function, using this code in stata may be efficient: honestdid, pre(1/3) post(3/4) mvec(0.5(0.5)2)

Instead, facing a similar gruop of functions
y = a + event_1treatbeta1 + u
y = a + event_2treatbeta2 + u
y = a + event_3treatbeta3 + u
y = a + event_4treatbeta4 + u
y = a + event_5treatbeta5 + u
How could I using honestdid code to caculate whether trentment violation of parallel trends?

@Chenghao163
Copy link
Author

The plus signal is ignored, the real function is:
y = a + event_1×treat×beta1+ event_2×treat×beta2 + event_3×treat×beta3 + event_4×treat×beta4 + event_5×treat×beta5 + u

y = a + event_1×treat×beta1 + u
y = a + event_2×treat×beta2 + u
y = a + event_3×treat×beta3 + u
y = a + event_4×treat×beta4 + u
y = a + event_5×treat×beta5 + u

@jonathandroth
Copy link
Collaborator

jonathandroth commented Nov 14, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants