Stable Distribution Function

The simple algorithm used in this Demonstration can calculate the stable distribution function and its first several derivatives with good accuracy for . It is offered to help with financial analysis where the data generally has the shape parameter greater than 1. The Nolan 1-parameterization is used where the parameters have the characteristics listed below.
is the distribution shape parameter, . For the result is the normal distribution; is the tail exponent of the distribution: lower values give fatter tails.
is the skewness parameter in the range (-1, 1).
is the scale parameter.
is the location parameter; when as in this Demonstration is the expectation of the distribution.

The speed of the algorithm may be considerably enhanced for the density and distribution functions by implementing each derivative separately and using only the real component of the integrand. For example the code samples below give the integrands for the distribution function, followed by the density function for .
NIntegrate in recent versions of Mathematica can handle this integrand quite well. Be sure to set: Method -> {Automatic, "SymbolicProcessing" -> 0}.
For many applications in finance and software for stable distributions visit mathestate.
comments
 
Powered by Wolfram Mathematica
Give us your feedback
Give us your feedback

Source page:




 often  occasionally  never

Note: Please do not include anything you consider confidential or proprietary. Your message and contact information may be shared with the author of any specific Demonstration for which you give feedback, but will not otherwise be published or distributed.
Privacy Policy »

Note: To run this Demonstration you need the free
Mathematica Player
or Mathematica 7+
Download or upgrade to Mathematica Player 7
I already have Mathematica Player or Mathematica 7+