Kartik Chhajed
Kartik Chhajed

Reputation: 183

Gnuplot fitting method

"Fit" in Gnuplot uses which method (Algorithm) for fitting any curve? How does it calculate the error in fitting parameters?

A rough idea about the method or the algorithm would be enough.

Upvotes: 2

Views: 727

Answers (1)

Many
Many

Reputation: 395

I am using the fit command quite often. GNUPLOT is using the least squares with the the Marquardt-Levenberg-algorithm. All available information are on this link [fit]. What they said about the error can be found here [error].

These are quite robust methods and can not be easily implemented. However, if you want have a look at the code that does the job you can find it on GitHub [code], that's the advantage with opensource :-).

Hope that helps.

Upvotes: 1

Related Questions