You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have recently encountered an error in gsynth.default if entire ids and periods need to be dropped. The error results from different dimensions in obs.missing and I.old if periods are dropped. The error message is: Error in obs.missing[, rm.id] <- 4 : incorrect number of subscripts on matrix, but the problem originates from the line above obs.missing[which(I.old == 0)] <- 0 as the two objects have different numbers of rows.
I've edited some basic lines in gsynth.default which circumvent the problem. I'll create a pull request with that in a second, maybe it helps to fix the problem.
Thanks and best wishes
Tobi
The text was updated successfully, but these errors were encountered:
Hi Tobi,
Have you installed the most up-to-date github version? If yes, could you
send a sample data with code (and panelview plot) to our email addresses?
Best,
Yiqing
Hi Yiqing,
Many thanks for the great package first of all!!
I have recently encountered an error in
gsynth.default
if entire ids and periods need to be dropped. The error results from different dimensions inobs.missing
andI.old
if periods are dropped. The error message is:Error in obs.missing[, rm.id] <- 4 : incorrect number of subscripts on matrix
, but the problem originates from the line aboveobs.missing[which(I.old == 0)] <- 0
as the two objects have different numbers of rows.I've edited some basic lines in
gsynth.default
which circumvent the problem. I'll create a pull request with that in a second, maybe it helps to fix the problem.Thanks and best wishes
Tobi
The text was updated successfully, but these errors were encountered: