Skip to content
Prev 166879 / 398502 Next

curve fitting with given term

gregor rolshausen <gregor.rolshausen <at> biologie.uni-freiburg.de> writes:
Perhaps you mean

y = N*(1-exp(-x/a))

assuming x is the predictor and y the response variable.
(This further assumes that the errors are independent,
normally distributed [if you want to make inferences
on the parameters etc.], etc..)

Check out ?nls (for "nonlinear least squares").

  good luck,
    Ben Bolker