我的结果变量为01变量;处理变量为123,在用doseresponse命令做广义倾向得分匹配的时候,一直报错显示The number of variables being to specify must be equals to the number of categories of the outcome variable,这是为什么呢?
我使用的命令是这样的
doseresponse marriage ld xdgs dy hukou xueli jk zjxy zyjszs ///
, outcome(xdpk) t(fzg) gpscore(pscore) ///
predict(hat_treat) sigma(sd) cutpoints(cut) index(p50) nq_gps(5) ///
t_transf(ln) dose_response(dose_response) cmd(mlogit) npoints(100) delta(1) ///
reg_type_t(quadratic) reg_type_gps(quadratic) interaction(1) bootstrap(yes) ///
boot_reps(5) filename("output") analysis(yes) graph("graph_output") detail
有大佬可以指点一下吗