Binomial Approximation to a Hypergeometric Random Variable

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

If balls are sampled from a bin containing balls of which are marked, then the distribution of the number of marked balls in the sample depends on whether the sampling is done with or without replacement.

[more]

If the sampling is done with replacement, the number of marked balls is a binomial random variable, while if the sampling is done without replacement, then this quantity is a hypergeometric random variable. However, if the number of balls sampled is small relative to the number of balls in the bin, it makes little difference how the sampling is done.

The probability histogram for the binomial random variable is colored orange, and the hypergeometric random variable is blue. A measure of agreement between the two is obtained by computing the purple area—100% would represent complete agreement between the two distributions.

[less]

Contributed by: Chris Boucher (March 2011)
Open content licensed under CC BY-NC-SA


Snapshots


Details

detailSectionParagraph


Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.
Send