insongkim / PanelMatch

118 stars 36 forks source link

Matching to units in *similar* time period #96

Closed MatteoTiratelli closed 2 years ago

MatteoTiratelli commented 2 years ago

Hi, thanks for your work on this - really amazing. I wondered if it was possible to match treated observations from a given unit in a particular time period with control observations from other units in a similar time period. For example, I have a dataset of parties at elections. As it's rare for different countries to have elections in the same month, is there any way of comparing one party-election with other party-elections happening in the same, say, 5-year period? I appreciate this isn't in the package but if you can think of an easy work around that would be really helpful!

MatteoTiratelli commented 2 years ago

I wrote a package to implement this if anyone else finds it useful: https://github.com/MatteoTiratelli/SparsePanelMatch