Main Content

Hypergeometric Distribution

Evaluate the hypergeometric distribution or its inverse, generate pseudorandom samples

Statistics and Machine Learning Toolbox™ offers multiple ways to work with the hypergeometric distribution.

  • Use distribution-specific functions with specified distribution parameters. The functions can accept parameters of multiple hypergeometric distributions.

  • Use the generic distribution functions with the specified distribution name "Hypergeometric" and corresponding parameters.

To learn about the hypergeometric distribution, see Hypergeometric Distribution.

Functions

expand all

hygecdfHypergeometric cumulative distribution function
hygepdfHypergeometric probability density function
hygeinvHypergeometric inverse cumulative distribution function
hygestatHypergeometric mean and variance
hygerndHypergeometric random numbers
randomRandom numbers
cdfCumulative distribution function
icdfInverse cumulative distribution function
pdfProbability density function
randomRandom numbers

Topics

  • Hypergeometric Distribution

    The hypergeometric distribution models the total number of successes in a fixed-size sample drawn without replacement from a finite population.