我的基准回归模型是tobit形式的,内生变量x是01变量,所以用CMP方法做tobit——处理效应回归。
命令大概是这样的,一阶段是iv对内生变量x的probit回归,二阶段是对y的tobit回归
cmp(y=x control )(x=iv control),ind("cond(y>0,1,2)" 4) difficult
但在汇报y*>0的边际效应时,命令为:margins, dydx(*) predict(e(0 .))
报错如下:prediction is a function of possibly stochastic quantities other than e(b)
r(498);
请问问题出在哪里,正确的边际效应命令该如何表达?


雷达卡




京公网安备 11010802022788号







