Learn R Programming

ParetoPosStable (version 1.0.1)

pPPS: Probability distribution function of the Pareto Positive Stable (PPS) distribution

Description

pPPS returns the probability distribution function values for the PPS distribution.

Usage

pPPS(x, lam, sc, v)

Arguments

x
vector of quantiles.
lam
first shape parameter.
sc
scale parameter.
v
second shape parameter.

Value

  • The cumulative probabilities.

Details

See Sarabia and Prieto (2009) for the expression of the cumulative distribution function.

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, qPPS for the quantile function, hPPS for the hazard function, and rPPS for the random generation of data.

Examples

Run this code
print(x <- sort(rPPS(10, 1.2, 100, 2.3)))
dPPS(x, 1.2, 100, 2.3)
pPPS(x, 1.2, 100, 2.3)
qPPS(pPPS(x, 1.2, 100, 2.3), 1.2, 100, 2.3)
hPPS(x, 1.2, 100, 2.3)

Run the code above in your browser using DataLab