作者babajoe (囧兴......)
看板Statistics
标题[问题] sigmaplot 回归公式撰写
时间Sun Apr 26 22:30:36 2009
如标题
我现在在做一系列X-Y Pair的资料分析
由於我想要回归的形式是前人所规定的格式
但是sigmaplot中没有
而User gide里面说的不清不楚的
有人知道怎样做完整定义的吗
我怎麽写怎麽错= =
会的人可以帮我看吗?
或是给我个方向去找资料
感恩!!
=========
以下是我从f=a*(1-exp(-b*x))修改过来的
=========
Function:
f=a*(1-b*exp(-c*x))
fit f to y
''fit f to y with weight reciprocal_y
''fit f to y with weight reciprocal_ysquare
Variables:
x = col(1) ' {{prevmin: 0.000000}} {{prevmax: 10.000000}}
y = col(2)
reciprocal_y = 1/abs(y)
reciprocal_ysquare = 1/y^2
'Automatic Initial Parameter Estimate Functions
first(q)=if(size(q)<10,size(q)-1,int(0.9*size(q)))
ylast(q)=mean(q[data(first(q),size(q))])
Initial parameters
a = max(y)''Auto
b = ''Auto {{previous: 12.2078}}
c = -ln(.5)/(x50(x,y,.5)-min(x)) ''Auto {{previous: 24.6815}}
Constraints:
b>0
Options:
200
Step size:
1
Torlerance:
1e-10
Trigonometric units:
Degree
在此
感谢各位强者!
祝各位研究愉快
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 118.169.225.11