Wolf number: Difference between revisions
en>Giftlite wlink |
en>Addbot m Bot: Migrating 9 interwiki links, now provided by Wikidata on d:q2277190 (Report Errors) |
||
| Line 1: | Line 1: | ||
== | {{Probability distribution| | ||
name =Skellam| | |||
type =mass| | |||
pdf_image =[[Image:Skellam distribution.svg|325px|Examples of the probability mass function for the Skellam distribution.]]<br /><small>Examples of the probability mass function for the Skellam distribution. The horizontal axis is the index ''k''. (Note that the function is only defined at integer values of ''k''. The connecting lines do not indicate continuity.)</small>| | |||
cdf_image =| | |||
parameters =<math>\mu_1\ge 0,~~\mu_2\ge 0</math>| | |||
support =<math>\{\ldots, -2,-1,0,1,2,\ldots\}</math>| | |||
pdf =<math>e^{-(\mu_1\!+\!\mu_2)} | |||
\left(\frac{\mu_1}{\mu_2}\right)^{k/2}\!\!I_{k}(2\sqrt{\mu_1\mu_2})</math>| | |||
cdf =| | |||
mean =<math>\mu_1-\mu_2\,</math>| | |||
median =N/A| | |||
mode =| | |||
variance =<math>\mu_1+\mu_2\,</math>| | |||
skewness =<math>\frac{\mu_1-\mu_2}{(\mu_1+\mu_2)^{3/2}}</math>| | |||
kurtosis =<math>1/(\mu_1+\mu_2)\,</math>| | |||
entropy =| | |||
mgf =<math>e^{-(\mu_1+\mu_2)+\mu_1e^t+\mu_2e^{-t}}</math>| | |||
char =<math>e^{-(\mu_1+\mu_2)+\mu_1e^{it}+\mu_2e^{-it}}</math> | |||
}} | |||
The '''Skellam distribution''' is the [[discrete probability distribution|discrete]] [[probability distribution]] of the difference <math>n_1-n_2</math> of two [[statistically independent]] [[random variable]]s <math>N_1</math> and <math>N_2</math> each having [[Poisson distribution]]s with different [[expected value]]s <math>\mu_1</math> and <math>\mu_2</math>. It is useful in describing the statistics of the difference of two images with simple [[photon noise]], as well as describing the [[Spread betting|point spread]] distribution in certain sports where all scored points are equal, such as [[baseball]], [[ice hockey|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 count difference <math>k=n_1-n_2</math> from two Poisson-distributed variables with means <math>\mu_1</math> and <math>\mu_2</math> is given by: | |||
:<math> | |||
f(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}) | |||
</math> | |||
where ''I<sub>k</sub>''(''z'') is the [[Bessel_function#Modified_Bessel_functions_:_I.CE.B1.2C_K.CE.B1|modified Bessel function]] of the first kind. Note that since ''k'' is an integer we have that ''I<sub>k</sub>''(''z'')=''I<sub>|k|</sub>''(''z''). | |||
== Derivation == | |||
Note that the [[probability mass function]] of a [[Poisson distribution]] for a count ''n'' with mean μ is given by | |||
:<math> | |||
f(n;\mu)={\mu^n\over n!}e^{-\mu}.\, | |||
</math> | |||
for <math>n \ge 0</math> (and zero otherwise). The Skellam probability mass function for the difference of two counts <math>k=n_1-n_2</math> is the [[cross-correlation]] of two Poisson distributions: ([[John Gordon Skellam|Skellam]], 1946) | |||
:<math> | |||
f(k;\mu_1,\mu_2) | |||
=\sum_{n=-\infty}^\infty | |||
\!f(k\!+\!n;\mu_1)f(n;\mu_2) | |||
</math> | |||
:<math> | |||
=e^{-(\mu_1+\mu_2)}\sum_{n=-\infty}^\infty | |||
{{\mu_1^{k+n}\mu_2^n}\over{n!(k+n)!}} | |||
</math> | |||
Since the Poisson distribution is zero for negative values of the count, all terms with negative factorials in the above sum are set to zero. It can be shown that the above sum implies that | |||
:<math>\frac{f(k;\mu_1,\mu_2)}{f(-k;\mu_1,\mu_2)}=\left(\frac{\mu_1}{\mu_2}\right)^k</math> | |||
so that: | |||
:<math> | |||
f(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}) | |||
</math> | |||
where ''I'' <sub>k</sub>(z) is the [[Bessel_function#Modified_Bessel_functions_:_I.CE.B1.2C_K.CE.B1|modified Bessel function]] of the first kind. The special case for <math>\mu_1=\mu_2(=\mu)</math> is given by Irwin (1937): | |||
:<math> | |||
f\left(k;\mu,\mu\right) = e^{-2\mu}I_{|k|}(2\mu). | |||
</math> | |||
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 <math>\mu_2=0</math>. | |||
== Properties == | |||
As it is a discrete probability function, the Skellam probability mass function is normalized: | |||
:<math> | |||
\sum_{k=-\infty}^\infty f(k;\mu_1,\mu_2)=1. | |||
</math> | |||
We know that the [[Probability-generating function|probability generating function]] (pgf) for a | |||
[[Poisson distribution]] is: | |||
:<math> | |||
G\left(t;\mu\right)= e^{\mu(t-1)}. | |||
</math> | |||
It follows that the pgf, <math>G(t;\mu_1,\mu_2)</math>, for a Skellam probability function will be: | |||
:<math>G(t;\mu_1,\mu_2) = \sum_{k=0}^\infty f(k;\mu_1,\mu_2)t^k</math> | |||
:<math>= G\left(t;\mu_1\right)G\left(1/t;\mu_2\right)\,</math> | |||
:<math>= e^{-(\mu_1+\mu_2)+\mu_1 t+\mu_2/t}.</math> | |||
Notice that the form of the | |||
[[probability-generating function|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 +/-1 would change the [[support (mathematics)|support]] of the distribution. | |||
The [[moment-generating function]] is given by: | |||
:<math>M\left(t;\mu_1,\mu_2\right) = G(e^t;\mu_1,\mu_2)</math> | |||
:<math> = \sum_{k=0}^\infty { t^k \over k!}\,m_k</math> | |||
which yields the raw moments ''m<sub>k''</sub> . Define: | |||
:<math>\Delta\ \stackrel{\mathrm{def}}{=}\ \mu_1-\mu_2\,</math> | |||
:<math>\mu\ \stackrel{\mathrm{def}}{=}\ (\mu_1+\mu_2)/2.\,</math> | |||
Then the raw moments ''m''<sub>''k''</sub> are | |||
:<math>m_1=\left.\Delta\right.\,</math> | |||
:<math>m_2=\left.2\mu+\Delta^2\right.\,</math> | |||
:<math>m_3=\left.\Delta(1+6\mu+\Delta^2)\right.\,</math> | |||
The [[moment about the mean|central moments]] ''M''<sub> ''k''</sub> are | |||
:<math>M_2=\left.2\mu\right.,\,</math> | |||
:<math>M_3=\left.\Delta\right.,\,</math> | |||
:<math>M_4=\left.2\mu+12\mu^2\right..\,</math> | |||
The [[expected value|mean]], [[variance]], | |||
[[skewness]], and [[kurtosis|kurtosis excess]] are respectively: | |||
:<math>\left.\right.E(n)=\Delta\,</math> | |||
:<math>\sigma^2=\left.2\mu\right.\,</math> | |||
:<math>\gamma_1=\left.\Delta/(2\mu)^{3/2}\right.\,</math> | |||
:<math>\gamma_2=\left.1/2\mu\right..\,</math> | |||
The [[cumulant-generating function]] is given by: | |||
:<math> | |||
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 | |||
</math> | |||
which yields the [[cumulant]]s: | |||
:<math>\kappa_{2k}=\left.2\mu\right.</math> | |||
:<math>\kappa_{2k+1}=\left.\Delta\right. .</math> | |||
For the special case when μ<sub>1</sub> = μ<sub>2</sub>, an | |||
[[asymptotic expansion]] of the [[Bessel function|modified Bessel function of the first kind]] yields for large μ: | |||
:<math> | |||
f(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] | |||
</math> | |||
(Abramowitz & Stegun 1972, p. 377). | |||
Also, for this special case, when ''k'' is also large, and of | |||
[[Big O notation|order]] of the square root of 2μ, the distribution | |||
tends to a [[normal distribution]]: | |||
:<math> | |||
f(k;\mu,\mu)\sim | |||
{e^{-k^2/4\mu}\over\sqrt{4\pi\mu}}. | |||
</math> | |||
These special results can easily be extended to the more general case of | |||
different means. | |||
==References== | |||
*{{cite book|editor1-last=Abramowitz|editor1-first=Milton|editor2-last=Stegun|editor2-first=Irene A.|title=Handbook of mathematical functions with formulas, graphs, and mathematical tables|date=June 1965|publisher=Dover Publications|isbn=0486612724|url=http://store.doverpublications.com/0486612724.html|edition=Unabridged and unaltered republ. [der Ausg.] 1964, 5. Dover printing|accessdate=27 September 2012|pages=374–378}} | |||
*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. [http://links.jstor.org/sici?sici=0952-8385%281937%29100%3A3%3C415%3ATFDOTD%3E2.0.CO%3B2-R] | |||
*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. [http://stat-athens.aueb.gr/~jbn/papers/paper11.htm] | |||
*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. [http://links.jstor.org/sici?sici=0952-8385%281946%29109%3A3%3C296%3ATFDOTD%3E2.0.CO%3B2-U] | |||
{{ProbDistributions|Skellam distribution}} | |||
[[Category:Discrete distributions]] | |||
[[Category:Probability distributions]] | |||
Revision as of 01:59, 1 March 2013
Template:Probability distribution
The Skellam distribution is the discrete probability distribution of the difference of two statistically independent random variables and each having Poisson distributions with different expected values and . 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 certain 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 count difference from two Poisson-distributed variables with means and is given by:
where Ik(z) is the modified Bessel function of the first kind. Note that since k is an integer we have that Ik(z)=I|k|(z).
Derivation
Note that the probability mass function of a Poisson distribution for a count n with mean μ is given by
for (and zero otherwise). The Skellam probability mass function for the difference of two counts is the cross-correlation of two Poisson distributions: (Skellam, 1946)
Since the Poisson distribution is zero for negative values of the count, all terms with negative factorials in the above sum are set to zero. It can be shown that the above sum implies that
so that:
where I k(z) is the modified Bessel function of the first kind. The special case for is given by Irwin (1937):
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 .
Properties
As it is a discrete probability function, the Skellam probability mass function is normalized:
We know that the probability generating function (pgf) for a Poisson distribution is:
It follows that the pgf, , for a Skellam probability function will be:
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 +/-1 would change the support of the distribution.
The moment-generating function is given by:
which yields the raw moments mk . Define:
Then the raw moments mk are
The central moments M k are
The mean, variance, skewness, and kurtosis excess are respectively:
The cumulant-generating function is given by:
which yields the cumulants:
For the special case when μ1 = μ2, an asymptotic expansion of the modified Bessel function of the first kind yields for large μ:
(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:
These special results can easily be extended to the more general case of different means.
References
- 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.
My blog: http://www.primaboinca.com/view_profile.php?userid=5889534 - 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. 21 year-old Glazier James Grippo from Edam, enjoys hang gliding, industrial property developers in singapore developers in singapore and camping. Finds the entire world an motivating place we have spent 4 months at Alejandro de Humboldt National Park.
- 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]
55 yrs old Metal Polisher Records from Gypsumville, has interests which include owning an antique car, summoners war hack and spelunkering. Gets immense motivation from life by going to places such as Villa Adriana (Tivoli).
my web site - summoners war hack no survey ios