Hi Statalist,
New to this forum and apologize in advance if this question already has been answered in some other post.
Anyway, I have a longitudinal panel dataset containing observations for 290 regions, years 1985-2014. I want to investigate whether a policy that was introduced in 2002 has had an affect on voter turnout, which is the outcome variable. But, since the regions themselves decide whether or not to implement the policy, year of implementation varies for each region. Some regions never implemented the policy (untreated for all years). To clarify, 2002 was the first year regions could implement the policy.
My treatment variable is a dummy, which takes the value 1 for all years that the region has had the policy, and 0 otherwise. Hence, treatment variable for untreated regions equals 0 for all years. I have various controls for all regions and the panel is strongly balanced.
My thought was to tackle this with a diff-in-diff approach and to include entity and time fixed effects. However, I am a bit confused how to handle the staggered implementation in the different regions. Does anyone have any suggestions regarding code and model?
I assume that the xtreg command is preferable for this setting?
Best regards
New to this forum and apologize in advance if this question already has been answered in some other post.
Anyway, I have a longitudinal panel dataset containing observations for 290 regions, years 1985-2014. I want to investigate whether a policy that was introduced in 2002 has had an affect on voter turnout, which is the outcome variable. But, since the regions themselves decide whether or not to implement the policy, year of implementation varies for each region. Some regions never implemented the policy (untreated for all years). To clarify, 2002 was the first year regions could implement the policy.
My treatment variable is a dummy, which takes the value 1 for all years that the region has had the policy, and 0 otherwise. Hence, treatment variable for untreated regions equals 0 for all years. I have various controls for all regions and the panel is strongly balanced.
My thought was to tackle this with a diff-in-diff approach and to include entity and time fixed effects. However, I am a bit confused how to handle the staggered implementation in the different regions. Does anyone have any suggestions regarding code and model?
I assume that the xtreg command is preferable for this setting?
Best regards
Comment