lingo可以算
model:
title:拟合;
sets:
BASS/R1..R20/:T,Ni;
ENDSETS
DATA:
T= 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20;
Ni=19,43,59,82,92,113,138,148,151,157,158,155,137,109,89,79,60,53,92,45;
enddata
min=@sum(BASS:(@SUM(BASS:10^(A-B*T))-Ni)^2);!最小二乘解原理;
END