PPS: The Pareto Positive Stable (PPS) distribution
Description
Density, distribution function, hazard function, quantile function and random generation for the Pareto Positive Stable (PPS) distribution with parameters lam, sc and v.
logical; if TRUE, probabilities/densities p are returned as $log(p)$.
lower.tail
logical; if TRUE (default), probabilities are $P[X \le x]$, otherwise, $P[X > x]$.
log.p
logical; if TRUE, probabilities/densities p are returned as $log(p)$.
p
vector of probabilities.
n
number of random values to return.
Value
dPPS gives the (log) density, pPPS gives the (log) distribution function, qPPS gives the quantile function, and rpois generates random samples.
Invalid parameters will result in return value NaN, with a warning.
The length of the result is determined by n for rPPS, and is the common length of the numerical arguments for the other functions.
Details
The PPS distribution has density
$$f(x) = \lambda \nu [log(x / \sigma)] ^ (\nu-1) exp(- \lambda [log(x / \sigma)] ^ \nu) / x,$$
cumulative distribution function
$$F(x) = 1 - exp(- \lambda [log(x / \sigma) ^ \nu]),$$
quantile function
$$Q(p) = \sigma exp([- (1 / \lambda) log(1 - p)] ^ (1 / \nu))$$
and hazard function
$$\lambda \nu (log(x / \sigma)) ^ (\nu - 1) x ^ (-1).$$
See Sarabia and Prieto (2009) for the details about the numbers random generation.
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.