avg works fine with a list of lists, but med silently fails. Is itsupposed to handle that case? If not, it would be nice if it threw a’rank error like dev and var do.q)d:0N 2#10000?1fq)med d / 2nd value is wrong0.51032904 0.35386276q)med each flip d / correct values0.51032904 0.49896298q)avg d / both are correct0.50615626 0.49628494q)avg each flip d0.50615626 0.49628494
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Problem calculating median | 2 | 0 | June 29, 2012 | |
subtleties of select expressions | 2 | 0 | May 10, 2017 | |
wavg implementation detail | 3 | 0 | October 1, 2021 | |
wavg implementation detail | 5 | 0 | October 1, 2021 | |
Median vs. Average | 4 | 0 | November 11, 2014 |