represents a hypergeometric distribution.
- A hypergeometric distribution gives the distribution of the number of successes in n draws from a population of size containing successes.
- HypergeometricDistribution allows n, , and to be any integers such that , and .
- HypergeometricDistribution can be used with such functions as Mean, CDF, and RandomVariate. »
- HypergeometricDistribution[n,nsucc,ntot] represents a discrete statistical distribution defined for integer values contained in and determined by the integer parameters n, , and that satisfy and and that represent the number of draws of the experiment, the number of successes within that population, and the size of the population drawn from, respectively. The hypergeometric distribution has a probability distribution function (PDF) that is discrete and unimodal. The distribution is sometimes also referred to as the central or classic hypergeometric distribution to differentiate it from the related and qualitatively-similar distributions of Wallenius (WalleniusHypergeometricDistribution) and Fisher (FisherHypergeometricDistribution).
- The hypergeometric distribution gives the distribution of the number of successes in n draws (without replacement) from a population of size containing successes and can be visualized as an urn model whereby n balls are drawn without replacement from an urn containing blue balls and green balls. The hypergeometric distribution dates back to the 1710s work of de Moivre, who obtained it as a solution to an urn problem proposed even earlier by Huygens and related to the urn problem described above. The name of the hypergeometric distribution derives from the fact that its PDF can be expressed in terms of the generalized hypergeometric function (Hypergeometric2F1), and the distribution itself is used to model a number of quantities across various fields. In particular, the hypergeometric distribution has been used as a tool in the study of queueing models, manufacturing systems, population dynamics, contingency table analysis, and quantum cryptography.
- RandomVariate can be used to give one or more machine- or arbitrary-precision (the latter via the WorkingPrecision option) pseudorandom variates from a hypergeometric distribution. Distributed[x,HypergeometricDistribution[n,nsucc,ntot]], written more concisely as , can be used to assert that a random variable x is distributed according to a hypergeometric distribution. Such an assertion can then be used in functions such as Probability, NProbability, Expectation, and NExpectation.
- The probability distribution and cumulative density functions may be given using PDF[HypergeometricDistribution[n,nsucc,ntot],x] and CDF[HypergeometricDistribution[n,nsucc,ntot],x], though one should note that there is no closed-form expression for its PDF. The mean, median, variance, raw moments, and central moments may be computed using Mean, Median, Variance, Moment, and CentralMoment, respectively. These quantities can be visualized using DiscretePlot.
- DistributionFitTest can be used to test if a given dataset is consistent with a hypergeometric distribution, EstimatedDistribution to estimate a hypergeometric parametric distribution from given data, and FindDistributionParameters to fit data to a hypergeometric distribution. ProbabilityPlot can be used to generate a plot of the CDF of given data against the CDF of a symbolic hypergeometric distribution and QuantilePlot to generate a plot of the quantiles of given data against the quantiles of a symbolic hypergeometric distribution.
- TransformedDistribution can be used to represent a transformed hypergeometric distribution, CensoredDistribution to represent the distribution of values censored between upper and lower values, and TruncatedDistribution to represent the distribution of values truncated between upper and lower values. CopulaDistribution can be used to build higher-dimensional distributions that contain a hypergeometric distribution, and ProductDistribution can be used to compute a joint distribution with independent component distributions involving hypergeometric distributions.
- HypergeometricDistribution is related to a number of other statistical distributions. For example, HypergeometricDistribution is generalized by both FisherHypergeometricDistribution and WalleniusHypergeometricDistribution in the sense that HypergeometricDistribution[n,nsucc,ntot] has the same PDF as both FisherHypergeometricDistribution[n,nsucc,ntot,1] and WalleniusHypergeometricDistribution[n,nsucc,ntot,1]. As , HypergeometricDistribution limits to BinomialDistribution, and MultivariateHypergeometricDistribution is an obvious higher-dimensional generalization of HypergeometricDistribution. HypergeometricDistribution is also related to GeometricDistribution, NormalDistribution, PoissonDistribution, PearsonDistribution, BetaBinomialDistribution, and NegativeHypergeometricDistribution.
Introduced in 2007