Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know this option exists in NonlinearModelFit and probably in other fit models as well but for some reason the best result i get is with FindFit.

Regards Doron

share|improve this question
Can you post your example? FindFit is an older function, having been introduced in v5. NonlinearModelFit and LinearModelFit were introduced more recently in v7 and (I'm guessing here) are probably the functions that will be maintained in the future. – bobthechemist Dec 14 '13 at 13:43
up vote 1 down vote accepted

No, as far as I know. The only difference (in terms of fitted models) between FindFit and NonlinearModelFit is that NonlinearModelFit allows for extraction of additional information about the fitting - for example model["FitResiduals"]. FindFit and NonlinearModelFit yield equivalent models. The best-fit function from NonlinearModelFit[data,form,pars,vars] is the same as the result from FindFit[data,form,pars,vars]. So you should be completely satisfied with NonlinearModelFit and if you see any differences between results of fitting - it must be due to some discrepancy. If you can show here 2 examples where FindFit and NonlinearModelFit return different fits - I'd be very curious.

share|improve this answer
Thanks A lot. This was helpful – Doron Dec 14 '13 at 16:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.