全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
2181 0
2010-12-14
接 Sungmoo
Heckman stage-one
*设y是0-1变量
probit y x1-xn
predict w, xb
g lambda=normalden(w)/normal(w) if y==1
replace lambda=-normalden(w)/normal(-w) if y==0
本文来自: 人大经济论坛 Stata专版 版,详细出处参考:http://www.pinggu.org/bbs/viewthread.php?tid=448414&page=1&from^^uid=2225356

Heckman stage-two
reg  Z  x1-xn lambda  if y==1
reg  Z  x1-xn lambda  if y==0

How to predict the alternative?
For the observations are selected, how much is Z if  they had not been?
For the observations are not selected, how much is Z if  they had been?

Thanks.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群