[R] fitting simple y(x) data

Timur Elzhov Timur.Elzhov at jinr.ru
Sat Nov 2 17:33:25 CET 2002

Dear R experts!

I have the y(x) data (length(y) == length(x) == 10,000)
and I want to fit it with function

  exp(-a1 * x) + exp(-a2 * x)

a1, a2 -- are parameters to be estimated.

What the "right" way to do it?
Can I transform data to something so that linear model could be used?
Or, I must use a non-linear model, definitely?

Thank you very much.


r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list