Skip to content

HypergeometricDistribution

HypergeometricDistribution(n, s, t)

returns a hypergeometric distribution.

See:

Examples

The variance of the hypergeometric distribution is

>> Variance(HypergeometricDistribution(n, ns, nt))
(n*ns*(1-ns/nt)*(-n+nt))/((-1+nt)*nt)

CDF, Mean, Median, PDF, Quantile, StandardDeviation, Variance

Implementation status

  • ✅ - full supported

Github