如何在SAS中的PROC REG输出中显示样本大小?

时间:2013-11-19 05:23:23

标签: sas

我的问题很简单,有没有办法在SAS的PROC REG输出中显示样本大小?我一直在谷歌上搜索无济于事。

2 个答案:

答案 0 :(得分:1)

ods output nobs=numobs;
      proc reg;
         model y=x;
         run;

答案 1 :(得分:0)

这对我有用:

proc reg data=data;
model y=x;
ods select parameterestimates nobs; *can add whatever other tables you are interested in;
run;

以下是PROC REG的表格列表:http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_reg_sect051.htm