xuyiqing / gsynth

Generalized Synthetic Control Method
Other
131 stars 40 forks source link

out$eff #81

Closed Gt520zgsj closed 1 year ago

Gt520zgsj commented 1 year ago

Hello Mr. Xu, I would like to ask a very basic question. When I use your gsynth package, I get a lot of NA values in the out (there are no missing values in my raw data), how can I fix it? image

Gt520zgsj commented 1 year ago

pdf("sim_att.pdf",width=10,height=7) true.effect<-matrix(data$eff,30,50)[,1:5] Error in matrix(data$eff, 30, 50) : 'data' must be of a vector type, was 'NULL'