Geometric distribution
In probability theory and statistics, the geometric distribution is either one of two discrete probability distributions:
- The probability distribution of the number of Bernoulli trials needed to get one success, supported on the set ;
- The probability distribution of the number of failures before the first success, supported on the set .
Probability mass function | |||
Cumulative distribution function | |||
Parameters | success probability (real) | success probability (real) | |
---|---|---|---|
Support | k trials where | k failures where | |
PMF | |||
CDF |
for , for |
for , for | |
Mean | |||
Median |
|
| |
Mode | |||
Variance | |||
Skewness | |||
Ex. kurtosis | |||
Entropy | |||
MGF |
for |
for | |
CF | |||
PGF |
Which of these is called the geometric distribution is a matter of convention and convenience.
These two different geometric distributions should not be confused with each other. Often, the name shifted geometric distribution is adopted for the former one (distribution of ); however, to avoid ambiguity, it is considered wise to indicate which is intended, by mentioning the support explicitly.
The geometric distribution gives the probability that the first occurrence of success requires independent trials, each with success probability . If the probability of success on each trial is , then the probability that the -th trial is the first success is
for
The above form of the geometric distribution is used for modeling the number of trials up to and including the first success. By contrast, the following form of the geometric distribution is used for modeling the number of failures until the first success:
for
In either case, the sequence of probabilities is a geometric sequence.
For example, suppose an ordinary die is thrown repeatedly until the first time a "1" appears. The probability distribution of the number of times it is thrown is supported on the infinite set and is a geometric distribution with .
The geometric distribution is denoted by Geo(p) where .