synth-inference / synthdid

Synthetic difference in differences
https://synth-inference.github.io/synthdid
BSD 3-Clause "New" or "Revised" License
261 stars 96 forks source link

panel matrices issue #112

Open tahokovi opened 9 months ago

tahokovi commented 9 months ago

Hi, I was running the panel matrices code and it keeps telling me:

Error in panel.matrices(county.data, unit = 4, time = 3, outcome = 6, : Inputpanelmust be a balanced panel: it must have an observation for every unit at every time.

My panel is balanced which is the weird thing. Anyone has having similar issues? Any remedies?

Thanks in advance!

changshengspecial commented 7 months ago

To fill in the missing values in your data, and it is preferable to ensure consistency in the years of the groups being processed.