# Skellam distribution

Parameters Probability mass functionExamples of the probability mass function for the Skellam distribution. The horizontal axis is the index k. (The function is only defined at integer values of k. The connecting lines do not indicate continuity.) ${\displaystyle \mu _{1}\geq 0,~~\mu _{2}\geq 0}$ ${\displaystyle \{\ldots ,-2,-1,0,1,2,\ldots \}}$ ${\displaystyle e^{-(\mu _{1}\!+\!\mu _{2})}\left({\frac {\mu _{1}}{\mu _{2}}}\right)^{k/2}\!\!I_{k}(2{\sqrt {\mu _{1}\mu _{2}}})}$ ${\displaystyle \mu _{1}-\mu _{2}\,}$ N/A ${\displaystyle \mu _{1}+\mu _{2}\,}$ ${\displaystyle {\frac {\mu _{1}-\mu _{2}}{(\mu _{1}+\mu _{2})^{3/2}}}}$ ${\displaystyle 1/(\mu _{1}+\mu _{2})\,}$ ${\displaystyle e^{-(\mu _{1}+\mu _{2})+\mu _{1}e^{t}+\mu _{2}e^{-t}}}$ ${\displaystyle e^{-(\mu _{1}+\mu _{2})+\mu _{1}e^{it}+\mu _{2}e^{-it}}}$

The Skellam distribution is the discrete probability distribution of the difference ${\displaystyle N_{1}-N_{2}}$ of two statistically independent random variables ${\displaystyle N_{1}}$ and ${\displaystyle N_{2},}$ each Poisson-distributed with respective expected values ${\displaystyle \mu _{1}}$ and ${\displaystyle \mu _{2}}$ It is useful in describing the statistics of the difference of two images with simple photon noise, as well as describing the point spread distribution in sports where all scored points are equal, such as baseball, hockey and soccer.

The distribution is also applicable to a special case of the difference of dependent Poisson random variables, but just the obvious case where the two variables have a common additive random contribution which is cancelled by the differencing: see Karlis & Ntzoufras (2003) for details and an application.

The probability mass function for the Skellam distribution for a difference ${\displaystyle K=N_{1}-N_{2}}$ between two independent Poisson-distributed random variables with means ${\displaystyle \mu _{1}}$ and ${\displaystyle \mu _{2}}$ is given by:

${\displaystyle p(k;\mu _{1},\mu _{2})=\Pr\{K=k\}=e^{-(\mu _{1}+\mu _{2})}\left({\mu _{1} \over \mu _{2}}\right)^{k/2}I_{k}(2{\sqrt {\mu _{1}\mu _{2}}})}$

where Ik(z) is the modified Bessel function of the first kind. Since k is an integer we have that Ik(z)=I|k|(z).

## Derivation

Note that the probability mass function of a Poisson-distributed random variable with mean μ is given by

${\displaystyle p(k;\mu )={\mu ^{k} \over k!}e^{-\mu }.\,}$

for ${\displaystyle k\geq 0}$ (and zero otherwise). The Skellam probability mass function for the difference of two independent counts ${\displaystyle K=N_{1}-N_{2}}$ is the convolution of two Poisson distributions: (Skellam, 1946)

${\displaystyle p(k;\mu _{1},\mu _{2})=\sum _{n=-\infty }^{\infty }\!p(k\!+\!n;\mu _{1})p(n;\mu _{2})}$
${\displaystyle =e^{-(\mu _{1}+\mu _{2})}\sum _{n=max(0,-k)}^{\infty }{{\mu _{1}^{k+n}\mu _{2}^{n}} \over {n!(k+n)!}}}$

Since the Poisson distribution is zero for negative values of the count ${\displaystyle (p(N<0;\mu )=0)}$, the second sum is only taken for those terms where ${\displaystyle n\geq 0}$ and ${\displaystyle n+k\geq 0}$. It can be shown that the above sum implies that

${\displaystyle {\frac {p(k;\mu _{1},\mu _{2})}{p(-k;\mu _{1},\mu _{2})}}=\left({\frac {\mu _{1}}{\mu _{2}}}\right)^{k}}$

so that:

${\displaystyle p(k;\mu _{1},\mu _{2})=e^{-(\mu _{1}+\mu _{2})}\left({\mu _{1} \over \mu _{2}}\right)^{k/2}I_{|k|}(2{\sqrt {\mu _{1}\mu _{2}}})}$

where I k(z) is the modified Bessel function of the first kind. The special case for ${\displaystyle \mu _{1}=\mu _{2}(=\mu )}$ is given by Irwin (1937):

${\displaystyle p\left(k;\mu ,\mu \right)=e^{-2\mu }I_{|k|}(2\mu ).}$

Note also that, using the limiting values of the modified Bessel function for small arguments, we can recover the Poisson distribution as a special case of the Skellam distribution for ${\displaystyle \mu _{2}=0}$.

## Properties

As it is a discrete probability function, the Skellam probability mass function is normalized:

${\displaystyle \sum _{k=-\infty }^{\infty }p(k;\mu _{1},\mu _{2})=1}$.

We know that the probability generating function (pgf) for a Poisson distribution is:

${\displaystyle G\left(t;\mu \right)=e^{\mu (t-1)}}$.

It follows that the pgf, ${\displaystyle G(t;\mu _{1},\mu _{2})}$, for a Skellam probability mass function will be:

