You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sean McCullough (JIRA)" <ji...@apache.org> on 2015/07/17 04:55:05 UTC

[jira] [Commented] (MATH-1159) Add quartiles to SummaryStatistics

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

Sean McCullough commented on MATH-1159:
---------------------------------------

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)