xuyiqing / gsynth

Generalized Synthetic Control Method
Other
131 stars 40 forks source link

Fix bug in obs.missing assignment if entire periods are dropped #68

Open ruettenauer opened 2 years ago

ruettenauer commented 2 years ago

Fixes the error Error in obs.missing[, rm.id] <- 4 : incorrect number of subscripts on matrix if ids and periods are dropped, as mentioned in #67. I have not tested this extensively across different scenarios, but it worked in my use cases.