In probability theory and statistics, the geometric distribution is either one of two discrete probability distributions:
The probability distribution of the number X of Bernoulli trials needed to get one success, supported on ℕ={1,2,3,…}; The probability distribution of the number Y=X−1 of failures before the first success, supported on ℕ0={0,1,2,…}. These two different geometric distributions are slightly different. Often, the name shifted geometric distribution is adopted for the former one (distribution of X); however, to avoid ambiguity, the support can be mentioned explicitly. The geometric distribution gives the probability that the first occurrence of success requires k independent trials, each with success probability p. If the probability of success on each trial is p, then the probability that the k-th trial is the first success is Pr(X=k)=(1−p)k−1p for k=1,2,3,4,… 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: Pr(Y=k)=Pr(X=k+1)=(1−p)kp for k=0,1,2,3,… The geometric distribution gets its name because its probabilities follow a geometric sequence. It is sometimes called the Furry distribution after Wendell H. Furry.
Definition The geometric distribution is the discrete probability distribution that describes when the first success in an infinite sequence of independent and identically distributed Bernoulli trials occurs. Its probability mass function depends on its parameterization and support. When supported on ℕ, the probability mass function is P(X=k)=(1−p)k−1p where k=1,2,3,… is the number of trials and p is the probability of success in each trial. The support may also be ℕ0, defining Y=X−1. This alters the probability mass function into P(Y=k)=(1−p)kp where k=0,1,2,… is the number of failures before the first success. An alternative parameterization of the distribution gives the probability mass function P(Y=k)=(PQ)k(1−PQ) where P=1−pp and Q=1p. An example of a geometric distribution arises from rolling a six-sided die until a "1" appears. Each roll is independent with a 1/6 chance of success. The number of rolls needed follows a geometric distribution with p=1/6.
Properties
Memorylessness
The geometric distribution is the only memoryless discrete probability distribution. It is the discrete version of the same property found in the exponential distribution. The property asserts that the number of previously failed trials does not affect the number of future trials needed for a success. Because there are two definitions of the geometric distribution, there are also two definitions of memorylessness for discrete random variables. Expressed in terms of conditional probability, the two definitions are Pr(X>m+n∣X>n)=Pr(X>m), and Pr(Y>m+n∣Y≥n)=Pr(Y>m), where m and n are natural numbers, X is a geometrically distributed random variable defined over ℕ, and Y is a geometrically distributed random variable defined over ℕ0. Note that these definitions are not equivalent for discrete random variables; Y does not satisfy the first equation and X does not satisfy the second.
Moments and cumulants The expected value and variance of a geometrically distributed random variable X defined over ℕ is E(X)=1p,var(X)=1−pp2. With a geometrically distributed random variable Y defined over ℕ0, the expected value changes into E(Y)=1−pp, while the variance stays the same. For example, when rolling a six-sided die until landing on a "1", the average number of rolls needed is 11/6=6 and the average number of failures is 1−1/61/6=5. The moment generating function of the geometric distribution when defined over ℕ and ℕ0 respectively is MX(t)=pet1−(1−p)etMY(t)=p1−(1−p)et,t<−ln(1−p) The moments for the number of failures before the first success are given by E(Yn)=∑k=0∞(1−p)kp⋅kn=pLi−n(1−p)(for n≠0) where Li−n(1−p) is the polylogarithm function. The cumulant generating function of the geometric distribution defined over ℕ0 is K(t)=lnp−ln(1−(1−p)et)The cumulants κr satisfy the recursionκr+1=qδκrδq,r=1,2,…where q=1−p, when defined over ℕ0.
Proof of expected value Consider the expected value E(X) of X as above, i.e. the average number of trials until a success. The first trial either succeeds with probability p, or fails with probability 1−p. If it fails, the remaining mean number of trials until a success is identical to the original mean - this follows from the fact that all trials are independent. From this we get the formula: E(X)=p+(1−p)(1+E[X]), which, when solved for E(X), gives: E(X)=1p. The expected number of failures Y can be found from the linearity of expectation, E(Y)=E(X−1)=E(X)−1=1p−1=1−pp. It can also be shown in the following way: E(Y)=p∑k=0∞(1−p)kk=p(1−p)∑k=0∞(1−p)k−1k=p(1−p)(−∑k=0∞ddp[(1−p)k])=p(1−p)[ddp(−∑k=0∞(1−p)k)]=p(1−p)ddp(−1p)=1−pp. The interchange of summation and differentiation is justified by the fact that convergent power series converge uniformly on compact subsets of the set of points where they converge.
Summary statistics The mean of the geometric distribution is its expected value which is, as previously discussed in § Moments and cumulants, 1p or 1−pp when defined over ℕ or ℕ0 respectively. The median of the geometric distribution is ⌈−log2log(1−p)⌉when defined over ℕ and ⌊−log2log(1−p)⌋ when defined over ℕ0. The mode of the geometric distribution is the first value in the support set. This is 1 when defined over ℕ and 0 when defined over ℕ0. The skewness of the geometric distribution is 2−p1−p. The kurtosis of the geometric distribution is 9+p21−p. The excess kurtosis of a distribution is the difference between its kurtosis and the kurtosis of a normal distribution, 3. Therefore, the excess kurtosis of the geometric distribution is 6+p21−p. Since p21−p≥0, the excess kurtosis is always positive so the distribution is leptokurtic. In other words, the tail of a geometric distribution has more mass and decays slower than a Gaussian's.
Entropy and Fisher's information
… excerpt ends here. Continue reading the full article.


