Unlike some other distributions (negative binomial), Stata does not seem to have a function for negative hyper-geometric distribution. This is the the built-in function for hyper-geometric distribution: p = hypergeometric(N, K, n, k).
Does anyone know if there is a user written program or any other way of getting the cumulative probability values for a negative hyper-geometric distribution? Thanks for any help or guidance you can provide.