Re: Exponential fit question.
- To: mathgroup at smc.vnet.net
- Subject: [mg28034] Re: Exponential fit question.
- From: dennisw555 at aol.com (DennisW555)
- Date: Wed, 28 Mar 2001 02:41:09 -0500 (EST)
- References: <99pdg6$lft@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
>I was wondering if someone could help me with the following problem.
>
>I am trying to perform an exponential fit to the following data
>{{x,y}}
>
>data
>={{50,22},{64,62},{78,122},{93,269},{107,414},{122,507},{136,597}}
>
>Fit[data,Exp[x],x]
>
>what I get is
>
>1.94272422061017735^-63 *E^x Which is not correct.
>
>With Excel I get 7.5*E^0.0034x which is correct.
>
>How can I do this with Mathematica ?
Try
Exp[Fit[data/.{x_,y_}->{x,Log[y]},{1,x},x]]//Simplify
Dennis