Re: Method->NMinimize in FindFit Crashes the Kernel
- To: mathgroup at smc.vnet.net
- Subject: [mg89560] Re: Method->NMinimize in FindFit Crashes the Kernel
- From: dh <dh at metrohm.ch>
- Date: Thu, 12 Jun 2008 06:31:16 -0400 (EDT)
- References: <g2qhi6$8p3$1@smc.vnet.net>
version 6.0.2: "6.0 for Microsoft Windows (32-bit) (February 7, 2008)"
1GB RAM
Hi Kezhao,
this works for me with the result:
{m -> 1.92446, s -> 1.29603}
Daniel
Kezhao Zhang wrote:
> 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
>
--
Daniel Huber
Metrohm Ltd.
Oberdorfstr. 68
CH-9100 Herisau
Tel. +41 71 353 8585, Fax +41 71 353 8907
E-Mail:<mailto:dh at metrohm.com>
Internet:<http://www.metrohm.com>