Fit function and uncertainty

조회 수: 8 (최근 30일)
Christos Papadopoulos
Christos Papadopoulos 2019년 10월 11일
답변: Christos Papadopoulos 2019년 10월 16일
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

답변 (2개)

Alex Sha
Alex Sha 2019년 10월 12일
Hi, attach your data file please, if possible.

Christos Papadopoulos
Christos Papadopoulos 2019년 10월 16일
Hi
i'm sorry i can't. :/
but do you know what all these figures tell me?
Best
Chris

카테고리

Help CenterFile Exchange에서 Linear and Nonlinear Regression에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by