Skip to content

DOC: error in the description of numpy.random.pareto #22701

@ViktorBezb

Description

@ViktorBezb

Issue with current documentation:

The 'Notes' part of the documentation on Pareto distribution is wrong. The density in both pages reads as $p(x) = \frac{am^a}{x^{a+1}}$, but this is obviously not even a density, because the function $p(x)$ is not integrable for $a>0$.

https://numpy.org/doc/stable/reference/random/generated/numpy.random.Generator.pareto.html#numpy.random.Generator.pareto

https://numpy.org/doc/stable/reference/random/generated/numpy.random.pareto.html

Idea or request for content:

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions