octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #47369] statistics: gevfit malfunctioning (bec


From: Nir Krakauer
Subject: [Octave-bug-tracker] [bug #47369] statistics: gevfit malfunctioning (because of fminunc failure)
Date: Wed, 09 Mar 2016 20:02:57 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/601.4.4 (KHTML, like Gecko) Version/9.0.3 Safari/601.4.4

Follow-up Comment #3, bug #47369 (project octave):

Hi Muhali-- I agree with Arno that it's preferable to stick to functions in
core Octave as much as possible so that Statistics doesn't require other Forge
packages. It is to be expected that any optimization algorithm used in gevfit
could fail to converge in some cases, because the objective function is quite
nonlinear. Whether the optimization converges to a likelihood maximum or not
for particular data typically depends on the initial value, which can be
user-supplied or determined automatically.

In response to your problem, I improved the automatically estimated initial
value so that gevfit (in the repository) now converges properly for your
example with automatic choice of initial value (p = gevfit(x);). p = gevfit(x,
[0 1 0]); will still not converge, but now there is a warning that the
optimization didn't work.

Best, Nir

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47369>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]