You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "WFR (Jira)" <ji...@apache.org> on 2019/11/19 08:12:00 UTC

[jira] [Created] (MATH-1503) cumulativeProbability of LevyDistribution returns NaN for values out of domain, while others return 0

WFR created MATH-1503:
-------------------------

             Summary: cumulativeProbability of LevyDistribution returns NaN for values out of domain, while others return 0
                 Key: MATH-1503
                 URL: https://issues.apache.org/jira/browse/MATH-1503
             Project: Commons Math
          Issue Type: Bug
    Affects Versions: 3.6.1
            Reporter: WFR


LevyDistribution.cumulativeProbability returns Double.NaN for values that are outside of its domain (x < mu in this case), while GammaDistribution returns 0.0 (for x <= 0). Both cases are hard-coded.{color:#ffc66d}
{color}

A consistent behaviour would be desirable.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)