Re: Curve fitting
- To: mathgroup at smc.vnet.net
- Subject: [mg29374] Re: [mg29323] Curve fitting
- From: "Mark Harder" <harderm at ucs.orst.edu>
- Date: Fri, 15 Jun 2001 02:23:43 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Tobin,
To get just the best-fit parameters plugged into your (nonlinear)
function, you can use NonlinearFit. To get the parameters with statistics of
the result, use NonlinearRegress. Both are in the Statistics`NonlinearFit
package.
-mark harder
-----Original Message-----
From: Tobin Fricke <tobin at splorg.org>
To: mathgroup at smc.vnet.net
Subject: [mg29374] [mg29323] Curve fitting
>
>I'd like to find the parameters C1, C2, C3, C4, C5, such that the
>expression "C1*Exp[x/C2] + C3*Exp[x/C4] + C5" best approximates a given
>function (or, more directly, the distribution of a data series). Any help
>would be greatly appreciated. (This is like the Poisson distribution, but
>for two random variables, plus a constant offset... I think.)
>
>Thanks,
>Tobin
>
>