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

Dynamic pre and post periods #39

Open
DeFilippis opened this issue Apr 7, 2020 · 1 comment
Open

Dynamic pre and post periods #39

DeFilippis opened this issue Apr 7, 2020 · 1 comment

Comments

@DeFilippis
Copy link

First, thanks so much for the incredible package! This is an amazing contribution. Second, I'm wondering how to accommodate datasets where the pre- and post- date vary depending on some other variable. For example, let's say I'm trying to evaluate the impact of some policy, but different states implement the policy at different periods of time, and therefore have different "pre" and "post" windows.

I'm guessing this requires a custom model, but the documentation isn't clear on how to accomplish this.

Any thoughts?

@DeFilippis
Copy link
Author

DeFilippis commented Apr 8, 2020

Follow-up question: In this paradigm, is there any conception of "clustering" that can be accounted for. e.g. if policies are implemented at the city level at different periods of time, and I'd like to account for correlation in the error term within city. In a standard intervention analysis, you can just cluster standard errors at the level of the intervention. Is there a way to go about doing that in this framework?

For the time being, I've just aggregated the DV across cities to the date level, using a weighted mean of the cities population, which seems sloppy.

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

1 participant