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 (Updated) (JIRA)" <ji...@apache.org> on 2012/02/16 00:40:59 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.0)
                   3.1

It's not a bug and there is no patch: Postponed.

                
> 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.1
>
>
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira