rpstable {mixSSG} | R Documentation |
Simulating positive stable random variable.
Description
The cumulative distribution function of positive stable distribution is given by
where is tail thickness or index of stability and
Kanter (1975) used the above integral transform to simulate positive stable random variable as
in which and
independently follows an exponential distribution with mean unity.
Usage
rpstable(n, alpha)
Arguments
n |
the number of samples required. |
alpha |
the tail thickness parameter. |
Value
simulated realizations of size from positive
-stable distribution.
Author(s)
Mahdi Teimouri
References
M. Kanter, 1975. Stable densities under change of scale and total variation inequalities, Annals of Probability, 3(4), 697-707.
Examples
rpstable(10, alpha = 1.2)
[Package mixSSG version 2.1.1 Index]