# Page History

## Key

• This line was removed.
• Formatting was changed.

...

InvHypergeo(s,D,M) - no Crystal ball distribution

Inverse hypergeometric equations

The Inverse Hypergeometric distribution InvHypergeo(s,D,M) models the total number of trials one would have before achieving the sth success in a hypergeometric sampling where there are D individuals of interest (their selection is a 'success') in a population of size M. Four examples of the Inverse Hypergeometric distribution are shown below:

#### Uses

It should be used in any situation where there is hypergeometric sampling and one is asking the question: "How many samples will I need to get s successes?", or alternatively (if you subtract the number of success s) "How many failures will I see before I observe s successes?".

##### Example

The number of cards one needs to turn over to see three hearts will be Inverse Hypergeometric distributed. If the total number of cards is 54, of which 13 are hearts, the number of cards one needs to turn over is InvHypergeo(3,13,54).

#### Generation

The Inverse Hypergeometric distribution is not directly available with Crystal Ball, but can be easily constructed via the Discrete distribution as shown in the spreadsheet Image Removed Image AddedHyperGeoTrials. This model allows one to maintain the advantages of Latin Hypercube sampling.