Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3431

Re: fitting for Bateman equation returns NaN

From Michael Okuntsov <okuntsov.mikhail@yandex.ru>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: fitting for Bateman equation returns NaN
Date 2016-11-03 17:11 +0700
Organization A noiseless patient Spider
Message-ID <nvf2f7$5ci$1@dont-email.me> (permalink)
References <c9696e77-4fc9-4466-9175-bff4ac3d6ef0@googlegroups.com> <nvcvov$qad$1@dont-email.me> <65025da6-a456-46d5-b987-2b6d8dcbc692@googlegroups.com>

Show all headers | View raw


> Hi Michael,
>
> Thank you! it works great now. Why do we define B, though, and is the -0.1 arbitrary? What do I define N or M as, if I want to fix A, B and fit via N or M?
>
> Thanks :)
>

I've tried different initial values of B, and iterations converge if the 
value is about -0.1 or 0.1. The default value for initial parameters in 
gnuplot is 1, and it seems that iterations disperse with that value. 
Notice that there is also convergence if B=-1, so it seems that your 
function has at least two local extremes.

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

fitting for Bateman equation returns NaN apsara@connect.hku.hk - 2016-11-02 07:44 -0700
  Re: fitting for Bateman equation returns NaN Michael Okuntsov <okuntsov.mikhail@yandex.ru> - 2016-11-02 22:12 +0700
    Re: fitting for Bateman equation returns NaN apsara@connect.hku.hk - 2016-11-03 02:41 -0700
      Re: fitting for Bateman equation returns NaN Michael Okuntsov <okuntsov.mikhail@yandex.ru> - 2016-11-03 17:11 +0700
      Re: fitting for Bateman equation returns NaN Michael Okuntsov <okuntsov.mikhail@yandex.ru> - 2016-11-03 17:16 +0700
      Re: fitting for Bateman equation returns NaN Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2016-11-03 15:38 +0100
        Re: fitting for Bateman equation returns NaN Dan Connelly <djconnel@gmail.com> - 2016-11-04 15:31 -0700

csiph-web