Skip to content

Skew normal distribution PPF incorrect for high skew #1120

Closed
@dschmitz89

Description

@dschmitz89

This showed up in SciPy: scipy/scipy#20124

Minimal Python reproducer:

from scipy.stats import skewnorm
skewnorm.ppf(0.01, 500)  # 500 = skewness parameter

RuntimeWarning: Error in function boost::math::quantile(const skew_normal_distribution<d>&, %1%): Unable to locate solution in a reasonable time: either there is no answer to quantile or the answer is infinite.  Current best guess is %1%
-> 4.833181656374989e+142

SciPy recently updated to Boost's develop branch at this commit, which did not solve this issue but only changed the error message to the one above.

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions