Message329266
This issue (as originally proposed) should be closed. A key function for median() and mode() likely isn't a good idea. Those two functions should be kept parallel with mean() as returning simple descriptive statistics.
Work towards a select() function with a key function can be pursued in a separate tracker item. That would suffice to locate a specific record occurring at a median (or quartile or decile). FWIW, that is how MS Excel approaches the problem as well (using RANK with INDEX to locate a record by its sort position, leaving AVERAGE, MODE.SNGL, and MEDIAN for straight descriptive statistics). |
|
Date |
User |
Action |
Args |
2018-11-04 21:52:30 | rhettinger | set | recipients:
+ rhettinger, mark.dickinson, steven.daprano, godfryd, gerion |
2018-11-04 21:52:30 | rhettinger | set | messageid: <1541368350.2.0.788709270274.issue30999@psf.upfronthosting.co.za> |
2018-11-04 21:52:30 | rhettinger | link | issue30999 messages |
2018-11-04 21:52:30 | rhettinger | create | |
|