同样的数据我用Sigmaplot 能fit 很好. 可是SAS却不行.请指教.
Sigplot report:
Nonlinear Regression
[Variables]
x = col(2)
y = col(1)
reciprocal_y = 1/abs(y)
reciprocal_ysquare = 1/y^2
[Parameters]
a = max(y) ''Auto {{previous: 0.93844}}
b = 2/x50(x,y) ''Auto {{previous: 0.0187073}}
c = 1 ''Auto {{previous: 17.4157}}
[Equation]
f=a*(1-exp(-b*x))^c
fit f to y
''fit f to y with weight reciprocal_y
''fit f to y with weight reciprocal_ysquare
[Constraints]
[Options]
tolerance=0.000100
stepsize=100
iterations=100
R = 0.99996550 Rsqr = 0.99993100 Adj Rsqr = 0.99990340