You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Phil Steitz (JIRA)" <ji...@apache.org> on 2015/03/09 03:40:38 UTC
[jira] [Resolved] (MATH-1208) EmpiricalDistribution
cumulativeProbability can return NaN when evaluated within a constant bin
[ https://issues.apache.org/jira/browse/MATH-1208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phil Steitz resolved MATH-1208.
-------------------------------
Resolution: Fixed
Fixed in
master: b148046add84f6c5bd19aeceb10c1a0fcf2e1283
3.x: d41364faa4f73fc885dcc9e99a838e8fa4c95998
Fix was to eliminate interpolation within bin for bins having constant kernel distributions assigned. For any x within a bin with constant kernel, cumulativeProbability(x) is now the sum of the bin masses below the bin containing x plus the full mass of the bin to which x belongs.
> EmpiricalDistribution cumulativeProbability can return NaN when evaluated within a constant bin
> -----------------------------------------------------------------------------------------------
>
> Key: MATH-1208
> URL: https://issues.apache.org/jira/browse/MATH-1208
> Project: Commons Math
> Issue Type: Bug
> Affects Versions: 3.4.1
> Reporter: Phil Steitz
> Fix For: 4.0, 3.5
>
>
> If x belongs to a bin with no variance or to which a ConstantRealDistribution kernel has been assigned, cumulativeProbability(x) can return NaN.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)