# FindFit vs. NonlinearModelFit [closed]

Would anybody be able to elaborate on the difference between FindFit and NonlinearModelFit. I couldn't find any documentation stating the differences.

-
From the docs : FindFit returns a list of replacements while NonlinearModelFit returns a symbolic FittedModel object to represent the linear model it constructs. but The best-fit function from NonlinearModelFit[data,form,pars,vars] is the same as the result from FindFit[data,form,pars,vars]. – b.gatessucks Nov 2 '12 at 8:54
As noted by b.gatessucks, a closer reading of the docs ought to have given you at least an inkling... – 0x4A4D Nov 2 '12 at 9:25
FindFit may use linear or nonlinear fitting. To check out the differences the ANOVA tables may be a good place to start, i.e. pts = RandomReal[10, {12, 2}]; Print[LinearModelFit[Sort@pts, {1, x, x^2}, x]["ANOVATable"]]; Print[NonlinearModelFit[Sort@pts, a x^2 + b x + c, {a, b, c}, x]["ANOVATable"]]; – Chris Degnen Nov 2 '12 at 9:46

## closed as too localized by Ajasja, 0x4A4D♦Nov 2 '12 at 9:24

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.