Convolution sampling
From Wikipedia, the free encyclopedia
In mathematics, convolution sampling is a technique used to generate observations from a distribution.
A number of distributions can be expressed in terms of the (possibly weighted) sum of two or more random variables from other distributions (The distribution of the sum is the convolution of the distributions of the individual random variables).
[edit] Example
Consider the random variable , defined as the sum of k random variables each with distribution exp(kθ) Notice that
We can now generate Erlang(k,θ) samples using the sampler for the exponential distribution:
if then