gnuplot - linear fit with x-errors -
apologies if simple question, have searched everywhere , can't find solution. have data file 3 columns - x:y:xerrors. want fit function f(x) data, entering
f(x)=a*x+b fit f(x) 'data' using 1:2:3 via a,b
but fit assuming entries in column 3 y-errors, when x-errors?
change: fit f(x) 'data' using 1:2:3 via a,b
to: fit f(x) 'data' using 1:2:3 xerrorbars via a,b
this treats 3rd column uncertainty in x
, computes appropriate weight wssr.
Comments
Post a Comment