Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Method->NMinimize in FindFit Crashes the Kernel

  • To: mathgroup at smc.vnet.net
  • Subject: [mg89539] Method->NMinimize in FindFit Crashes the Kernel
  • From: Kezhao Zhang <kezhao.zhang at gmail.com>
  • Date: Thu, 12 Jun 2008 02:58:50 -0400 (EDT)

I am running Mathematica 6.0.2.1 on 32-bit Windows Vista with 3GB of
RAM. The following code crashes the Kernel:

x = Range[1, 10, 0.01];

y = Exp[-0.1 x];

FindFit[Thread[{x, y}], 1 - 1/2 Erfc[(m - Log[t])/(Sqrt[2] s)], {s,
m}, t, Method -> NMinimize]


FindFit with Method->NMinize works fine when the number of data points
is small, e.g., x=Range[1,10,0.1].

I wonder whether this is a bug or there is a way to  prevent the
kernel crash.

Thanks.

Kezhao


  • Prev by Date: How complete a TeX system is Mathematica?
  • Next by Date: Re: Adding markers on the surface of a Plot3D?
  • Previous by thread: Re: How complete a TeX system is Mathematica?
  • Next by thread: Re: Method->NMinimize in FindFit Crashes the Kernel