Poisson distribution: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
TXiKiBoT (talk | contribs)
→‎How does this distribution arise? — The law of rare events: link binominal distribution in image caption
Line 74: Line 74:
== How does this distribution arise? — The ''law of rare events'' ==
== How does this distribution arise? — The ''law of rare events'' ==


[[File:Binomial versus poisson.svg|right|325px|thumb|Comparison of the Poisson distribution (black dots) and the binomial distribution with n=10 (red line), n=20 (blue line), n=1000 (green line). All distributions have a mean of 5. The horizontal axis shows the number of events ''k''. Notice that as n gets larger, the Poisson distribution becomes an increasingly better approximation for the binomial distribution with the same mean.]]
[[File:Binomial versus poisson.svg|right|325px|thumb|Comparison of the Poisson distribution (black dots) and the [[binomial distribution]] with n=10 (red line), n=20 (blue line), n=1000 (green line). All distributions have a mean of 5. The horizontal axis shows the number of events ''k''. Notice that as n gets larger, the Poisson distribution becomes an increasingly better approximation for the binomial distribution with the same mean.]]


In several of the above examples—for example, 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]], that is
In several of the above examples—for example, 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]], that is

Revision as of 14:36, 2 June 2010

Poisson
Probability mass function
Plot of the Poisson PMF
The horizontal axis is the index k. The function is only defined at integer values of k. The connecting lines are only guides for the eye.
Cumulative distribution function
Plot of the Poisson CDF
The horizontal axis is the index k. The CDF is discontinuous at the integers of k and flat everywhere else because a variable that is Poisson distributed only takes on integer values.
Notation
Parameters λ > 0 (real)
Support k ∈ { 0, 1, 2, 3, ... }
PMF
CDF

for or

(where is the Incomplete gamma function and is the floor function)
Mean
Median
Mode , and if is an integer
Variance
Skewness
Excess kurtosis
Entropy

(for large )


                   
MGF
CF

In probability theory and statistics, the Poisson distribution (pronounced [pwasɔ̃]) (or Poisson law of small numbers[1]) is a discrete probability distribution that expresses the probability of a number of events occurring in a fixed period of time if these events occur with a known average rate and independently of the time since the last event. (The Poisson distribution can also be used for the number of events in other specified intervals such as distance, area or volume.)

The distribution was first introduced by Siméon-Denis Poisson (1781–1840) and published, together with his probability theory, in 1838 in his work Recherches sur la probabilité des jugements en matière criminelle et en matière civile (“Research on the Probability of Judgments in Criminal and Civil Matters”). The work focused on certain random variables N that count, among other things, the number of discrete occurrences (sometimes called “arrivals”) that take place during a time-interval of given length.

If the expected number of occurrences in this interval is , then the probability that there are exactly n occurrences (n being a non-negative integer, n = 0, 1, 2, ...) is equal to

where

  • e is the base of the natural logarithm (e = 2.71828...)
  • n is the number of occurrences of an event - the probability of which is given by the function
  • n! is the factorial of n
  • λ is a positive real number, equal to the expected number of occurrences that occur during the given interval. For instance, if the events occur on average 4 times per minute, and you are interested in probability for n times of events occurring in a 10 minute interval, you would use as your model a Poisson distribution with λ = 10×4 = 40.

As a function of n, this is the probability mass function. The Poisson distribution can be derived as a limiting case of the binomial distribution.

The Poisson distribution can be applied to systems with a large number of possible events, each of which is rare. A classic example is the nuclear decay of atoms.

The Poisson distribution is sometimes called a Poissonian, analogous to the term Gaussian for a Gauss or normal distribution.

Poisson noise and characterizing small occurrences

The parameter λ is not only the mean number of occurrences , but also its variance (see Table). Thus, 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 e on an electron can be estimated by correlating the magnitude of an electric current with its shot noise. If N electrons pass a point in a given time t on the average, the mean current is I = eN / t; since the current fluctuations should be of the order (i.e. the standard deviation of the Poisson process), the charge e can be estimated from the ratio . 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). Many other molecular applications of Poisson noise have been developed, e.g., estimating the number density of receptor molecules in a cell membrane.

