Grocer Function

NAME

hypg_pdf - hypergeometric probability distribution

CALLING SEQUENCE

[p]=hypg_pdf(k,n,K,N)

PARAMETERS

Input

Output

DESCRIPTION

Calculates the hypergeometric pdf function where the hypergeometric distribution corresponds to the probability of having k elements belonging to a class of size K in a random draw of n elements chosen among N.

EXAMPLE

p=hypg_pdf(5,15,20,30)

AUTHOR

Eric Dubois 2002