I have a set of data and I would like to fit a power law function given as
y=a*x**b
Using gnuplot. and I have errors for both x and y directions and I don't know how I fit the function regarding both errors. I used gnuplot to do the fit but doesn't look like promising plus I can not use the error information.
I know fit with Gnuplot by only (y) error, but I don’t know with both errors (x and y).
f(x)=log10(a)+b*(x) # for fitting
fit f(x) "file name" using 1:2:3 via a, b