필터 지우기
필터 지우기

Curve Fitting Discrepanc​ies--Expon​ential versus Log-Transformed

조회 수: 2 (최근 30일)
Andrew
Andrew 2011년 12월 1일
I need to fit data using an exponential relationship, but I also want to make a statistical comparison of coefficient values between several models. Initially I was using the Curve Fitting tools to perform the fits, i.e.:
for i = 1:NumberofGroups ftype = fittype('exp1'); [coefs{1} goodfit{1}] = fit(x(Group==i),y(Group==i),ftype,options); end
In order to make comparison among the models easier, I set up a linearized version using regstats:
for i = 1:NumberofGroups Model{i} = regstats(x(Group==i),log(y(Group==i)),'linear'); end
I am also using aoctool to intercompare parameters as:
[h, atab, ctab, stats] = aoctool(x,log(y),Group);
and using multcompare to determine significant differences among slope and intercept parameters of the exponential fits.
The two methods (curve fit vs. linearization) produce very different coefficient values with different relationships among my groups. Obviously I am concerned about finding statistical significance for certain parameter groups that are only supported in one approach. Any assistance as to the differences between fitting methods in the two tool sets or advice on interpretation of such differences is greatly appreciated.

채택된 답변

bym
bym 2011년 12월 2일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Fit Postprocessing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by