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 FileAdd Library... to add this library

See Also

Comments


You are not allowed to post comments.