TOPICS
Search

Least Squares Fitting--Exponential


LeastSquaresExp

To fit a functional form

y=Ae^(Bx),
(1)

take the logarithm of both sides

lny=lnA+Bx.
(2)

The best-fit values are then

where B=b and A=exp(a).

This fit gives greater weights to small y values so, in order to weight the points equally, it is often better to minimize the function

Applying least squares fitting gives

Solving for a and b,

In the plot above, the short-dashed curve is the fit computed from (◇) and (◇) and the long-dashed curve is the fit computed from (9) and (10).


AltStyle によって変換されたページ (->オリジナル) /