MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Nonlinear Curve Fitting


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


  • Prev by Date: Re: A question about pattern
  • Next by Date: Re: position of letters in a string
  • Previous by thread: Re: Nonlinear Curve Fitting
  • Next by thread: Re: Nonlinear Curve Fitting