Difference between revisions of "Prob HyperGeometric"

Line 1: Line 1:
[[category:Analytic Distribution Functions]]
+
[[Category: Analytic Distribution Functions]]
[[Category:Doc Status D]] <!-- For Lumina use, do not change -->
+
[[Category: Distribution Densities library functions]]
 +
[[Category: Doc Status D]] <!-- For Lumina use, do not change -->
  
 
== Prob_HyperGeometric(k, trials, posEvents, size) ==
 
== Prob_HyperGeometric(k, trials, posEvents, size) ==

Revision as of 20:52, 23 February 2016


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)

See Also

Comments


You are not allowed to post comments.