Function Reference: hygecdf

statistics: p = hygecdf (x, t, m, n)
statistics: p = hygecdf (x, t, m, n, "upper")

Hypergeometric cumulative distribution function (CDF).

For each element of x, compute the cumulative distribution function (CDF) at x of the hypergeometric distribution with parameters t, k, and n. The size of p is the common size of the input arguments. A scalar input functions as a constant matrix of the same size as the other inputs.

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.

See also: hygeinv, hygepdf, hygernd, hygestat

Source Code: hygecdf