commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz (JIRA)" <>
Subject [jira] [Commented] (MATH-672) EmpiricalDistribution(Impl) should implement the Distribution interface
Date Mon, 22 Oct 2012 14:22:12 GMT


Phil Steitz commented on MATH-672:

I have this coded, am just finishing tests.  I may be able to get it in for 3.1, if MATH-878
does not take me too long.  I am OK waiting on this one though if we are ready to roll 3.1
> EmpiricalDistribution(Impl) should implement the Distribution interface
> -----------------------------------------------------------------------
>                 Key: MATH-672
>                 URL:
>             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:

View raw message