Related distributions

  • If and then the difference follows a Skellam distribution.
  • If and are independent, and , then the distribution of conditional on is a binomial. Specifically, . More generally, if X1, X2,..., Xn are independent Poisson random variables with parameters λ1, λ2,..., λn then
  • 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 n is sufficiently large and p is sufficiently small. There is a rule of thumb stating that the Poisson distribution is a good approximation of the binomial distribution if n is at least 20 and p is smaller than or equal to 0.05, and an excellent approximation if n ≥ 100 and np ≤ 10.[2]
  • For sufficiently large values of λ, (say λ>1000), the normal distribution with mean λ and variance λ (standard deviation ), is an excellent approximation to the Poisson distribution. If λ is greater than about 10, then the normal distribution is a good approximation if an appropriate continuity correction is performed, i.e., P(X ≤ x), where (lower-case) x is a non-negative integer, is replaced by P(X ≤ x + 0.5).
  • Variance-stabilizing transformation: When a variable is Poisson distributed, its square root is approximately normally distributed with expected value of about and variance of about 1/4.[3] Under this transformation, the convergence to normality is far faster than the untransformed variable. Other, slightly more complicated, variance stabilizing transformations are available,[4] one of which is Anscombe transform. See Data transformation (statistics) for more general uses of transformations.
  • If the number of arrivals in a given time interval follows the Poisson distribution, with mean = , then the lengths of the inter-arrival times follow the Exponential distribution, with mean .

Occurrence

The Poisson distribution arises in connection with Poisson processes. It applies to various phenomena of discrete properties (that is, those that may happen 0, 1, 2, 3, ... times during a given period of time or in a given area) whenever the probability of the phenomenon happening is constant in time or space. Examples of events that may be modelled as a Poisson distribution include:

How does this distribution arise? — The law of rare events

Comparison of the Poisson distribution (black dots) and the binomial distribution with n=10 (red line), n=20 (blue line), n=1000 (green line). All distributions have a mean of 5. The horizontal axis shows the number of events k. Notice that as n gets larger, the Poisson distribution becomes an increasingly better approximation for the binomial distribution with the same mean.

In several of the above examples—for example, 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, that is

In such cases n is very large and p is very small (and so the expectation np is of intermediate magnitude). Then the distribution may be approximated by the less cumbersome Poisson distribution

This is sometimes known as the law of rare events, since each of the n individual Bernoulli events rarely occurs. The name may be misleading because the total count of success events in a Poisson process need not be rare if the parameter np 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 the average member of the population who is very unlikely to make a call to that switchboard in that hour.

Proof

We will prove that, for fixed , if

then for each fixed k

.

To see the connection with the above discussion, for any Binomial random variable with large n and small p set . Note that the expectation is fixed with respect to n.

First, recall from calculus

then since in this case, we have

Next, note that

where we have taken the limit of each of the terms independently, which is permitted since there is a fixed number of terms with respect to n (there are k of them). Consequently, we have shown that

.

Generalization

We have shown that if

where , then in distribution. This holds[citation needed] in the more general situation that is any sequence such that

2-dimensional Poisson process

where

  • e is the base of the natural logarithm (e = 2.71828...)
  • k is the number of occurrences of an event - the probability of which is given by the function
  • k! is the factorial of k
  • D is the 2-dimensional region
  • N(D) is the number of points in the process in region D

Properties

  • The expected value of a Poisson-distributed random variable is equal to λ and so is its variance. The higher moments of the Poisson distribution are Touchard polynomials in λ, whose coefficients have a combinatorial meaning. In fact, when the expected value of the Poisson distribution is 1, then Dobinski's formula says that the nth moment equals the number of partitions of a set of size n.
  • The mode of a Poisson-distributed random variable with non-integer λ is equal to , which is the largest integer less than or equal to λ. This is also written as floor(λ). When λ is a positive integer, the modes are λ and λ − 1.
  • Sums of Poisson-distributed random variables:
If follow a Poisson distribution with parameter and are independent, then
also follows a Poisson distribution whose parameter is the sum of the component parameters. A converse is Raikov's theorem, which says that if the sum of two independent random variables is Poisson-distributed, then so is each of those two independent random variables.
  • The sum of normalised square deviations is approximately distributed as chi-square if the mean is of a moderate size ( is suggested).[5] If are observations from independent Poisson distributions with means then
  • The moment-generating function of the Poisson distribution with expected value λ is

Generating Poisson-distributed random variables

A simple way to generate random Poisson-distributed numbers is given by Knuth, see References below.

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.

While simple, the complexity is linear in λ. There are many other algorithms to overcome this. Some are given in Ahrens & Dieter, see References below.

Parameter estimation

Maximum likelihood

