Statistics[Distributions]
Hypergeometric
hypergeometric distribution
Calling Sequence
Parameters
Description
Notes
Examples
References
Hypergeometric(M, X, m)
HypergeometricDistribution(M, X, m)
M
-
population size
X
number of successes in population
m
number of trials from population
The hypergeometric distribution is a discrete probability distribution with probability function given by:
f⁡t=0t<00X<tXt⁢M−Xm−tMmotherwise
subject to the following conditions:
0≤M,m≤M,X≤M,0≤m,0≤X,M::ℤ,X::ℤ,m::ℤ
The hypergeometric distribution is a consequence of a sequence of repeated trials (such as drawing balls from an urn) whereby items drawn are not replaced after each trial. In each trial, there is assumed to be a certain number of successes remaining that could be obtained. This distribution measures the probability of achieving a certain number of successes after all trials are complete.
Note that the Hypergeometric command is inert and should be used in combination with the RandomVariable command.
The Quantile and CDF functions applied to a hypergeometric distribution use a sequence of iterations in order to converge on the desired output point. The maximum number of iterations to perform is equal to 100 by default, but this value can be changed by setting the environment variable _EnvStatisticsIterations to the desired number of iterations.
with⁡Statistics:
X≔RandomVariable⁡Hypergeometric⁡5,z,m:
ProbabilityFunction⁡X,u
0u<00z<uzu⁢5−zm−u5motherwise
ProbabilityFunction⁡X,2
0z<2z2⁢5−zm−25motherwise
Mean⁡X
m⁢z5
Variance⁡X
m⁢z⁢1−z5⁢5−m20
Evans, Merran; Hastings, Nicholas; and Peacock, Brian. Statistical Distributions. 3rd ed. Hoboken: Wiley, 2000.
Johnson, Norman L.; Kotz, Samuel; and Balakrishnan, N. Continuous Univariate Distributions. 2nd ed. 2 vols. Hoboken: Wiley, 1995.
Stuart, Alan, and Ord, Keith. Kendall's Advanced Theory of Statistics. 6th ed. London: Edward Arnold, 1998. Vol. 1: Distribution Theory.
See Also
Statistics
Statistics[RandomVariable]
Download Help Document