-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Labels
defectA clear bug or issue that prevents SciPy from being installed or used as expectedA clear bug or issue that prevents SciPy from being installed or used as expectedgood first issueGood topic for first contributor pull requests, with a relatively straightforward solutionGood topic for first contributor pull requests, with a relatively straightforward solutionscipy.stats
Milestone
Description
.stats.hypergeom documentation states :
The probability mass function is defined as::
pmf(k, M, n, N) = choose(n, k) * choose(M - n, N - k) / choose(M, N),
for N - (M-n) <= k <= min(m,N)
In the boundaries for k, m is not defined.
It should be replaced by n, as the number k of drawn Type I objects cannot exceed the total number of Type I objects (as well as N, the number of draws).
Metadata
Metadata
Assignees
Labels
defectA clear bug or issue that prevents SciPy from being installed or used as expectedA clear bug or issue that prevents SciPy from being installed or used as expectedgood first issueGood topic for first contributor pull requests, with a relatively straightforward solutionGood topic for first contributor pull requests, with a relatively straightforward solutionscipy.stats