[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-patch-tracker] [patch #10331] mad.m: update function to use upda
From: |
Andreas Bertsatos |
Subject: |
[Octave-patch-tracker] [patch #10331] mad.m: update function to use updated mean/median and be matlab compatible |
Date: |
Mon, 10 Apr 2023 03:29:50 -0400 (EDT) |
Follow-up Comment #2, patch #10331 (project octave):
In MATLAB, mad treats NaNs as missing values! So the omitnan implementation
should not be available in mad, since mean and median use "includenan" as the
default. Furthermore, the mad implementation is used in other statistics
functions, eg isoutlier, as a moving function, and the extra overhead of
relying on mean/median functions makes them slower.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/patch/?10331>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/