The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » sci.math.* » sci.math

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Least square method (regression) for exponential functions
Replies: 6   Last Post: Dec 2, 2002 11:03 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Andrzej Kolowski

Posts: 353
Registered: 12/6/04
Re: Least square method (regression) for exponential functions
Posted: Nov 28, 2002 2:39 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 28 Nov 2002, wrote:
>Does anyone know, given a data set (x,y), how to fit a model of the
>y = a1*exp(-b1*x) + a2*exp(-b2*x) + a3*exp(-b3*x) ?
>I want to get the parameters(a1, b1, a2, b2, a3, b3) from fitting the
>data set to the above equation.
>Please give me the answer(preferably including algorithm or source
>Thanks in advance.

If you are assuming that the error term is distributed as
N(0, sig2), I would use PROC NLIN in SAS, probably with the option
METHOD = MARQUARDT. It requires writing down the partial
derivatives of the function, but that is simple in this


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.