📄 reg6_10.sas
字号:
data reg6_10;
input x y @@;
x1=log(x);
y1=log(y);
x2=x1*x1;
x3=x2*x1;
cards;
25 20 50 30.5 100 47 200 52.0 400 67 800 87
;
proc reg;
model y=x1 x2 x3/selection=stepwise P cli R noint;
output out=reg6_10out p=yhat r=resid ;
run;
proc plot data=reg6_10out;
plot y*x='*' yhat*x='P' /overlay ;
run;
quit;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -