rPPS: Random generation for the Pareto Positive Stable (PPS) distribution
Description
rPPS generates pseudo-random values of a PPS distribution.
Usage
rPPS(n, lam, sc, v)
Arguments
n
number of random values to return.
lam
first shape parameter.
sc
scale parameter.
v
second shape parameter.
Value
The generated random values.
Details
See Sarabia and Prieto (2009) for the description of the generating process.
References
Sarabia, J.M and Prieto, F. (2009). The Pareto-positive stable distribution: A new descriptive model for city size data, Physica A: Statistical Mechanics and its Applications, 388(19), 4179-4191.
See Also
dPPS for the density function, pPPS for the cumulative distribution function, qPPS for the quantile function and hPPS for the hazard function.