Hypergeometric Distribution

These functions give you access to the hypergeometric distribution. For more information about Fathom's distribution functions, click here.

hyperGeomProbability(c, N, S, n)

hyperGeomCumulative(c, N, S, n)

hyperGeomQuantile(c, N, S, n)

 N = population size
S
= number of successes in the popuplation
n
= sample size

The probability, cumulative, and quantile functions for the hypergeometric distribution. This is the distribution of number of successes in a sample of size n when you draw without replacement from a population of size N which has S successes in it.

You may also draw random values from this distribution:

randomHyperGeom(N, S, n)

A random value drawn from that distribution.

 

This illustration compares the hypergeometric to the related binomial distribution (in which we sample with replacement).

See also statistical functions (for mean( ) and its cousins).