Curve Fitting Discrepancies--Exponential versus Log-Transformed
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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.
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Fit Postprocessing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!