[ https://issues.apache.org/jira/browse/MATH-672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phil Steitz resolved MATH-672. ------------------------------ Resolution: Fixed Sorry. Forgot to resolve this when the fix was committed (r1420000) and changes.xml was updated to reflect it. > 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