全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
16983 5
2013-08-19
在An Introduction to Modern Econometrics Using Stata中

在该书矢量版【下载链接:https://bbs.pinggu.org/thread-1103569-1-1.html】第141页
第5章 5.2.10 Outlier statistics and measures of leverage 以房价为例介绍离群值和高杠杆作用统计量的命令时:

. quietly regress lprice lnox ldist rooms rooms2 stratio lproptax
. generate town =_n
. predict double lev if e(sample), leverage
. predict double eps if e(sample), res
. generate double eps2 = eps^2
. summarize price lprice

第四行命令的res选项是指残差吗?我在stata12 的[R] regress postestimation(第1707页) 中,predict命令的statistcs 选项列表中没有找到该选项,而是有
stdr :standard error of the residual
请问这是stata升级后对res选项的替代版吗?


二维码

扫码加我 拉你入群

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

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

全部回复
2013-8-19 19:43:58
Options for predict
􏰃􏰀
􏰃 Main 􏰀
xb, the default, calculates the linear prediction.
residuals calculates the residuals.
score is equivalent to residuals in linear regression. rstandard calculates the standardized residuals.
rstudent calculates the Studentized (jackknifed) residuals.
二维码

扫码加我 拉你入群

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

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

2013-8-19 20:10:20
多谢蓝色版主的回复,请问上述文字信息可以在哪里找到?
二维码

扫码加我 拉你入群

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

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

2013-8-19 20:15:50
众里寻他千百度,暮然回首那谁就在灯火阑珊处!
二维码

扫码加我 拉你入群

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

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

2013-8-19 20:40:57
就那一页最下面啊
help里面也有
二维码

扫码加我 拉你入群

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

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

2013-8-20 09:47:54
蓝色 发表于 2013-8-19 20:40
就那一页最下面啊
help里面也有
多谢蓝色版主,是我粗心没发现!
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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