📄 综合比较2.sas
字号:
data ex;input x y @@;
x1=1/x; lx=log(x);ly=log(y);y1=0.1159+1.9291*x1;q1+(y-y1)**2;
y2=exp(0.9638-1.1292*lx);q2+(y-y2)**2;y3=exp(0.9230-0.3321*x);q3=(y-y3)**2;
cards;
1 1.85 2 1.37 3 1.02 4 0.75 4 0.56 6 0.41 6 0.31 8 0.23 8 0.17
;
proc glot;
plot y*x;
symbol i=r1 v=dot;
proc reg;model y=x1;
proc reg;model ly=x;
proc reg;model ly=x;
proc print;var q1-q3;run;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -