Skip to main content

hyperGNoise

hyperGNoise (m, n, k)

The hyperGNoise function returns a pseudo-random value from the hypergeometric distribution whose probability distribution function is

f(x;m,n,k)=(nx)(mnkx)(mk),f(x ; m, n, k)=\frac{\displaystyle \binom{n}{x}\binom{m-n}{k-x}}{\displaystyle \binom{m}{k}},

where m is the total number of items, n is the number of marked items, and k is the number of items in a sample.

The random number generator initializes using the system clock when Igor Pro starts. This almost guarantees that you will never repeat a sequence. For repeatable "random" numbers, use SetRandomSeed. The algorithm uses the Mersenne Twister random number generator.

See Also

SetRandomSeed, StatsHyperGPDF, StatsHyperGCDF, Noise Functions, Statistical Analysis