reg6_7.sas

来自「黄燕 吴平《SAS统计分析及应用》 书中一些例子的SAS程序代码」· SAS 代码 · 共 17 行

SAS
17
字号
data data_prg.reg6_7b;
set data_prg.reg6_7;
x12=x1*x1;
x22=x2*x2;
x32=x3*x3;
x12x=x1*x2;
x23x=x2*x3;
x13x=x1*x3;
proc reg data=data_prg.reg6_7b; 
model y=x1 x2 x3 x12 x22 x32 x12x x23x x13x /selection=f;
model y=x1 x2 x3 x12 x22 x32 x12x x23x x13x/selection=stepwise noint;
model y=x12 x23x   /selection=stepwise P cli R vif collin noint;
output out=data_prg.reg6_7c; 
run;                                                 
quit;
proc print data=data_prg.reg6_7c; 
run;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?