Bacondecomp how to handle with missing values

174 Views Asked by At

I'm trying to do a difference-in-difference regression with multiple time periods and I am trying to decompose the coefficient using bacon decomposition. In my dep var there are some missing values. When I run the bacon decomp I have this error. Any suggestion on how to handle it? I have reported the error code. Error in bacon(crime ~ post, data = panel, id_var = "fips", : NA observations

Thanks for your help

0

There are 0 best solutions below