RandHyperGeometric Parameters

Top  Previous  Next

 

$p=RandHyperGeometric(select,total,success,number)

 

Generates number random hypergeometric trials.  RandHyperGeometric returns the number of successes when select selections are made, without replacement, from a total where success successes are present.

 

For example, five marbles are drawn, without replacement, from a bag of 10 marbles, six red and four green.  How many red marbles will be drawn?

 

You can simulate this problem thirty times using RandHyperGeometric(5,10,6,30) and you might generate the following data.

 

3, 2, 3, 4, 1, 4, 2, 3, 3, 3, 3, 3, 3, 5, 4, 4, 3, 3, 3, 3, 2, 3, 3, 3, 2, 3, 4, 2, 3, 3

 

A RandHyperGeometric parameter is regeneratable. Every time you regenerate, you will be provided with a fresh set of data.

 

A RandHyperGeometric parameter can be used for statistical calculations in the inline calculator.