全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
4294 5
2012-04-02

[size=1em]calculating PRESSp (prediction sum of squares) criterion



Hi all,


As I'm doing a regression in which I want to reduce my current amount of possible parameters, I wanted to run a kind of best-subset algorithm in that I want to evaluate (and plot) each possible combination of regression parameters using some model selection criteria as R2 (adjusted), MSE, Cp, AICp, SBCp and PRESSp.


As such, I am now able to generate a listing of all possible regression parameter combinations and evaluating them against R2, R2 adjusted, Cp, MSE and SSE using the following command:


proc reg data=model2 outest=temp;

model lny = X3-X8 X12-X23 X4X16 /selection=rsquare adjrsq cp press mse sse;

plot cp.*np.;

plot rsq.*np.;

plot mse.*np.;

run;

quit;


However, I would really like to have the PRESSp (preidction sum of squares) value calculated (which to former command apparently doesn't do?) and plotted and, if possible, also Akaike's information criterion (AICp) and Schwarz' Bayesian criterion (SBCp).


Could anyone please help?


Kind regards,


Peter

二维码

扫码加我 拉你入群

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

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

全部回复
2012-4-2 02:01:46
二维码

扫码加我 拉你入群

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

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

2012-4-2 09:55:00
许多[size=1em]是什么意思?
二维码

扫码加我 拉你入群

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

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

2012-4-2 09:56:36
楼主是复制、粘贴的吧
二维码

扫码加我 拉你入群

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

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

2012-4-3 03:19:32
goldbaodi 发表于 2012-4-2 09:55
许多是什么意思?
恩,复制的时候带了些网页代码。这个问题,是别人提出来的,我刚好也不会,所以看看有没有人能解决。
二维码

扫码加我 拉你入群

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

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

2012-4-4 01:22:43
gavinking 发表于 2012-4-3 03:19
恩,复制的时候带了些网页代码。这个问题,是别人提出来的,我刚好也不会,所以看看有没有人能解决。
statistic PRESS is NOT available for selection = Rsquare.
JingJu
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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