HypergeometricDistribution
The hypergeometric distribution: draws without replacement from a population of with successes.
HypergeometricDistribution(n, nsucc, ntotal)an inert distribution object — carries , unevaluated.Typed signatures
| Type | Package | Applies |
|---|---|---|
(real<0..>, real<0..>, real<0..>) -> distribution | statistics | always |
Details
- , exact.
- , an exact FINITE sum (not a closed form) — only answers when resolves to a concrete integer, otherwise stays unevaluated rather than build an unbounded symbolic Sum.
- , , both exact.
- RandomVariate samples via sequential without-replacement Bernoulli draws (exact, not an approximation).
Examples
About
| Examples | 4 |
|---|
See also: BinomialDistribution, PDF