Wikipedia / Poisson distribution
Wikipedia / Poisson distribution
In probability theory and statistics, the Poisson distribution () is a discrete probability distribution that expresses the probability of a given number of events occurring in a fixed interval of time if these events occur with a known constant mean rate and independently of the time since the last event. It can also be used for the number of events in other types of intervals than time, and in dimension greater than1 (e.g., number of events in a given area or volume). The Poisson distribution is named after French mathematician Siméon Denis Poisson. It plays an important role for discrete-stable distributions.
Under a Poisson distribution with the expectation of events in a given interval, the probability of events in the same interval is: For instance, consider a call center which receives an average of calls per minute at all times of day. If the number of calls received in any two given disjoint time intervals is independent, then the number of calls received during any minute has a Poisson probability distribution. Receiving calls then has a probability of about0.77, while receiving0 or at least5 calls has a probability of about0.23.
A classic example used to motivate the Poisson distribution is the number of radioactive decay events during a fixed observation period.
History
The introduction of the Poisson distribution is credited to French mathematician and physicist Siméon Denis Poisson (1781–1840), who published it together with his probability theory in Recherches sur la probabilité des jugements en matière criminelle et en matière civile(1837). This work theorizes about the number of wrongful convictions in a given country by focusing on certain random variables that count the number of events that take place during a time interval of given length. However, similar results had already been given in1711 by Abraham de Moivre in De Mensura Sortis seu; de Probabilitate Eventuum in Ludis a Casu Fortuito Pendentibus . This makes it an example of Stigler's law and it has prompted some authors to argue that the Poisson distribution should bear the name of de Moivre.
In1860, Simon Newcomb fitted the Poisson distribution to the number of stars found in a unit of space. A further practical application was made by Ladislaus Bortkiewicz in1898. Bortkiewicz showed that the frequency with which soldiers in the Prussian army were accidentally killed by horse kicks could be well modeled by a Poisson distribution..
Definitions
Probability mass function
A discrete random variable if it has a probability mass function given by: where
)
is Euler's number)
is the factorial.
The positive real number is equal to the expected value of and also to its variance.
The Poisson distribution can be applied to systems with a large number of possible events, each of which is rare. The number of such events that occur during a fixed time interval is, under the right circumstances, a random number with a Poisson distribution.
and:
Examples
The Poisson distribution may be useful to model events such as:
the number of meteorites greater than one-meter diameter that strike Earth in a year;
the number of laser photons hitting a detector in a particular time interval;
the number of students achieving a low and high mark in an exam; and
locations of defects and dislocations in materials.
Examples of the occurrence of random points in space are: the locations of asteroid impacts with earth (2-dimensional), the locations of imperfections in a material (3-dimensional), and the locations of trees in a forest (2-dimensional).
Assumptions and validity
The Poisson distribution is an appropriate model if the following assumptions are true:
, a nonnegative integer, is the number of times an event occurs in an interval.
The occurrence of one event does not affect the probability of a second event.
The average rate at which events occur is independent of any occurrences.
Two events cannot occur at exactly the same instant.
If these conditions are true, then is a Poisson random variable; the distribution of is a Poisson distribution.
The Poisson distribution is also the limit of a binomial distribution kept constant (see Related distributions):
The Poisson distribution may also be derived from the differential equations
Examples of probability for Poisson distributions
On a particular river, overflow floods occur once every100years on average. Calculate the probability of = 0, 1, 2, 3, 4, 5, or6 overflow floods in a100-year interval, assuming the Poisson model is appropriate.
Because the average event rate is one overflow flood per100years,
The probability for0 to6 overflow floods in a100-year period.
In this example, it is reported that the average number of goals in a World Cup soccer match is approximately2.5 and the Poisson model is appropriate. Because the average event rate is2.5goals per match,
The probability for0 to7 goals in a match.
Examples that violate the Poisson assumptions
The number of students who arrive at the student union per minute will likely not follow a Poisson distribution, because the rate is not constant (low rate during class time, high rate between class times) and the arrivals of individual students are not independent (students tend to come in groups). The non-constant arrival rate may be modeled as a mixed Poisson distribution, and the arrival of groups rather than individual students as a compound Poisson process.
The number of magnitude5 earthquakes per year in a country may not follow a Poisson distribution if one large earthquake increases the probability of aftershocks of similar magnitude.
Examples in which at least one event is guaranteed are not Poisson distributed; but may be modeled using a zero-truncated Poisson distribution.
Count distributions in which the number of intervals with zero events is higher than predicted by a Poisson model may be modeled using a zero-inflated model.
Properties
Descriptive statistics
The expected value of a Poisson random variable is .
The variance of a Poisson random variable is also .
The coefficient of variation while the index of dispersion is1.
The mean absolute deviation about the mean is
The mode of a Poisson-distributed random variable with non-integer which is the largest integer less than or equal to. This is also written as . When is a positive integer, the modes are and .
All of the cumulants of the Poisson distribution are equal to the expected value. The -th factorial moment of the Poisson distribution is .
The expected value of a Poisson process is sometimes decomposed into the product of intensity and exposure (or more generally expressed as the integral of an "intensity function" over time or space, sometimes described as "exposure").
Median
) of the distribution are known and are sharp:
Higher moments
The higher non-centered moments of the Poisson distribution are Touchard polynomials in where the braces { } denote Stirling numbers of the second kind. When the expected value is set to , Dobinski's formula implies that the ‑th moment is equal to the number of partitions of a set of size .
A simple upper bound is:
Sums of Poisson-distributed random variables
are independent A converse is Raikov's theorem, which says that if the sum of two independent random variables is Poisson-distributed, then so are each of those two independent random variables.
Maximum entropy
It is a maximum-entropy distribution, where a generalized binomial distribution is defined as a distribution of the sum of N independent but not identically distributed Bernoulli variables.
Other properties
The Poisson distributions are infinitely divisible probability distributions.
The directed Kullback–Leibler divergence
can be derived using a Chernoff bound argument.
The upper tail probability can be tightened (by a factor of at least two) as follows:.
of the standard normal distribution are as follows:
.
Poisson races
The upper bound is proved using a standard Chernoff bound.
is relative entropy (See the entry on bounds on tails of binomial distributions and computing a lower bound on the unconditional probability gives the result. More details can be found in the appendix of Kamath et al.
Related distributions
As a Binomial distribution with infinitesimal time-steps
The Poisson distribution can be derived as a limiting case to the binomial distribution as the number of trials goes to infinity and the expected number of successes remains fixed — see law of rare events below. Therefore, it can be used as an approximation of the binomial distribution if is sufficiently large and is sufficiently small. The Poisson distribution is a good approximation of the binomial distribution if is at least20 and is smaller than or equal to0.05, and an excellent approximation if and . be the respective cumulative density functions One derivation of this uses probability-generating functions. Consider a Bernoulli trial within a given interval. Split the interval into . The probability of successes out of Taking the limit as increases to infinity (with fixed) and applying the product limit definition of the exponential function
General
follows a Skellam distribution.
is a binomial distribution. More generally, if , , ..., are independent Poisson random variables with parameters , , ..., then
conditional on is a binomial distribution follows a multinomial distribution
The Poisson distribution is a special case of the discrete compound Poisson distribution (or stuttering Poisson distribution) with only a parameter. The discrete compound Poisson distribution can be deduced from the limiting distribution of univariate multinomial distribution. It is also a special case of a compound Poisson distribution.
For sufficiently large values of , (say ), the normal distribution with mean and variance ) is an excellent approximation to the Poisson. If is greater than about10, then the normal distribution is a good approximation if an appropriate continuity correction is performed, i.e., if , where is a non-negative integer, is replaced by
Variance-stabilizing transformation then and increases) is far faster than the untransformed variable. Other, slightly more complicated, variance stabilizing transformations are available, one of which is Anscombe transform. See Data transformation (statistics) for more general uses of transformations.
If for every the number of arrivals in the time interval follows the Poisson distribution with mean , then the sequence of inter-arrival times are independent and identically distributed exponential random variables having mean.
The cumulative distribution functions of the Poisson and chi-squared distributions are related in the following ways: and
Poisson approximation
then is multinomially distributed
This means
can be replaced by is further assumed to be monotonically increasing or decreasing.
Bivariate Poisson distribution
This distribution has been extended to the bivariate case. The generating function
The marginal distributions are and
Free Poisson distribution
The free Poisson distribution arises in free probability theory as the limit of repeated free convolution as .
and value are freely independent
This definition is analogous to one of the ways in which the classical Poisson distribution is obtained from a (classical) Poisson process.
The measure associated to the free Poisson law is given by
This law also arises in random matrix theory as the Marchenko–Pastur law. Its free cumulants
Some transforms of this law
We give values of some important transforms of the free Poisson law; the computation can be found in e.g. in the book Lectures on the Combinatorics of Free Probability by A. Nica and R. Speicher
The Cauchy transform (which is the negative of the Stieltjes transformation
Statistical inference
Parameter estimation
Given a sample of for , we wish to estimate the value of the parameter of the Poisson population from which the sample was drawn. The maximum likelihood estimate is
Since each observation has expectation , so does the sample mean. Therefore, the maximum likelihood estimate is an unbiased estimator of . It is also an efficient estimator since its variance achieves the Cramér–Rao lower bound (CRLB). Hence it is minimum-variance unbiased. Also it can be proven that the sum (and hence the sample mean as it is a one-to-one function of the sum) is a complete and sufficient statistic for .
To prove sufficiency we may use the factorization theorem
is sufficient.
To find the parameter that maximizes the probability function for the Poisson population, we can use the logarithm of the likelihood function:
with respect to and compare it to zero:
Solving for gives a stationary point.
So is the average of the values. Obtaining the sign of the second derivative of at the stationary point will determine what kind of extreme value is.
Evaluating the second derivative at the stationary point gives:
which is the negative of times the reciprocal of the average of the . This expression is negative when the average is positive. If this is satisfied, then the stationary point maximizes the probability function.
For completeness Knowing the distribution we want to investigate, it is easy to see that the statistic is complete.
must be0. This follows from the fact that none of the other terms will be and the statistic has been shown to be complete.
Confidence interval
The confidence interval for the mean of a Poisson distribution can be expressed using the relationship between the cumulative distribution functions of the Poisson and chi-squared distributions. The chi-squared distribution is itself closely related to the gamma distribution, and this leads to an alternative expression. Given an observation from a Poisson distribution with mean , a confidence interval for with confidence level is
or equivalently,
is the quantile function (corresponding to a lower tail area ) of the chi-squared distribution with is the quantile function of a gamma distribution with shape parameter n and scale parameter1. This interval is 'exact' in the sense that its coverage probability is never less than the nominal .
When quantiles of the gamma distribution are not available, an accurate approximation to this exact interval has been proposed (based on the Wilson–Hilferty transformation): denotes the standard normal deviate with upper tail area .
For application of these formulae in the same context as above (given a sample of measured values each drawn from a Poisson distribution with mean ), one would set
calculate an interval for , and then derive the interval for .
Bayesian inference
In Bayesian inference, the conjugate prior for the rate parameter of the Poisson distribution is the gamma distribution. Let
denote that is distributed according to the gamma density parameterized in terms of a shape parameter and an inverse scale parameter :
Then, given the same sample of measured values as before, and a prior of , the posterior distribution is
distance than the prior distribution of must be close to gamma distribution in Levy distance.
The posterior mean which follows immediately from the general expression of the mean of the gamma distribution.
The posterior predictive distribution for a single additional observation is a negative binomial distribution, sometimes called a gamma–Poisson distribution.
Simultaneous estimation of multiple Poisson means
then, similar as in Stein's example is inadmissible.
In this case, a family of minimax estimators as
Occurrence and applications
Some applications of the Poisson distribution to count data (number of events):
telecommunication: telephone calls arriving in a system,
astronomy: photons arriving at a telescope,
chemistry: the molar mass distribution of a living polymerization,
biology: the number of mutations on a strand of DNA per unit length,
management: customers arriving at a counter or call centre,
finance and insurance: number of losses or claims occurring in a given period of time,
seismology: asymptotic Poisson model of risk for large earthquakes,
radioactivity: decays in a given time interval in a radioactive sample,
optics: number of photons emitted in a single laser pulse (a major vulnerability of quantum key distribution protocols, known as photon number splitting).
More examples of counting events that may be modelled as Poisson processes include:
soldiers killed by horse-kicks each year in each corps in the Prussian cavalry. This example was used in a book by Ladislaus Bortkiewicz (1868–1931),
yeast cells used when brewing Guinness beer. This example was used by William Sealy Gosset (1876–1937),
phone calls arriving at a call centre within a minute. This example was described by A.K. Erlang (1878–1929),
goals in sports involving two competing teams,
deaths per year in a given age group,
jumps in a stock price in a given time interval,
times a web server is accessed per minute (under an assumption of homogeneity),
mutations in a given stretch of DNA after a certain amount of radiation,
cells infected at a given multiplicity of infection,
bacteria in a certain amount of liquid,
photons arriving on a pixel circuit at a given illumination over a given time period,
landing of V-1 flying bombs on London during World War II, investigated by R. D. Clarke in1946.
In probabilistic number theory, Gallagher showed in1976 that, if a certain version of the unproved prime r-tuple conjecture holds, then the counts of prime numbers in short intervals would obey a Poisson distribution.
Law of rare events
The rate of an event is related to the probability of an event occurring in some small subinterval (of time, space or otherwise). In the case of the Poisson distribution, one assumes that there exists a small enough subinterval for which the probability of an event occurring twice is "negligible". With this assumption one can derive the Poisson distribution from the binomial one, given only the information of expected number of total events in the whole interval.
(since we are interested in only very small portions of the interval this assumption is meaningful). This means that the expected number of events in each of the
Now we assume that the occurrence of an event in the whole interval can be seen as a sequence of Bernoulli trials-th Bernoulli trial goes to infinity.
In this case the binomial distribution converges to what is known as the Poisson distribution by the Poisson limit theorem.
In several of the above examples — such as the number of mutations in a given sequence of DNA — the events being counted are actually the outcomes of discrete trials, and would more precisely be modelled using the binomial distribution
In such cases is very large and is very small (and so the expectation
This approximation is sometimes known as the law of rare events, since each of the individual Bernoulli events rarely occurs.
The name "law of rare events" may be misleading because the total count of success events in a Poisson process need not be rare if the parameter is not small. For example, the number of telephone calls to a busy switchboard in one hour follows a Poisson distribution with the events appearing frequent to the operator, but they are rare from the point of view of the average member of the population who is very unlikely to make a call to that switchboard in that hour.
The variance of the binomial distribution is times that of the Poisson distribution, so almost equal when is very small.
The word law is sometimes used as a synonym of probability distribution, and convergence in law means convergence in distribution. Accordingly, the Poisson distribution is sometimes called the "law of small numbers" because it is the probability distribution of the number of occurrences of an event that happens rarely but has very many opportunities to happen. The Law of Small Numbers is a book by Ladislaus Bortkiewicz about the Poisson distribution, published in1898.
Poisson point process
The Poisson distribution arises as the number of points of a Poisson point process located in some finite region. More specifically, if is some region space, for example Euclidean space , for which , the area, volume or, more generally, the Lebesgue measure of the region is finite, and if denotes the number of points in , then
Poisson regression and negative binomial regression
Poisson regression and negative binomial regression are useful for analyses where the dependent (response) variable is the count of the number of events or occurrences in an interval.
Biology
The Luria–Delbrück experiment tested against the hypothesis of Lamarckian evolution, which should result in a Poisson distribution.
Katz and Miledi measured the membrane potential with and without the presence of acetylcholine (ACh). When ACh is present, ion channels. (pp.94-95)
During each cellular replication event, the number of mutations is roughly Poisson distributed. For example, the HIV virus has10,000 base pairs, and has a mutation rate of about1 per. (p.64)
Other applications in science
In a Poisson process, the number of observed occurrences fluctuates about its mean with a standard deviation These fluctuations are denoted as Poisson noise or (particularly in electronics) as shot noise.
The correlation of the mean and standard deviation in counting independent discrete occurrences is useful scientifically. By monitoring how the fluctuations vary with the mean signal, one can estimate the contribution of a single occurrence, even if that contribution is too small to be detected directly. For example, the charge on an electron can be estimated by correlating the magnitude of an electric current with its shot noise. If electrons pass a point in a given time on the average, the mean current (i.e., the standard deviation of the Poisson process
An everyday example is the graininess that appears as photographs are enlarged; the graininess is due to Poisson fluctuations in the number of reduced silver grains, not to the individual grains themselves. By correlating the graininess with the degree of enlargement, one can estimate the contribution of an individual grain (which is otherwise too small to be seen unaided).
In causal set theory the discrete elements of spacetime follow a Poisson distribution in the volume.
The Poisson distribution also appears in quantum mechanics, especially quantum optics. Namely, for a quantum harmonic oscillator system in a coherent state, the probability of measuring a particular energy level has a Poisson distribution.
Computational methods
The Poisson distribution poses two different tasks for dedicated software libraries: evaluating, and drawing random numbers according to that distribution.
Evaluating the Poisson distribution
in terms of exponential, power, and factorial functions. However, the conventional definition of the Poisson distribution contains two terms that can easily overflow on computers: and . The fraction of to can also produce a rounding error that is very large compared to which is mathematically equivalent but numerically stable. The natural logarithm of the Gamma function can be obtained using the lgamma function in the C standard library (C99 version) or R, the gammaln function in MATLAB or SciPy, or the log_gamma function in Fortran2008 and later.
Some computing languages provide built-in functions to evaluate the Poisson distribution, namely
R: function dpois(x, lambda);
Excel: function POISSON( x, mean, cumulative), with a flag to specify the cumulative distribution;
Mathematica: univariate Poisson distribution as ], bivariate Poisson distribution as }],.
Random variate generation
The less trivial task is to draw integer random variate
Solutions are provided by:
R: function rpois(n, lambda);
GNU Scientific Library (GSL): function gsl_ran_poisson
A simple algorithm to generate random Poisson-distributed numbers (pseudo-random number sampling) has been given by Knuth:
algorithm poisson random number (Knuth):
init:
Let L ← e−λ, k ← 0 and p ← 1.
do:
k ← k + 1.
Generate uniform random number u in [0,1] and let p ← p × u.
while p > L.
return k − 1.The complexity is linear in the returned value , which is on average. There are many other algorithms to improve this. Some are given in Ahrens & Dieter, see below.
For large values of , the value of may be so small that it is hard to represent. This can be solved by a change to the algorithm which uses an additional parameter STEP such that does not underflow:
algorithm poisson random number (Junhao, based on Knuth):
init:
Let λLeft ← λ, k ← 0 and p ← 1.
do:
k ← k + 1.
Generate uniform random number u in (0,1) and let p ← p × u.
while p < 1 and λLeft > 0:
if λLeft > STEP:
p ← p × eSTEP
λLeft ← λLeft − STEP
else:
p ← p × eλLeft
λLeft ← 0
while p > 1.
return k − 1.The choice of STEP depends on the threshold of overflow. For double precision floating point format the threshold is near , so500 should be a safe .
Other solutions for large values of include rejection sampling and using Gaussian approximation.
Inverse transform sampling is simple and efficient for small values of , and requires only one uniform random number per sample. Cumulative probabilities are examined in turn until one exceeds .
algorithm Poisson generator based upon the inversion by sequential search:Devroye1986505
init:
Let x ← 0, p ← e−λ, s ← p.
Generate uniform random number u in [0,1].
while u > s do:
x ← x + 1.
p ← p × λ / x.
s ← s + p.
return x.See also
References
Citations
Sources