全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
1283 2
2014-02-21
Hi there,
Does anyone can help me to find the stata command (or sort of materials) to predict the level wage in the heckman regression. In my opinion, someone must have code the program to compute and predict that, rather than we need to compute it manually.

However, I tried the whole day searching on the internet, but failed. Now i still do not know how to do that, could anyone give me a hand?

Thanks in advance

Cheers,
Johnsen
二维码

扫码加我 拉你入群

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

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

全部回复
2014-2-22 12:25:08
share with anyone who come across similar problem.
附件列表
prediction.png

原图尺寸 109.35 KB

prediction.png

二维码

扫码加我 拉你入群

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

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

2014-2-23 01:18:50
这种时候只能自己顶了,希望有懂的朋友给点建议。

* for the total sample
predict x1b1, xb
predict x2b2, xbsel

gen yhatheck=exp(x1b1-0.47*(normalden(x2b2)/normal(x2b2))) if a3000==1

问题1)不确定根据上条回复的公式,这样生成工资水平(考虑了selection problem后的)对不对,准确不? 里面的a3000==1是表示取了报告有工作的个体;

问题2)我最终是想得到他的工资水平,式子中generate的-0.47是估计表格下方的rho值。

此处问题是,是每个样本都有一个rho值还是总共用这个rho值就可以了呢?我觉得报告的这个所有人的rho的平均值是不,不然这样用平均值可能得到的式子不准确了。

生成出来过后,和我前面的回归结果比对,应该是又问题的,但是有无人请教,闭门苦思终不成事,希望大家讨论下给点提示。

多谢驻足!
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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