SampleSuccessCount
The number of successes in the sample.
SampleSize
The size of the sample.
PopulationSuccessCount
The number of successes in the population.
PopulationSize
The population size.
IsCumulative
TRUE to return the probability that a value is at most the value of the SampleSuccessCount parameter (the cumulative distribution function). FALSE to return the probability of exactly that value (the probability mass function).
Returns
A value for a hypergeometric distribution.
Returns a probability for the hypergeometric distribution. This distribution models drawing items from a finite population without replacement, unlike the binomial distribution which assumes replacement (or equivalently, independent trials).
Example
Returns roughly 0.0815. Consider a standard deck of 52 cards containing 13 hearts. If you draw 5 cards without replacement, the probability of getting exactly 3 hearts is roughly 8.15%.