Convolution of probability distributions explained

The convolution/sum of probability distributions arises in probability theory and statistics as the operation in terms of probability distributions that corresponds to the addition of independent random variables and, by extension, to forming linear combinations of random variables. The operation here is a special case of convolution in the context of probability distributions.

Introduction

The probability distribution of the sum of two or more independent random variables is the convolution of their individual distributions. The term is motivated by the fact that the probability mass function or probability density function of a sum of independent random variables is the convolution of their corresponding probability mass functions or probability density functions respectively. Many well known distributions have simple convolutions: see List of convolutions of probability distributions.

The general formula for the distribution of the sum

Z=X+Y

of two independent integer-valued (and hence discrete) random variables is[1]

P(Z=z)=

infty
\sum
k=-infty

P(X=k)P(Y=z-k)

For independent, continuous random variables with probability density functions (PDF)

f,g

and cumulative distribution functions (CDF)

F,G

respectively, we have that the CDF of the sum is:
infty
H(z)=\int
-infty

F(z-t)g(t)dt=

infty
\int
-infty

G(t)f(z-t)dt

If we start with random variables

X

and

Y

, related by

Z=X+Y

, and with no information about their possible independence, then:

fZ(z)=\int

infty
\limits
-infty

fXY(x,z-x)~dx

However, if

X

and

Y

are independent, then:

fXY(x,y)=fX(x)fY(y)

and this formula becomes the convolution of probability distributions:

fZ(z)=\int

infty
\limits
-infty

fX(x)~fY(z-x)~dx

Example derivation

There are several ways of deriving formulae for the convolution of probability distributions. Often the manipulation of integrals can be avoided by use of some type of generating function. Such methods can also be useful in deriving properties of the resulting distribution, such as moments, even if an explicit formula for the distribution itself cannot be derived.

One of the straightforward techniques is to use characteristic functions, which always exists and are unique to a given distribution.

Convolution of Bernoulli distributions

The convolution of two independent identically distributed Bernoulli random variables is a binomial random variable. That is, in a shorthand notation,

2
\sum
i=1

Bernoulli(p)\simBinomial(2,p)

To show this let

Xi\simBernoulli(p),0<p<1,1\lei\le2

and define
2
Y=\sum
i=1

Xi

Also, let Z denote a generic binomial random variable:

Z\simBinomial(2,p)

Using probability mass functions

As

X1andX2

are independent,
2
\begin{align}P[Y=n]&=P\left[\sum
i=1

Xi=n\right]\ &=\summ\inZP[X1=m] x P[X2=n-m]\\ &=\summ\inZ\left[\binom{1}{m}pm\left(1-p\right)1-m\right]\left[\binom{1}{n-m}pn-m\left(1-p\right)1-n+m\right]\\ &=pn\left(1-p\right)2-n\summ\inZ\binom{1}{m}\binom{1}{n-m}\\ &=pn\left(1-p\right)2-n\left[\binom{1}{0}\binom{1}{n}+\binom{1}{1}\binom{1}{n-1}\right]\\ &=\binom{2}{n}pn\left(1-p\right)2-n=P[Z=n] \end{align}

Here, we used the fact that

\tbinom{n}{k}=0

for k>n in the last but three equality, and of Pascal's rule in the second last equality.

Using characteristic functions

The characteristic function of each

Xk

and of

Z

is
\varphi
Xk

(t)=1-p+peit   

it
\varphi
Z(t)=\left(1-p+pe

\right)2

where t is within some neighborhood of zero.
2
it\sumXk
k=1
\begin{align}\varphi
Y(t)&=\operatorname{E}\left(e
2
\right)=\operatorname{E}\left(\prod
k=1
itXk
e
2
\right)\\ &=\prod
k=1
itXk
\operatorname{E}\left(e
2
\right)=\prod
k=1

\left(1-p+peit\right)\\ &=\left(1-p+peit

2=\varphi
\right)
Z(t)\end{align}

The expectation of the product is the product of the expectations since each

Xk

is independent.Since

Y

and

Z

have the same characteristic function, they must have the same distribution.

See also

References

Notes and References

  1. [Susan P. Holmes|Susan Holmes ]