On 21/06/2018 14:41, Piter_ wrote:

> Hi list.

> Is there any way to do weighted fit inside of the imageJ macro?

> Petro

Hi Petro,

sorry, there are currently no weights (or error bars) in the ImageJ

Curve Fitter. The only thing you can do is adding more reliable points

twice or three times.

For very few fit types where a "linear regression" method is available,

this method will result in different weighting than the one without

"linear regression".

E.g. "Exponential" gives equal weight (assumes equal errors) for all points.

"Exponential (linear regression)" is a least-squares fit to

ln y = ln a + bx,

so it assumes the errors of ln y are equal. In other words, low y values

are considered more accurate (errors are assumed to be a fixed fraction

of the value).

Michael

--

ImageJ mailing list:

http://imagej.nih.gov/ij/list.html