Closed Asymmetric-policy-impact closed 3 years ago
This probably has to do with some duplicates on statefips
and time
, are you sure that there are no rows with the same values of those two variables?
Thanks Eli, looks like things are working now! Appreciate it. However, it didn't have to do with duplicates. Don't know what happened, but the same lines of code work now!
Hi, I had this exact same error as well when trying to run a staggered adoption specification.
I have used the same dataset to run other packages previously with no issues, and have double checked that the rows in the error message contains no duplicated (unit,time) pairs. I wonder if there is anything you would suggest that I try to workaround this? Thanks a lot.
Hi Eli, I'm seeing the below error and don't know if there's a workaround. Earlier while running a different equation I was seeing "Keys are shared for 192 rows". I've checked my df, and as you can see the following sample rows are different. I even tried to delete rows, but still kept getting the error. Grateful for your assistance.