全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
9723 6
2010-11-04
悬赏 1 个论坛币 已解决
如题,,,

希望高手解答。。。。。。

最佳答案

puxingrong 查看完整内容

给你个程序和说明: proc reg data=jobprof; model y=x1 x2 x3 x4/selection = adjrsq cp aic sbc; run; A few notes: (1) depending on which option is specified first on the right hand side of the equation “selection=”, SAS will use that option as the selection method and will report values for all other options specified after the first option. For example, selection=adjrsq cp aic sbc means ...
二维码

扫码加我 拉你入群

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

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

全部回复
2010-11-4 21:32:42
给你个程序和说明:
proc reg data=jobprof;
   model y=x1 x2 x3 x4/selection = adjrsq cp aic sbc;
run;

A few notes:
(1) depending on which option is specified first on the right hand side of the equation “selection=”, SAS will use that option as the selection method and will report values for all other options specified after the first option. For example, selection=adjrsq cp aic sbc means selecting best subset model using adjusted R square as criterion, report values in order for cp, aic and sbc.
(2) In SAS 9.1 version that we are currently using, SAS doesn’t use AIC and SBC for selecting best subset model. Therefore, we can not  put “aic” or “sbc” as first option for “selection=”.  If we want to use AIC or SBC as selection method, we can specify slection=adjrsq aic sbc to get AIC and SBC value and then conduct selection by ourselves.
二维码

扫码加我 拉你入群

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

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

2013-12-9 20:36:09
谢谢呢,哈哈
二维码

扫码加我 拉你入群

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

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

2014-4-3 15:21:43
puxingrong 发表于 2010-11-4 21:32
给你个程序和说明:
proc reg data=jobprof;
   model y=x1 x2 x3 x4/selection = adjrsq cp aic sbc;
您好,请问cp是什么?
二维码

扫码加我 拉你入群

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

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

2015-12-11 14:41:40
mosquitog 发表于 2014-4-3 15:21
您好,请问cp是什么?
Cp统计量最小准则是自变量选择的一种判别准则,Cp是Mallow's Cp统计量
二维码

扫码加我 拉你入群

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

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

2016-1-8 12:13:11
好方法,牛人
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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