Qu

hygepdf

Builtin index · Statistics & ML

result = hygepdf(k, M, K, N)

Input: k, M, K, N · Output: result

What it is

Probability mass of the hypergeometric distribution at k (a number, vector or matrix, elementwise); zero at a non-integer or out-of-support k. Support: successes in N draws without replacement from M items, K of them successes.

Overloads

One call shape — this function is not overloaded.

CodeInputOutputDescription
result = hygepdf(k, M, K, N)
k —zero at a non-integer or out-of-support k.
M —Support: successes in N draws without replacement from M items, K of them successes.
K —Support: successes in N draws without replacement from M items, K of them successes.
N —Support: successes in N draws without replacement from M items, K of them successes.
result —
Returns the same shape as k. Added in v0.4.4.

Examples

No documentation example calls this form yet. The Statistics & ML chapter is where one belongs.