Services & Resources / Wolfram Forums
MathGroup Archive
*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

A Problem with the NonlinearFit?

  • To: mathgroup at
  • Subject: [mg61757] A Problem with the NonlinearFit?
  • From: "Axel Ligon" <ligonap at>
  • Date: Fri, 28 Oct 2005 03:25:41 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

Deas Sirs,

concerning the NonlinearFit procedure I have a problem. I used the 
following inputs:

*Raw datas {x, y}*

a ->280.376, b->0.175479


280.376 * Exp(-0.175479x)

*Convert datas {x, ln[y]}*
dat2={{0,5.7680},{1,5.2817},{3,4.9430},{7,4.5951},{14,4.0271},{31,3.4904},{90, 0.6419}}

a->5.18756, b->0.0518199


5.18756 - 0.0518199 x

The difference between A) and B) is only the conversion of y to ln[y] 
and the equation y = a * exp(-b*x) to ln[y] = ln[a] - b*x. From this 
it follows that a = exp[ln[a]].
But I get in A) 280.376 / -0.175479 and in B) 179.031 / -0.05182 !!
Why do I get these error?? If I use Excel, I don't get these errors.
Is it an error in the programming of Mathematica, or not???

I'd be glad if you could help me.

With best regards

Axel Ligon

  • Prev by Date: Re: Slow simplify[], integrate[] in 5.2 for Mac
  • Next by Date: Re: Re: Running the kernel command line with additional input files
  • Previous by thread: Re: Why? Warning: Actions not found: delete-next-character
  • Next by thread: Re: A Problem with the NonlinearFit?