Convolution random number generator
Appearance
In mathematics, convolution sampling is a technique used to generate random variates 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).
Example
Consider the random variable , defined as the sum of k random variables each with an exponential distribution :see Gamma distribution.
Notice that:
One can now generate samples using a random number generator for the exponential distribution:
if then