**Public Function HyperGeometricRandom( _
ByVal vNumSmp As Variant _
, ByVal vPopSuc As Variant _
, ByVal vNumPop As Variant _
) As Variant**

**Random Number with Hypergeometric Distribution **

**See also:** HyperGeometricRandomTest Subroutine
HyperGeometricInverse Function
HyperGeometricCDF Function
Declarations Topic

**vNumSmp:** Size of the sample. Number is truncated to the nearest integer. Function returns Null if vNumSmp is less than one (<1) or greater than vNumPop.

**vPopSuc:** Number of successes in the population. Number is truncated to the nearest integer. Function returns Null if vPopSuc is less than one (<1) or greater than vNumPop.

**vNumPop:** Size of the population. Number is truncated to the nearest integer. Function returns Null if vNumPop is less than one (<1) or greater than either vNumSmp or vPopSuc. Copyright 1996-1999 Entisoft

Entisoft Tools is a trademark of Entisoft.