stable_rnd: Skew stable distribution random sample generation.
Description
stable_rnd(N, pars) generates N random samples of a skew stable distribuiton
with parameters pars = c(alpha, beta, sigma, mu) using the Chambers, Mallows,
and Stuck (1976) method.
Usage
stable_rnd(N, pars, parametrization = 0L)
Arguments
N
Number of values to generate.
pars
Vector with an initial estimation of the parameters. pars_init = c(alpha, beta, sigma, mu), where
Parametrization used for the skew stable distribution, as defined by JP Nolan (1997). By default, parametrization = 0.
Value
A numeric vector.
References
Chambers JM, Mallows CL, Stuck BW (1976). A Method for Simulating Stable Random Variables. Journal of the American Statistical Association, 71(354), 340-344. doi:10.1080/01621459.1976.10480344.