Hello,
I am working on a project where I am trying to estimate how one change in electoral rules affects party competition. The electoral change is observed only at the regional level but also in multiple time periods. The unit of analysis is the election observed in each of the regions included in my study but those elections take place in different times and and with a different frequency. A distribution of the treatment based on when the electoral change was first implemented is shown in the below table where 0 indicates cases where no reforms took place and year indicate the period when the electoral change took place.
My empirical strategy is based on estimating a DiD and I was hoping to use command CSDID developed by FernandoRios based on Callaway and Sant'Anna (2021) to account for multiple time periods. The model, however, cannot be estimated as the panel is not balanced. Any suggestion about how to solve this problem?
Many thanks.
Best wishes,
Rubén
I am working on a project where I am trying to estimate how one change in electoral rules affects party competition. The electoral change is observed only at the regional level but also in multiple time periods. The unit of analysis is the election observed in each of the regions included in my study but those elections take place in different times and and with a different frequency. A distribution of the treatment based on when the electoral change was first implemented is shown in the below table where 0 indicates cases where no reforms took place and year indicate the period when the electoral change took place.
Code:
first_treat | Freq. Percent Cum.
------------+-----------------------------------
0 | 65 41.94 41.94
1999 | 35 22.58 64.52
2011 | 19 12.26 76.77
2014 | 18 11.61 88.39
2017 | 18 11.61 100.00
------------+-----------------------------------
Total | 155 100.00
Many thanks.
Best wishes,
Rubén

Comment