Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.5
-
None
-
None
Description
Class Median (package o.a.c.m.stat.descriptive.rank inherits several evaluate methods from Percentile where one of the arguments is the percentile value. That doesn't make sense, and easily allows for user bugs.
Either those inherited methods should be overridden by methods that throw a "forbidden" exception, or perhaps more correctly (but not backwards-compatible), the methods with a specific percentile argument should be made "static". The latter would also fix the same problem in the Percentile class itself.
Attachments
Issue Links
- relates to
-
STATISTICS-18 Port Percentile class from Commons-Maths
- Reopened