Linear Fitting with GNUPLOT
Calculating...
The
fitting is done, gnuplot's output follows:
*******************************************************************************
Sat Oct 18 19:14:41 2008
FIT: data read from "/srv/gnuplot/tmp//fit-19906-25239.dat" using 1:2
#datapoints = 8
residuals are weighted equally (unit weight)
function used for fitting: a+b*x
fitted parameters initialized with current variable values
Iteration 0
WSSR : 5.14133 delta(WSSR)/WSSR : 0
delta(WSSR) : 0 limit for stopping : 1e-05
lambda : 0.707279
initial set of free parameter values
a = 1
b = 1
After 5 iterations the fit converged.
final sum of squares of residuals : 6.54951e-05
rel. change during last iteration : -1.63862e-06
degrees of freedom (ndf) : 6
rms of residuals (stdfit) = sqrt(WSSR/ndf) : 0.00330391
variance of residuals (reduced chisquare) = WSSR/ndf : 1.09159e-05
Final set of parameters Asymptotic Standard Error
======================= ==========================
a = -0.00695678 +/- 0.002638 (37.93%)
b = 11.7239 +/- 0.1196 (1.02%)
correlation matrix of the fit parameters:
a b
a 1.000
b -0.897 1.000
