> I want use gnuplot for my work. I noticed that after
> every iteration, the program gives a value for every
> parameter used for my function. For example, i use the
> function f(x)= A+(B*x), with A=0 and B=3, and I have this
> file, from which I can read the data;
>
> [8-< snip]
>
> After "interation 5", the program gives
>
> A= 1,0023e-15
> B= 1,574e-26
>
> the numbers are invented). What do this two values mean?
> If they are not errors, how can I find errors on A and B?
> Can you help me? Thanks.
Unfortuanetly you provide only very few informations e.g.
about which commands you are using or your version of
gnuplot. I assume, that you are using the fit-command, at
least your interpolation problem indicates that.
I suppose, you've already studied the help (help fit) very
well. A and B are the free parameters, that gnuplot uses to
fit your given function f(x) to the points of your dataset.
The algorithm, that is working in the backgound, needs not
only a function with these free paramaters, but also an
'idea' of the ranges these parameters could lie in. So my
advice is to give gnuplot suitable initial values (the
numbers are invented):
f(x)= A+(B*x)
A=26.5
B=-6.5
fit f(x) 'datafile' via A,B
Now gnuplot should be able to iterate the fit values for A
and B within only a few steps. The iteration process stops,
when the weighed sum of the squared residuals becomes
smaller than a fixed (very small) value. Then gnuplot
prints the parametres with their standard errors to the
screen.
Did I get your problem right? If not, please write some more
details.
Regards
Lars Hoegen
P.S.: We're not deaf, so please stop shouting.
|