Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

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


  • 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