: hygecdf (x, t, m, n)

Compute the cumulative distribution function (CDF) at x of the hypergeometric distribution with parameters t, m, and n.

This is the probability of obtaining not more than x marked items when randomly drawing a sample of size n without replacement from a population of total size t containing m marked items.

The parameters t, m, and n must be positive integers with m and n not greater than t.

Package: statistics