data test;
input type $ pr r;
cards;
A 1.11 0.11
A 2.12 0.21
A 3.49 0.35
B 3.50 7.01
B 3.72 7.42
B 4.11 8.21
;
proc reg data=test;
by type;
model r=pr;
ods output parameterestimates=outtest fitstatistics=out test;
run;
ods listing;
例如这个程序里输出的结果显示在outtst的数据集里。现在是包含截距项的,能否在模型包含截距项的情况下,截距项不输出到outtest的结果里。