全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
11309 19
2018-05-19
求助!!!如题,stata做tobit回归后如何保存残差项?输入predict e,r 显示option resid not allowed。应该是tobit回归不能用该命令。

请问应该是predict跟哪一个呢?
Main
        xb        linear prediction; the default
        residuals        residuals
        score        score; equivalent to residuals
        rstandard        standardized residuals
        rstudent        Studentized (jackknifed) residuals
        cooksd        Cook's distance
        leverage  hat        leverage (diagonal elements of hat matrix)
        pr(a,b)        Pr(y  a < y < b)
        e(a,b)        E(y  a < y < b)
        ystar(a,b)        E(y*), y* = max(a,min(y,b))
*        dfbeta(varname)        DFBETA for varname
        stdp        standard error of the linear prediction
        stdf        standard error of the forecast
        stdr        standard error of the residual
*        covratio        COVRATIO
*        dfits        DFITS
*        welsch        Welsch distance


二维码

扫码加我 拉你入群

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

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

全部回复
2018-5-23 16:11:40
楼主,我也遇到此情况了,不知道楼主解决了没有?另外,在使用tobit模型之前,用做同方差和正态性检验吗?谢谢!
二维码

扫码加我 拉你入群

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

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

2018-5-28 09:53:50
predict res_a , res
二维码

扫码加我 拉你入群

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

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

2018-5-28 10:48:45
predict double xb if e(sample), xb
gen double  re=  yy - xb if e(sample)
其中 yy是被解释变量
二维码

扫码加我 拉你入群

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

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

2018-5-28 16:01:17
请 help tobit postestimation 并上面见 _无恙之建议。
二维码

扫码加我 拉你入群

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

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

2018-6-8 21:28:58
_无恙 发表于 2018-5-28 10:48
predict double xb if e(sample), xb
gen double  re=  yy - xb if e(sample)
其中 yy是被解释变量
非常感谢,按照您说的做出来了
二维码

扫码加我 拉你入群

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

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

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

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