Stixbox Function
Last update : 21/4/2006
phypg - The hypergeometric cumulative probability function
Calling Sequence
- p = phypg(k,n,K,N)
Parameters
-
k : integers (scalar, vector or matrix)
-
n,K,N : nonnegative integers such that n<= N and K<= N
-
N : is the total number of elements of the population
-
n : is the number of elements which are randomly extracted
-
K : is the number of elements of the population which have the studied property
-
p : matrix
Description
The hypergeometric cumulative probability function.
For each k, p is the probability Prob(X<=k) where X is an
hypergeometric random variable with parameters n,K,N