Given a sample of n measured values ki we wish to estimate the value of the parameter λ of the Poisson population from which the sample was drawn. To calculate the maximum likelihood value, we form the log-likelihood function

Take the derivative of L with respect to λ and equate it to zero:

Solving for λ yields a stationary point, which if the second derivative is negative is the maximum-likelihood estimate of λ:

Checking the second derivative, it is found that it is negative for all λ and ki greater than zero, therefore this stationary point is indeed a maximum of the initial likelihood function:

Since each observation has expectation λ so does this sample mean. Therefore it is an unbiased estimator of λ. It is also an efficient estimator, i.e. its estimation variance achieves the Cramér-Rao lower bound (CRLB). Hence it is MVUE. Also it can be proved that the sample mean is complete and sufficient statistic 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 g parameterized in terms of a shape parameter α and an inverse scale parameter β:

Then, given the same sample of n measured values ki as before, and a prior of Gamma(α, β), the posterior distribution is

The posterior mean E[λ] approaches the maximum likelihood estimate in the limit as .

The posterior predictive distribution of additional data is a Gamma-Poisson (i.e. negative binomial) distribution.

The "law of small numbers"

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 in 1898. Some historians of mathematics have argued that the Poisson distribution should have been called the Bortkiewicz distribution.[6]

95% Confidence Interval Factors for Poisson-Distributed Events

In death rate (DR), when numerator is <20, multiply the DR for LLF and DR for ULF to encounter the 95%CI. Consequently, the 95%CI is (DR*LLF - DR*ULF). [7] . .

Number of events, Lower Limit Factor 95%CI (LLF), Upper Limit Factor 95%CI (ULF)

0, 0.0000, 3.7000

1, 0.0253, 5.5716

2, 0.1211, 3.6123

3, 0.2062, 2.9224

4, 0.2725, 2.5604

5, 0.3247, 2.3337

6 0.3670, 2.1766

7 0.4021, 2.0604

8 0.4317, 1.9704

9 0.4573, 1.8983

10 0.4795, 1.8390

11 0.4992, 1.7893

12 0.5167, 1.7468

13 0.5325, 1.7100

14 0.5467, 1.6778

15 0.5597, 1.6493

16 0.5716, 1.6239

17 0.5825, 1.6011

18 0.5927, 1.5804

19 0.6021, 1.5616

20 0.6108, 1.5444

See also

Online visualization tools

Notes

  1. ^ p963-965, Jan Gullberg, Mathematics from the birth of numbers, W. W. Norton & Company; ISBN 0-393-04002-X ISBN 978-0-393-04002-9
  2. ^ NIST/SEMATECH, '6.3.3.1. Counts Control Charts', e-Handbook of Statistical Methods, accessed 25 October 2006
  3. ^ McCullagh, Peter (1989). Generalized Linear Models. London: Chapman and Hall. ISBN 0-412-31760-5. {{cite book}}: Unknown parameter |coauthors= ignored (|author= suggested) (help) page 196 gives the approximation and the subsequent terms.
  4. ^ Johnson, N.L., Kotz, S., Kemp, A.W. (1993) Univariate Discrete distributions (2nd edition). Wiley. ISBN 0-471-54897-9, p163
  5. ^ Box, Hunter and Hunter. Statistics for experimenters. Wiley. p. 57.
  6. ^ Good, I.J., Some statistical applications of Poisson's work, Statist. Sci. 1 (2) (1986), 157–180. JSTOR link
  7. ^ Good, I.J., Some statistical applications of Poisson's work, Statist. Sci. 1 (2) (1986), 157–180. JSTOR link

References

  • Donald E. Knuth (1969). Seminumerical Algorithms. The Art of Computer Programming, Volume 2. Addison Wesley.
  • Joachim H. Ahrens, Ulrich Dieter (1974). "Computer Methods for Sampling from Gamma, Beta, Poisson and Binomial Distributions". Computing. 12 (3): 223–246. doi:10.1007/BF02293108.
  • Joachim H. Ahrens, Ulrich Dieter (1982). "Computer Generation of Poisson Deviates". ACM Transactions on Mathematical Software. 8 (2): 163–179. doi:10.1145/355993.355997.
  • Ronald J. Evans, J. Boersma, N. M. Blachman, A. A. Jagers (1988). "The Entropy of a Poisson Distribution: Problem 87-6". SIAM Review. 30 (2): 314–317. doi:10.1137/1030059.{{cite journal}}: CS1 maint: multiple names: authors list (link)

Template:Common univariate probability distributions