Prob HyperGeometric
Prob_HyperGeometric(k, trials, posEvents, size)
Analytically computes the probability that a sample drawn from a HyperGeometric(trials, posEvents, size) distribution is equal to «k».
Example
Suppose 20 out of 30 balls in a basket are red, and you draw 10 balls at random without replacement. Then the probability of drawing exactly 7 red balls is given by:
Prob_HyperGeometric(7, 10, 20, 30) → 0.3096
Library
Distribution Densities Library (Distribution Densities.ana)
- Use File → Add Library... to add this library
See Also
Comments
Enable comment auto-refresher