ods output ParameterEstimates=Parms;
proc reg;
model y = x;
run;
用这种格式导出来,但这个命令只能导出估计参数,应该再加一个什么?
谢谢!

|
楼主: qyj8888
|
2845
3
SAS 中如何将回归的rsquare 导出来? |
|
博士生 67%
-
|
回帖推荐1# qyj8888
The ODS table for R^2 and other Fit statistics is FitStatistics. See example below.
HTH.
data t1;
do i = 1 to 10;
x=rannor(190);
y=1+x+rannor(190);
output;
end;
run;
ods output ParameterEstimates=Parms ;
ods output FitStatistics=Stats;
proc reg;
model y = x;
run;
quit;
proc print data=Stats; run;
本帖被以下文库推荐
| ||
|
|
| ||
加好友,备注cda京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明


