fxxhg1.sas

来自「those are some program of the sas system」· SAS 代码 · 共 19 行

SAS
19
字号
title'非线性回归y=b0*(1-exp(-b1*x))';
data a;
input x y @@;
cards;
20 0.57 30 0.72 40 0.81 50 0.87 60 0.91 70 0.94
80 0.95 90 0.97 100 0.98 110 0.99 120 1.00 130 0.99
140 0.99 150 1.00 160 1.00 170 0.99 180 1.00 190 1.00
200 0.99 210 1.00
;
proc plot;
plot y*x;
proc nlin best=10 method=marquardt;
parms b0=0 to 2 by 0.5 
      b1=0.01 to 0.09 by 0.01;
model y=b0*(1-exp(-b1*x));
der.b0=1-exp(-b1*x);
der.b1=b0*x*exp(-b1*x);
output out=b;
run; 

⌨️ 快捷键说明

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