Fit function and uncertainty
1 次查看(过去 30 天)
显示 更早的评论
Hi everybody,
i used the 'fit' functin to fit data to a gauss function
'a + b1 * exp(-(x-x1)^2/(2*sigma1^2)) + b2 * exp(-((x-x2)^2)/(2*(sigma2^2))'
and got a centroid at x1 and x2.
The ouput is:
a = 0.9905 (0.8866, 1.094)
b1 = 3.294 (2.896, 3.693)
b2 = 4.09e+04 (-1.652e+11, 1.652e+11)
sigma1 = 39.21 (33.55, 44.87)
sigma2 = 184.2 (-1.948e+07, 1.948e+07)
x1 = 597.5 (592.1, 602.9)
x2 = -1090 (-2.408e+08, 2.408e+08)
(forget about x2)
and:
sse: 1.8839e+03
rsquare: 0.2572
dfe: 1021
adjrsquare: 0.2528
rmse: 1.3584
Does any of these figures give me the uncertainty of the centroid?
Thanks for your help.
Best Chris
0 个评论
回答(2 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!