Hypergeometric Inverse CDF
x = distfun_hygeinv(p,M,k,N) x = distfun_hygeinv(p,M,k,N,lowertail)
a matrix of doubles, the probability. Must be in the range [0,1].
a matrix of doubles, the total size of the population. M belongs to the set {0,1,2,3........}
a matrix of doubles, the number of success states in the population. k belongs to the set {0,1,2,3,.......M-1,M}
a matrix of doubles, the total number of draws in the experiment. N belongs to the set {0,1,2,3.......M-1,M}
a 1-by-1 matrix of booleans, the tail (default lowertail=%t). If lowertail is true (the default), then considers P(X<=x) otherwise P(X>x).
a matrix of doubles, the number of successful draws in the experiment. x belongs to the set [0,min(k,N)]
Computes the Inverse cumulative distribution function of the Hypergeometric distribution function.
Any scalar input argument is expanded to a matrix of doubles of the same size as the other input arguments.
http://en.wikipedia.org/wiki/Hypergeometric_distribution