楼主: basswawa
3694 3

[原创博文] 请教PROC GLM里如何 输出R², 感谢! [推广有奖]

  • 0关注
  • 1粉丝

大专生

81%

还不是VIP/贵宾

-

威望
0
论坛币
922 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
442 点
帖子
48
精华
0
在线时间
62 小时
注册时间
2008-7-7
最后登录
2013-8-22

楼主
basswawa 发表于 2011-1-18 01:41:23 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
请教PROC GLM里如何 输出R² (coefficient of determination), 只会把solution算出的t值输出:

proc glm
class a;
model y=x a/solution;
ods output parameterestimates=glmp;
run;
二维码

扫码加我 拉你入群

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

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

关键词:ROC coefficient EFFICIENT Estimates Parameter solution 如何

沙发
amanda8901 发表于 2011-1-21 10:45:18
如果你把model statement里的/solution 去掉,默认的输出里就有R2

或者把solution后面加上ss3 (也可能是ss1或者ss2,记不清了,sorry)你可以试一下

藤椅
Isscaliu 发表于 2011-1-21 12:31:57
proc statement后加outstat=吧?去查查吧!
It was the best of times, it was the worst of times.

板凳
amanda8901 发表于 2011-1-22 09:57:08
OUTSTAT=SAS-data-set
names an output data set that contains sums of squares, degrees of freedom, F statistics, and probability levels for each effect in the model, as well as for each CONTRAST that uses the overall residual or error mean square (MSE) as the denominator in constructing the F statistic. If you use the CANONICAL option in the MANOVA statement and do not use an M= specification in the MANOVA statement, the data set also contains results of the canonical analysis.
这个是我查到的,没看到有R2。不过有数据的话,运行一下就知道了。

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-1-3 01:13