可以参考连玉君老师的论文《子女外出务工对父母健康和生活满意度影响研究》。采用IV oedered probit处理内生性问题,具体做法是heckman两步法,第一阶段probit,第二阶段是odered probit。详见论文。
不清楚连老师是怎样实现的,但是我找到了这个 oheckman ( oheckman fits regression models with an ordered-probit sample-selection process by using either a two-step consistent estimator or full-information maximum likelihood (FIML))。
希望能帮到你
为什么我用
cmp setup
webuse laborsup, clear
cmp (kids = fem_educ) (fem_educ = fem_work), ind(cmpoprobitcmp_cont) tech(dfp) nolr
结果显示
The indicators() option must contain 2 variables, one for each equation. Did you forget to type cmp setup?
invalid syntax
请问是怎么回事,该怎么处理呢?