This post introduces a few of the most commonly encountered families of probability distributions: the Poisson, which models rates, and the geometric distribution, which models waiting times for discrete stochastic processes and the exponential, which is a continuous analogue of the geometric relating closely to the Poisson family.
This is a prototype post on probability distributions that I hope to expand in future. It aims to cover the relationships between the distributions most commonly encountered in undergraduate statistics courses and that are very commonly employed for social and life science applications. For now, it contains a discussion of the Poisson, geometric and exponential families of distributions. The content and layout of this post may change as it is updated.
The Poisson Family
The following discusses the Poisson distribution, which models rates of independent variables in time and space.
The Poisson is the Binomial as n tends to infinity
The Poisson distribution is the binomial when n tends to infinity, n→∞, for np fixed, np=λ (i.e. also as p→0).
Define λ=np
We have Y∼Binom(n,p) when:
p(Y=y)=(kn)⋅pk⋅(1−p)n−k
and Y∼Pois(n,p) when:
p(Y=y)=y!e−λ⋅λy
This has the straightforward interpretation of being the case when the number of trials is large e.g. radioisotope decay can be modelled as Poisson distributed because even a small quantity of a metal contains a very large number of atoms.
From λ=np we have that p=nλ. Substitute nλ into the binomial density function and let n→∞:
n→∞lim(kn)⋅(nλ)k⋅(1−nλ)n−k=n→∞limk!(n−k)!n!⋅(nλ)k⋅(1−nλ)n−k=k!1⋅λkn→∞lim(n−k)!n!⋅nk1⋅(1−nλ)n−k=k!1⋅λkn→∞lim(n−k)!n!⋅nk1⋅(1−nλ)n⋅(1−nλ)−kexpand combinatorial termremove constant termsseparate index of 1−nλ
We can consider this expression within the limit in three component parts:
Looking at the first component, we can expand the factorials in the numerator and denominator whilst simultaneously keeping in mind that there are k divisions by n:
n→∞lim(n−k)!n!⋅nk1=n→∞lim(n−k)⋅(n−k−1)⋅⋯⋅2⋅1n⋅(n−1)⋅⋯⋅2⋅1⋅nk1=n→∞limnkn⋅(n−1)⋅⋯⋅(n−(k−2))⋅(n−(k−1))=n→∞limnn⋅n(n−1)⋅⋯⋅n(n−(k−2))⋅n(n−(k−1))=1⋅1⋅⋯⋅1⋅1=1k terms canceln is in the top and bottom of each
Now turning to the second term:
n→∞lim(1−nλ)n
Recall the definition of e is:
e=x→∞lim(1+x1)x
Set x=−λn, which is also equal to −p1. Substitute this into the definition of e:
We have arrived at the familiar formula for the Poisson density from earlier.
The Geometric Distribution
The Geometric Distribution describes the number of trials you wait for a success
The geometric distribution (the number of Bernoulli trials you wait for a success) is a discrete precursor to the exponential. Its variance is derived using the derivative of the sum of a geometric series.
For binomially distributed random variables, the number of trials until the first success is distributed:
The geometric distribution is memoryless, in the sense that
P(Y>n+k∣Y>k)=P(Y>n)
This can be interpreted as saying that irrespective of the past and past failures, you always have as long to wait in expectation as if you had just started. It is a simple consequence of the independence of the Bernoulli trials.
Derivation of the Variance of a Geometrically Distributed Random Variable
Prerequisites
As prerequisites, we have that the sum of a geometric series is:
g(r)=k=0∑∞ark=a+ar+ar2+ar3+⋯=1−ra=a(1−r)−1
and consequently the first derivative with respect to r is:
Var(Y)Var(Y)Var(Y)=E(Y2)−E(Y)2=E(Y2)−E(Y)+E(Y)−E(Y)2=E(Y(Y−1))+E(Y)−E(Y)add −E(Y)+E(Y)Expectation linear operator
Focusing just on the first term, E(Y(Y−1)), we have
E(Y(Y−1))=y=1∑∞p⋅(1−p)y−1⋅y⋅(y−1)pull out (1−p)
This resembles the right hand side of the first derivative sum, s=(1−r)32a, with a=p⋅(1−p) and r=1−p, which gives as an alternative expression for this first term
(1−(1−p))32p(1−p)=p32p(1−p)=p22(1−p)
Putting this back as the first term into the expression for the variance gives
This yields the expression for the variance of the geometric distribution, σ2=p21−p.
The Exponential Distribution
The following discusses the Exponential Distribution, which models the waiting times between Poisson-distributed events and is a continuous analogue of the geometric.
The Exponential Distribution from the Poisson
The exponential distribution describes the probability distribution of time, t, waited for the first occurrence of a Poisson-distributed event, Y∼Pois(λ).
(The fact that t models the time until the first event makes the exponential a special case of the Gamma distribution with k=1. In other words, the exponential family of distributions is a proper subset of the gamma family of distributions.)
Derivation given a Poisson process
In the waiting period, no events occur making P(Y=0) a definition of the probability of waiting time being equal to 1 time unit and since the Poisson assumes independently distributed events, we can multiply this t times to yield a probability distribution of waiting times over time.
Given Y∼Pois(λ)
P(Y=y)=y!e−λ⋅λy
For P(Y=0) we have
P(Y=0)=0!e−λ⋅λ0=e−λ
The probability of t of these waiting times occurring consecutively is t such terms11 Though crucially, more than t such waiting times could occur so this is a lower bound according to the underlying Poisson model.
(e−λ)t=e−λ⋅t
We interpret this as the probability of the waiting time being at least duration t
P(T≥t)=e−λ⋅t
Accordingly, the exponential distribution function (CDF) is given by the complement to one
P(T≤t)=1−e−λ⋅t
Probability distribution function
We are required to differentiate this to give the probability distribution function (PDF).
Taking 1−e−λ⋅t and setting u=−λ⋅t
1−eu;u=−λ⋅tdud=−eu;dtdu=−λ;dtd=λ⋅e−λ⋅t
This yields the expression for the probability distribution of the exponential from the Poisson
P(T=t)=λ⋅e−λ⋅t
Footnotes
Though crucially, more than t such waiting times could occur so this is a lower bound according to the underlying Poisson model. ↩