Hypergeometric Distributions

Calculating Probabilities

The Problem Statement

Let X be a random variable following a Hypergeometric distribution. All Hypergeometric distributions have three parameters: sample size, population size, and number of successes in the population. For this problem, let X be a sample of size 17 taken from a population of size 22, in which there are 10 successes. An example of where such a distribution may arise is the following:

Statistics, Inc., wants to determine how well the people like its candies. To determine this, they randomly select 17 people from its workforce of 22. (In this workforce, only 10 of those 22 actually like the candies.) Let X be the number of employees surveyed who like the candies.

From the description, we can tell that X has a Hypergeometric distribution. We know this because X is the number of successes in a finite population where subjects cannot be measured more than once.

For those who like pictures, here is a graphic of the probability mass function of X. Note that it has a negative skew (left skew), that its sample space is integers between 5 and 10, inclusive. In other words, S = {5, 6, 7, …, 10}.

The Probability Graphic

Here is the probability function of the Hypergeometric distribution described in the example:

0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 5 6 7 8 9 10

To Calculate

Continuing the candy example, let us determine the probability that exactly 9 people in the survey respond that they like the candies. In symbols, calculate P[X = 9].

Your Answer

In the box below, please enter the value of P[X = 9], where X ~ H(n=17, N=22, K=10), then click on the “Check your answer!” button. Please round your answer to the ten-thousandths place.

Assistance

Show Formula

Show Solution

Show the R Code

Show the Excel Formula

© Ole J. Forsberg, Ph.D. 2024. All rights reserved.   .