Hypergeometric distribution

超几何分布

What is the hypergeometric distribution?

Drawing without replacement from a finite population; the count of a category is hypergeometric and the probabilities shift as items are removed.

SkillKP000865

Sign in to read the whole lesson, with 2 more worked examples, 4 exercises

Sign in / Sign up

Mastery goals

  • Can write the distribution of the number of defective items when n items are drawn without replacement from N items of which M are defective, and compute probabilities of related events
  • Can tell hypergeometric settings (without replacement) from binomial ones (with replacement)
  • Can state that the hypergeometric mean is nM/N, the same as for the matching binomial distribution, and that the hypergeometric distribution can be approximated by a binomial one when n is much smaller than N

7.4.2 The hypergeometric distribution

Problem Of products, are defective. items are drawn at random, once with replacement and once without replacement. Let be the number of defective items among the drawn. Find the distribution of the random variable .

We know that if the sampling is with replacement, the probability of drawing a defective item is every time and the results of the draws are mutually independent, so follows a binomial distribution, namely .

When sampling without replacement, although the probability of drawing a defective item is every time, the draws are not the same trial and their results are not independent. This does not fit the features of repeated Bernoulli trials, so does not follow a binomial distribution.

We can find the distribution of using the classical probability model. From the problem, the possible values of are . Drawing of the products, the sample space contains sample points, all equally likely. The number of outcomes in which exactly of the products are defective is . By the classical probability model, the distribution of is

The results of the calculation (to the nearest ) are shown in Table 7.4-1.

Table 7.4-1

In general, suppose a batch has products, of which are defective. Draw of the products at random (without replacement) and let be the number of defective items among the drawn. Then the distribution of is

where , , , and . If the distribution of a random variable has the form above, is said to follow the hypergeometric distribution.

Example 4

student representatives are chosen at random from students. Find the probability that student Jia is chosen.

Solution: Let be the number of students among the chosen who are Jia (it can only be or ). Then follows a hypergeometric distribution with , and . So the probability that Jia is chosen is

It is easy to see that every student has probability of being chosen. This conclusion is very intuitive, and here it has been derived rigorously.

Let the random variable follow a hypergeometric distribution. Then can be read as the number of defective items among products drawn at random without replacement from products containing defective ones. Let ; then is the defective rate of the products, and is the defective rate of the products drawn. We conjecture that , that is, .

In fact, let and . By the definition of the mean of a random variable:

when ,

Since ,

When , note that the first term of the sum in (1) is ; the result can be proved to hold in the same way.

Example 6 shows that, for the same error limit, the estimate from drawing without replacement is somewhat more reliable.

Under the two ways of drawing, the random variable follows a binomial distribution and a hypergeometric distribution respectively. Although the two distributions have the same mean (both are ), the probability distribution graphs of the two (Figure 7.4-4) show that the hypergeometric distribution is more concentrated near the mean.

xyO51015200.050.10.150.2
Figure 7.4-4 The horizontal axis is and the vertical axis is the probability . Filled dots are the probabilities of the binomial distribution and hollow dots the probabilities of the hypergeometric distribution (the two dots for the same are shifted slightly left and right).

Both the binomial distribution and the hypergeometric distribution can describe how the number of defective items among products drawn at random is distributed, and the two have the same mean. For sampling without replacement, when is much smaller than , each draw has very little effect on , and then the hypergeometric distribution can be approximated by a binomial distribution.

Related points

All points in this topic

Cite this page: Hypergeometric distribution · KnowledgeTree (知识树), https://www.knowledgetree.world/en/kp/KP000865