Binomial Approximation to a Hypergeometric Random Variable

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.
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.
comments
 
Powered by Wolfram Mathematica
Give us your feedback
Give us your feedback

Source page:




 often  occasionally  never

Note: Please do not include anything you consider confidential or proprietary. Your message and contact information may be shared with the author of any specific Demonstration for which you give feedback, but will not otherwise be published or distributed.
Privacy Policy »

Note: To run this Demonstration you need the free
Mathematica Player
or Mathematica 7+
Download or upgrade to Mathematica Player 7
I already have Mathematica Player or Mathematica 7+