Contents
Poisson binomial distribution
In probability theory and statistics, the Poisson binomial distribution is the discrete probability distribution of a sum of independent Bernoulli trials that are not necessarily identically distributed. The concept is named after Siméon Denis Poisson. In other words, it is the probability distribution of the number of successes in a collection of n independent yes/no experiments with success probabilities. The ordinary binomial distribution is a special case of the Poisson binomial distribution, when all success probabilities are the same, that is.
Definitions
Probability Mass Function
The probability of having k successful trials out of a total of n can be written as the sum where F_k is the set of all subsets of k integers that can be selected from. For example, if n = 3, then. A^c is the complement of A, i.e.. F_k will contain elements, the sum over which is infeasible to compute in practice unless the number of trials n is small (e.g. if n = 30, F_{15} contains over 1020 elements). However, there are other, more efficient ways to calculate \Pr(K=k). As long as none of the success probabilities are equal to one, one can calculate the probability of k successes using the recursive formula where The recursive formula is not numerically stable, and should be avoided if n is greater than approximately 20. An alternative is to use a divide-and-conquer algorithm: if we assume n = 2^b is a power of two, denoting by f(p_{i:j}) the Poisson binomial of and * the convolution operator, we have. More generally, the probability mass function of a Poisson binomial can be expressed as the convolution of the vectors where. This observation leads to the Direct Convolution (DC) algorithm for computing \Pr (K=0) through \Pr (K=n): // PMF and nextPMF begin at index 0 function DC is declare new PMF array of size 1 PMF[0] = [1] for i = 1 to n do declare new nextPMF array of size i + 1 nextPMF[0] = (1 - p_i) * PMF[0] nextPMF[i] = p_i * PMF[i - 1] for k = 1 to i - 1 do nextPMF[k] = p_i * PMF[k - 1] + (1 - p_i) * PMF[k] repeat PMF = nextPMF repeat return PMF end function \Pr (K=k)will be found in PMF[k]. DC is numerically stable, exact, and, when implemented as a software routine, exceptionally fast for n \leq 2000. It can also be quite fast for larger n, depending on the distribution of the p_i. Another possibility is using the discrete Fourier transform. where and i=\sqrt{-1}. Still other methods are described in "Statistical Applications of the Poisson-Binomial and conditional Bernoulli distributions" by Chen and Liu and in "A simple and fast method for computing the Poisson binomial distribution function" by Biscarri et al.
Cumulative distribution function
The cumulative distribution function (CDF) can be expressed as: , where F_l is the set of all subsets of size l that can be selected from. It can be computed by invoking the DC function above, and then adding elements 0 through k of the returned PMF array.
Properties
Mean and Variance
Since a Poisson binomial distributed variable is a sum of n independent Bernoulli distributed variables, its mean and variance will simply be sums of the mean and variance of the n Bernoulli distributions:
Entropy
There is no simple formula for the entropy of a Poisson binomial distribution, but the entropy is bounded above by the entropy of a binomial distribution with the same number parameter and the same mean. Therefore, the entropy is also bounded above by the entropy of a Poisson distribution with the same mean. The Shepp–Olkin concavity conjecture, due to Lawrence Shepp and Ingram Olkin in 1981, states that the entropy of a Poisson binomial distribution is a concave function of the success probabilities. This conjecture was proved by Erwan Hillion and Oliver Johnson in 2015. The Shepp–Olkin monotonicity conjecture, also from the same 1981 paper, is that the entropy is monotone increasing in p_i, if all. This conjecture was also proved by Hillion and Johnson, in 2019.
Chernoff bound
The probability that a Poisson binomial distribution gets large, can be bounded using its moment generating function as follows (valid when s \geq \mu and for any t>0): where we took. This is similar to the tail bounds of a binomial distribution.
Approximation by Binomial Distribution
A Poisson binomial distribution PB can be approximated by a binomial distribution B where \mu, the mean of the p_i, is the success probability of B. The variances of PB and B are related by the formula As can be seen, the closer the p_i are to \mu, that is, the more the p_i tend to homogeneity, the larger PB's variance. When all the p_iare equal to \mu, PB becomes B,, and the variance is at its maximum. Ehm has determined bounds for the total variation distance of PB and B, in effect providing bounds on the error introduced when approximating PB with B. Let and d(PB,B) be the total variation distance of PB and B. Then where. d(PB,B) tends to 0 if and only if tends to 1.
Approximation by Poisson Distribution
A Poisson binomial distribution PB can also be approximated by a Poisson distribution Po with mean. Barbour and Hall have shown that where d(PB,B) is the total variation distance of PB and Po. It can be seen that the smaller the p_i, the better Po approximates PB. As and, ; so a Poisson binomial distribution's variance is bounded above by a Poisson distribution with , and the smaller the p_i, the closer Var(Po) will be to Var(PB).
Computational methods
The reference discusses techniques of evaluating the probability mass function of the Poisson binomial distribution. The following software implementations are based on it:
This article is derived from Wikipedia and licensed under CC BY-SA 4.0. View the original article.
Wikipedia® is a registered trademark of the
Wikimedia Foundation, Inc.
Bliptext is not
affiliated with or endorsed by Wikipedia or the
Wikimedia Foundation.