You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles (JIRA)" <ji...@apache.org> on 2012/10/22 15:42:12 UTC

[jira] [Updated] (MATH-672) EmpiricalDistribution(Impl) should implement the Distribution interface

     [ https://issues.apache.org/jira/browse/MATH-672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gilles updated MATH-672:
------------------------

    Fix Version/s:     (was: 3.1)
                   3.2
    
> EmpiricalDistribution(Impl) should implement the Distribution interface
> -----------------------------------------------------------------------
>
>                 Key: MATH-672
>                 URL: https://issues.apache.org/jira/browse/MATH-672
>             Project: Commons Math
>          Issue Type: Improvement
>    Affects Versions: 2.2
>            Reporter: Phil Steitz
>             Fix For: 3.2
>
>
> To compute cumulative probability at a point x
> if no data have been loaded, throw IllegalStateException
> if x is below the global min, return 0
> if x is above the global max, return 1
> otherwise find the bin that x belongs to, sum the probabilities of the bins below x's bin and use the configured kernel to compute how much of the containing bin's mass should be added the total

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira