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

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

[Octave-bug-tracker] [bug #59410] [octave forge] (statistics) geomean wi


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #59410] [octave forge] (statistics) geomean with NaN
Date: Fri, 13 Nov 2020 08:56:33 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36 Edg/86.0.622.63

Follow-up Comment #5, bug #59410 (project octave):

Thanks for testing.
I understand that this is a change in behavior. But reading their
documentation, it looks like this is compatible behavior (at least for
`geomean`).
I don't have access to the statistics toolbox in Matlab. So it would be nice
if someone could verify that this is the case.

The 'g' switch is an Octave extension to the `mean` function. There are
arguments in favor of and against failing on NaN input. But I'd argue that if
mean without the 'g' switch doesn't fail for NaN input, it shouldn't fail with
the 'g' switch either...

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59410>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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