WNChygeinv computes the inverse of the Wallenius non central hypergeometric cumulative distribution function (cdf)
x=WNChygeinv(p,M,K,n,odds)
example
Fog, A. (2008), Calculation Methods for Wallenius' Noncentral Hypergeometric Distribution, "Communications in Statistics - Simulation and Computation", Vol. 37, pp. 258-273.