全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
15351 10
2012-11-27
SAS中线性回归REG怎么输出标准化残差啊?output out=output r=residuals student=sresiduals;
这样只能输出残差和学生化残差

查了sas的文档,也没找到相应的输出变量:

http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_reg_sect015.htm

COOKD=names
Cook’s  influence statistic

COVRATIO=names
standard influence of observation on covariance of betas

DFFITS=names
standard influence of observation on predicted value

H=names
leverage,  

LCL=names
lower bound of a % confidence interval for an
individual prediction. This includes the variance of the
error, as well as the variance of the parameter estimates.

LCLM=names
lower bound of a % confidence interval for the
expected value (mean) of the dependent variable

PREDICTED | P=names
predicted values

PRESS=names
th residual divided by , where  is the leverage,
and where the model has been refit without the th
observation

RESIDUAL | R=names
residuals, calculated as ACTUAL minus PREDICTED

RSTUDENT=names
a studentized residual with the current observation deleted

STDI=names
standard error of the individual predicted value

STDP=names
standard error of the mean predicted value

STDR=names
standard error of the residual

STUDENT=names
studentized residuals, which are the residuals divided by their
standard errors

UCL=names
upper bound of a % confidence interval for an
individual prediction

UCLM=names
upper bound of a % confidence interval for the
expected value (mean) of the dependent variable


谢谢!
二维码

扫码加我 拉你入群

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

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

全部回复
2012-11-27 21:15:27
是个问题。
二维码

扫码加我 拉你入群

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

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

2012-11-28 10:01:21
我帮你查了下,SAS  里确实不好的standardized residual 但是这里hilight的部分有说怎么得到:
http://books.google.com/books?id ... in%20sas&f=true
二维码

扫码加我 拉你入群

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

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

2012-11-28 10:17:15
retrydj 发表于 2012-11-28 10:01
我帮你查了下,SAS  里确实不好的standardized residual 但是这里hilight的部分有说怎么得到:
http://boo ...
链接只有这本书的介绍信息《Discovering Statistics Using SAS》,没办法点进去看
thanks a lot
二维码

扫码加我 拉你入群

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

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

2012-11-28 10:52:44
KevinXiong 发表于 2012-11-28 10:17
链接只有这本书的介绍信息《Discovering Statistics Using SAS》,没办法点进去看
thanks a lot
Capture.JPG Capture2.JPG
不知道你可不可以看清
二维码

扫码加我 拉你入群

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

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

2012-11-28 11:28:28
可以根据定义算:
第一种:
标准化残差=残差/(sig)      /这里的sig=Root MSE
页面输出中有root mse这一项,可以用参数除以这项可以得到标准化残差
但是此种方法比较麻烦
第二种:
学生化残差=残差/[(1-hii)*sig]     /hii为杠杆值
output out=  student=student  h=h;  /h=   输出每个观测的杠杆值

学生化残差*(1-hii)=残差/sig      /即得到标准化残差

二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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