Stable Random Variables
While stable densities and probabilities are difficult to compute, stable random variables are not. The formulae to generate stable random variables were presented by Chambers, Mallows and Stuck in 1976 (see Reference page). Thousands of these random variables can be generated very quickly, making simulations easy. The plot below shows 10,000 random variables for parameters, {α, β, γ, δ} = {1.5, -1, 1, 0}, sorted into an empirical distribution function with equal probabilities assigned to each random variable based on the sample size (blue). The red curve is the calculated distribution function.
The plot above suggests a way to check on the fit of a stable sample to parameters. The graph above however will not give a very accurate picture of the tail fit. For this reason a log-log plot is preferred. The graph below takes the absolute value of x < 0, so that the tail slopes will be similar; 1-probability is used for x > 0. A normal distribution fit to the data is shown in green. Not that the data sample was maximally skewed to the left so the light right tail is not linear and decays very rapidly.
Below is the fit to a random sample size 1000 generated for parameters: {1.5, 0.5, 1, 0}. The fit for the smaller sample is not so tight. Since β is no longer maximally skewed the tails in the graphic have the same slope which is minus α, in this kind of plot.
For a detailed exploration of the stable random number generator follow the link.
© Copyright 2008 mathestate Fri 19 Dec 2008