commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean McCullough (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (MATH-1159) Add quartiles to SummaryStatistics
Date Fri, 17 Jul 2015 05:01:05 GMT

    [ https://issues.apache.org/jira/browse/MATH-1159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14630693#comment-14630693
] 

Sean McCullough edited comment on MATH-1159 at 7/17/15 5:00 AM:
----------------------------------------------------------------

https://github.com/apache/commons-math/pull/10

-Added additional constructor to SummaryStatistics so user can specific which percentiles
they would like to track.

-Added TreeMap to hold PSquarePercentile's.  TreeMap so toString() renders percentiles in
accenting order.

-PSquarePercentile's are updated and cleared according to existing methods.

-Existing clear() method resets PSquarePercentile's

-new clear(double[]) calls old clear() and creates new PSquarePercentile's

I think Otmar's suggestion would be more effective, but I didn't want to refactor PSquarePercentile
to have additional markers.


was (Author: seansmccullough):
https://github.com/apache/commons-math/pull/10

-Added additional constructor to SummaryStatistics so user can specific which percentiles
they would like to track.
-Added TreeMap to hold PSquarePercentile's.  TreeMap so toString() renders percentiles in
accenting order.
-PSquarePercentile's are updated and cleared according to existing methods.

I think Otmar's suggestion would be more effective, but I didn't want to refactor PSquarePercentile
to have additional markers.

> Add quartiles to SummaryStatistics
> ----------------------------------
>
>                 Key: MATH-1159
>                 URL: https://issues.apache.org/jira/browse/MATH-1159
>             Project: Commons Math
>          Issue Type: Improvement
>    Affects Versions: 3.3
>            Reporter: Phil Steitz
>
> Using PSquarePercentile, we can add quartile computation to SummaryStatistics.  Since
maintaining quartiles will add some overhead, implementation should allow the feature to be
turned off via some kind of constructor flag.  This does open the can of worms regarding turning
on / off other stats, which is probably a good thing to think about as the implementation
of this feature is developed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message