Function Reference: hygeinv

statistics: p = hygeinv (x, t, m, n)

Inverse of the hypergeometric cumulative distribution function (iCDF).

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

This is the probability of obtaining 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: hygeinv