Hypergeometric distribution

from Wikipedia, the free encyclopedia
Probability function of the hypergeometric distribution for .Red: ; blue: ; Green: .

The hypergeometric distribution is a probability distribution in stochastics . It is univariate and is one of the discrete probability distributions . In contrast to the general hypergeometric distribution , it is also called the classic hypergeometric distribution .

Elements are randomly taken from a dichotomous population in a sample without replacement . The hypergeometric distribution then provides information about the probability with which a certain number of elements will occur in the sample that have the desired property. This distribution is therefore important in quality controls, for example .

The hypergeometric distribution is modeled on the urn model without replacement (see also variation without repetition ). In this context, an urn with two kinds of balls is specifically considered. Balls are removed without replacing. The random variable is the number of balls of the first kind in this sample.

The hypergeometric distribution thus describes the probability that for given elements ("population of the circumference "), which have the desired property, exactly hits will be achieved when selecting specimens ("sample of the circumference ") . H. the probability of success in experiments.

Example 1: There are 30 balls in an urn, 20 of which are blue, so 10 are not blue. What is the probability p of drawing exactly thirteen blue balls from a sample of twenty balls (without replacing)? Answer: p = 0.3096. This corresponds to the blue bar at k = 13 in the diagram "Probability function of the hypergeometric distribution for n = 20".

Example 2: There are 45 balls in an urn, 20 of which are yellow. What is the probability p of drawing exactly four yellow balls from a sample of ten balls? Answer: p = 0.269. The example is calculated below .

definition

The hypergeometric distribution depends on three parameters:

  • the number of elements in a population .
  • the number of elements with a certain property in this basic set (the number of possible successes).
  • the number of elements in a sample.

The distribution now provides information on how likely it is that elements with the property to be checked (successes or hits) are in the sample. The result space is therefore .

A discrete random variable is subject to the hypergeometric distribution with the parameters , and , if they are the probabilities

for owns. The binomial coefficient denotes " over ". Then you write or .

The distribution function then indicates the probability that at most elements with the property to be tested are in the sample. This cumulative probability is the sum

.

Alternative parameterization

Occasionally it is also called a probability function

used. This goes over with and into the above variant.

Properties of the hypergeometric distribution

Symmetries

The following symmetries apply:

  • Interchanging drawn balls and successes:
  • Swap successes and failures:

Expected value

The expected value of the hypergeometrically distributed random variable is

.

mode

The mode of hypergeometric distribution is

.

Here is the Gaussian bracket .

Variance

The variance of the hypergeometrically distributed random variable is

,

The last fraction is the so-called correction factor ( finiteness correction ) in the model without replacement.

Crookedness

The skewness of the hypergeometric distribution is

.

Characteristic function

The characteristic function has the following form:

Where denotes the Gaussian hypergeometric function .

Moment generating function

The torque generating function can also be expressed using the hypergeometric function:

Probability generating function

The probability generating function is given as

Relationship to other distributions

Relationship to the binomial distribution

In contrast to the binomial distribution , with the hypergeometric distribution the samples are not returned to the reservoir for further selection. If the size of the sample is relatively small (roughly ) compared to the size of the population , the probabilities calculated by the binomial distribution and the hypergeometric distribution do not differ significantly from one another. In these cases, the approximation is often carried out using the binomial distribution, which is mathematically easier to handle.

Relationship to the Pólya distribution

The hypergeometric distribution is a special case of the Pólya distribution (choose ).

Relationship to the urn model

The hypergeometric distribution arises from the discrete uniform distribution through the urn model . From an urn with a total of balls are colored and balls are drawn. The hypergeometric distribution indicates the probability that colored balls will be drawn. Otherwise, the binomial distribution can also be used for modeling in practice. See also the example.

Relationship to the multivariate hypergeometric distribution

The multivariate hypergeometric distribution is a generalization of the hypergeometric distribution. It answers the question about the number of balls of one color drawn from an urn if the urn contains more than two different colors of balls. For two colors it agrees with the hypergeometric distribution.

Examples

Various examples

There are 45 balls in a container, 20 of which are yellow. 10 balls are removed without replacing.

The hypergeometric distribution indicates the probability that exactly x = 0, 1, 2, 3, ..., 10 of the balls removed are yellow.

An example of the practical application of hypergeometric distribution is the lottery : In the number lottery there are 49 numbered balls; 6 of these will be drawn at the draw; 6 numbers are crossed on the lottery ticket.

indicates the probability of achieving exactly x = 0, 1, 2, 3, ..., 6 "hits".

Detailed calculation example for the balls

colored balls

For the example of the colored balls given above, the probability is to be determined that exactly 4 yellow balls result.

Total number of balls
Number with the property "yellow"
Sample size
Aimed for yellow

So .

The probability results from:

Number of possibilities to choose exactly 4 yellow (and therefore exactly 6 purple) balls
divided by
Number of ways to choose exactly 10 balls of any color

There are

Ways to pick exactly 4 yellow balls.

There are

Ways to pick exactly 6 purple balls.

Since every “yellow possibility” can be combined with every “violet possibility”, this results

Possibilities for exactly 4 yellow and 6 purple balls.

There are altogether

Ways to draw 10 balls.

So we get the probability

,

that is, in around 27 percent of cases, exactly 4 yellow (and 6 purple) balls are removed.

Alternatively, the result can also be found using the following equation

There are 4 yellow balls in the sample . The remaining yellow balls (16) are in the 35 remaining balls that do not belong to the sample.

Numerical values ​​for the examples

h (x | 45; 20; 10)
x Number of possible
results
Probability
in%
0 3,268,760 0.1024
1 40,859,500 1.2807
2 205.499.250 6.4416
3 547,998,000 17.1776
4th 858.049.500 26.8965
5 823.727.520 25.8207
6th 490.314.000 15.3694
7th 178,296,000 5.5889
8th 37,791,000 1.1846
9 4,199,000 0.1316
10 184,756 0.0058
3.190.187.286 100.0000
Expected value 4.4444
Variance 1.9641
h (x | 45; 10; 20)
x Number of possible
results
Probability
in%
0 3,247,943,160 0.1024
1 40.599.289.500 1.2808
2 204.190.544.250 6.4416
3 544,508,118,000 17.1776
4th 852.585.079.500 26.8965
5 818.481.676.320 25.8207
6th 487.191.474.000 15.3694
7th 177.160.536.000 5.5889
8th 37,550,331,000 1.1846
9 4,172,259,000 0.1316
10 183.579.396 0.0058
11… 20 0 0
3,169,870,830,126 100.0000
Expected value 4.4444
Variance 1.9641
h (x | 49; 6; 6)
x Number of possible
results
Probability
in%
0 6.096.454 43.5965
1 5,775,588 41.3019
2 1,851,150 13.2378
3 246.820 1.765
4th 13,545 0.0969
5 258 0.0018
6th 1 0.0000072
13,983,816 100.0000
Expected value 0.7347
Variance 0.5776

Web links

Wikibooks: Hypergeometric Distribution  - Learning and Teaching Materials

Individual evidence

  1. ^ Hans-Otto Georgii: Stochastics . Introduction to probability theory and statistics. 4th edition. Walter de Gruyter, Berlin 2009, ISBN 978-3-11-021526-7 , p. 36 , doi : 10.1515 / 9783110215274 .