${\displaystyle G(t;\mu _{1},\mu _{2})=\sum _{k=-\infty }^{\infty }p(k;\mu _{1},\mu _{2})t^{k}}$
${\displaystyle =G\left(t;\mu _{1}\right)G\left(1/t;\mu _{2}\right)\,}$
${\displaystyle =e^{-(\mu _{1}+\mu _{2})+\mu _{1}t+\mu _{2}/t}.}$

Notice that the form of the probability generating function implies that the distribution of the sums or the differences of any number of independent Skellam-distributed variables are again Skellam-distributed. It is sometimes claimed that any linear combination of two Skellam-distributed variables are again Skellam-distributed, but this is clearly not true since any multiplier other than ${\displaystyle \pm 1}$ would change the support of the distribution and alter the pattern of moments in a way that no Skellam distribution can satisfy.

The moment-generating function is given by:

${\displaystyle M\left(t;\mu _{1},\mu _{2}\right)=G(e^{t};\mu _{1},\mu _{2})}$
${\displaystyle =\sum _{k=0}^{\infty }{t^{k} \over k!}\,m_{k}}$

which yields the raw moments mk . Define:

${\displaystyle \Delta \ {\stackrel {\mathrm {def} }{=}}\ \mu _{1}-\mu _{2}\,}$
${\displaystyle \mu \ {\stackrel {\mathrm {def} }{=}}\ (\mu _{1}+\mu _{2})/2.\,}$

Then the raw moments mk are

${\displaystyle m_{1}=\left.\Delta \right.\,}$
${\displaystyle m_{2}=\left.2\mu +\Delta ^{2}\right.\,}$
${\displaystyle m_{3}=\left.\Delta (1+6\mu +\Delta ^{2})\right.\,}$

The central moments M k are

${\displaystyle M_{2}=\left.2\mu \right.,\,}$
${\displaystyle M_{3}=\left.\Delta \right.,\,}$
${\displaystyle M_{4}=\left.2\mu +12\mu ^{2}\right..\,}$

The mean, variance, skewness, and kurtosis excess are respectively:

${\displaystyle \left.\right.E(n)=\Delta \,}$
${\displaystyle \sigma ^{2}=\left.2\mu \right.\,}$
${\displaystyle \gamma _{1}=\left.\Delta /(2\mu )^{3/2}\right.\,}$
${\displaystyle \gamma _{2}=\left.1/2\mu \right..\,}$

The cumulant-generating function is given by:

${\displaystyle K(t;\mu _{1},\mu _{2})\ {\stackrel {\mathrm {def} }{=}}\ \ln(M(t;\mu _{1},\mu _{2}))=\sum _{k=0}^{\infty }{t^{k} \over k!}\,\kappa _{k}}$

which yields the cumulants:

${\displaystyle \kappa _{2k}=\left.2\mu \right.}$
${\displaystyle \kappa _{2k+1}=\left.\Delta \right..}$

For the special case when μ1 = μ2, an asymptotic expansion of the modified Bessel function of the first kind yields for large μ:

${\displaystyle p(k;\mu ,\mu )\sim {1 \over {\sqrt {4\pi \mu }}}\left[1+\sum _{n=1}^{\infty }(-1)^{n}{\{4k^{2}-1^{2}\}\{4k^{2}-3^{2}\}\cdots \{4k^{2}-(2n-1)^{2}\} \over n!\,2^{3n}\,(2\mu )^{n}}\right].}$

(Abramowitz & Stegun 1972, p. 377). Also, for this special case, when k is also large, and of order of the square root of 2μ, the distribution tends to a normal distribution:

${\displaystyle p(k;\mu ,\mu )\sim {e^{-k^{2}/4\mu } \over {\sqrt {4\pi \mu }}}.}$

These special results can easily be extended to the more general case of different means.

### Bounds on weight above zero

If ${\displaystyle X\sim Skellam(\mu _{1},\mu _{2})}$, with ${\displaystyle \mu _{1}<\mu _{2}}$, then

${\displaystyle {\frac {\exp(-({\sqrt {\mu _{1}}}-{\sqrt {\mu _{2}}})^{2})}{(\mu _{1}+\mu _{2})^{2}}}-{\frac {e^{-(\mu _{1}+\mu _{2})}}{2{\sqrt {\mu _{1}\mu _{2}}}}}-{\frac {e^{-(\mu _{1}+\mu _{2})}}{4\mu _{1}\mu _{2}}}\leq \Pr\{X\geq 0\}\leq \exp(-({\sqrt {\mu _{1}}}-{\sqrt {\mu _{2}}})^{2})}$

Details can be found in Poisson distribution#Poisson races

## References

• Abramowitz, Milton; Stegun, Irene A., eds. (June 1965). Handbook of mathematical functions with formulas, graphs, and mathematical tables (Unabridged and unaltered republ. [der Ausg.] 1964, 5. Dover printing ed.). Dover Publications. pp. 374–378. ISBN 0486612724. Retrieved 27 September 2012.
• Irwin, J. O. (1937) "The frequency distribution of the difference between two independent variates following the same Poisson distribution." Journal of the Royal Statistical Society: Series A, 100 (3), 415–416. [1]
• Karlis, D. and Ntzoufras, I. (2003) "Analysis of sports data using bivariate Poisson models". Journal of the Royal Statistical Society, Series D, 52 (3), 381–393. doi:10.1111/1467-9884.00366
• Karlis D. and Ntzoufras I. (2006). Bayesian analysis of the differences of count data. Statistics in Medicine, 25, 1885–1905. [2]
• Skellam, J. G. (1946) "The frequency distribution of the difference between two Poisson variates belonging to different populations". Journal of the Royal Statistical Society, Series A, 109 (3), 296. [3]