全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
10500 8
2010-08-21
在用proc reg回归时,选用了选项r,其中会输出残差的标准差(std error residential),残差的标准差应该是残差序列的的一个值,

为什么程序在每个观测对应的残差值后面都有一个对应的残差的标准差呢?

求问……
二维码

扫码加我 拉你入群

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

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

全部回复
2010-8-22 05:10:35
stefaniekenny 发表于 2010-8-21 23:04
在用proc reg回归时,选用了选项r,其中会输出残差的标准差(std error residential),残差的标准差应该是残差序列的的一个值,

为什么程序在每个观测对应的残差值后面都有一个对应的残差的标准差呢?

求问……
The r is residual rather than a std error residual. It is definded as y (observed) - y(hat)  for each observation.
二维码

扫码加我 拉你入群

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

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

2010-8-22 09:07:45
bobguy 发表于 2010-8-22 05:10
The r is residual rather than a std error residual. It is definded as y (observed) - y(hat)  for each observation.
first of all ,i am very appreciated of your enthusiasm.

this is my statement in the programming,model r_it=rmt_ew /r; this r can get the reslut std error residual , residual and something else.

i know the r you are talking about ,that is an option can be choosed in the output statement,kindof output out=    r=   .

so , i still want to know the answer of my question above.
二维码

扫码加我 拉你入群

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

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

2010-8-22 09:19:20
着急啊,求人给解释一下
二维码

扫码加我 拉你入群

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

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

2010-8-22 11:01:13
stefaniekenny 发表于 2010-8-22 09:07
bobguy 发表于 2010-8-22 05:10
The r is residual rather than a std error residual. It is definded as y (observed) - y(hat)  for each observation.
first of all ,i am very appreciated of your enthusiasm.

this is my statement in the programming,model r_it=rmt_ew /r; this r can get the reslut std error residual , residual and something else.

i know the r you are talking about ,that is an option can be choosed in the output statement,kindof output out=    r=   .

so , i still want to know the answer of my question above.
I think the stdr option you could specify on output statement in proc reg to get the standard error of the residuals.


data t1;
   do i = 1 to 50;
      x=rannor(12);
      e=rannor(12);
      y=1 + 2 * x +3*e;
      output;
    end;
run;

proc reg data=t1;
  model y=x;
  output out=t2 stdr=stdr r=resid STUDENT=stud;
  run;
  quit;


  proc print; run;
二维码

扫码加我 拉你入群

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

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

2010-8-22 11:52:08
bobguy 发表于 2010-8-22 05:10
I think the stdr option you could specify on output statement in proc reg to get the standard error of the residuals.
you can check the results in the T2 dateset , there is a series of standard error of the residuals, not just one.
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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