applet-magic.com
Thayer Watkins
Silicon Valley
& Tornado Alley
USA

The Generation of Random Variables
Having a Levy-Stable Distribution

Simulations of stochastic phenomena often use random variables with a normal distribution. The Central Limit Theorem seemingly provides a justification for such a practice. But the sum of a large number of independently random variables does not always approach a normal distribution. The more general version of the Central Limit Theorem says that the limit will a stable distribution. The family of stable distribution includes the normal distribution as a special case. The more general family, identified by the French mathematician Paul Lévy, is characterized by four parameters.

For a normal distribution α=2, β=0, ν is equal to the standard deviation and δ is equal to the mean.

Three mathematical statisticians at Bell Laboratories in New Jersey developed an efficient algorithm for generating random variables with stable distributions with specified values for the above parameters. There names are J.M. Chambers, C.L. Mallows and B.W. Stuck. The algorithm will be referred to later as the CMS algorithm. It operates by taking two random variables which are uniformly distributed on the interval [0, 1] and combines them into a single variable which has the desired distribution.

The CMS takes as input the values of alpha and beta and generates a variable with μ (mean) zero and ν (dispersion) equal to unity. The output of the algorithm can be multiplied by any desired value of the dispersion parameter ν and an amount μ added to that result to give a random variable with the mean and dispersion.

The CMS Algorithm

The variable s has the desired distribution.

In the displays below samples of 2000 are generated using the CMS algorithm and the histogram compiled. Each time the refresh button is clicked new samples of 2000 are generated. The values that are beyond the lower and upper limits are tabulated at those limits.

First there is the normal distribution.

In this case the horizontal axis in terms of standard deviation units. Note the nearly complete absence of any values beyond four.

Note how much the distribution looks like that of a normal distribution except for the fact that there are many cases beyond four and even beyond eight.

This distribution is skewed to the left. Note the much higher frequency of the extreme cases of values of minus eight or beyond.


HOME PAGE OF applet-magic
HOME PAGE OF Thayer Watkins