Re: Nonlinear Curve Fitting
- To: mathgroup at smc.vnet.net
- Subject: [mg53828] Re: Nonlinear Curve Fitting
- From: Antti Penttilä@smc.vnet.net
- Date: Sat, 29 Jan 2005 06:02:36 -0500 (EST)
- Organization: University of Helsinki
- References: <ctcrit$6pu$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
nilaakash wrote:
> Dear Friends,
> I have tried to fit a nonlinear curve, but failed. I am
> giving my points and it's curve equation is
>
> \!\(y = a \((1 - x\/c)\)\^b\)
>
> Here a, b, c are fit parameters. My initial guess is like
> a = 0.3
> b = 0.2
> c = 385.2
>
> data={{382.55, 0.112531}, {382.351, 0.113271}, {382.15, 0.115013},
> {381.95,
...
Needs[ "Statistics`NonlinearFit`"]
NonlinearRegress[ data, y, {x}, {{a, 0.3}, {b, 0.2}, {c, 385.2}}]
Part of the output:
BestFitParameters -> {a -> 0.318854, b -> 0.204693, c -> 384.614}
--
Antti Penttilä Antti.I.Penttila at helsinki.fi.removethis