Learn R Programming

ParetoPosStable (version 1.0.1)

dPPS: Density of the Pareto Positive Stable (PPS) distribution

Description

dPPS returns values of the density for a PPS distribution

Usage

dPPS(x, lam, sc, v)

Arguments

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

Value

  • The densities.

Details

See Sarabia and Prieto (2009) for the expression of the density.

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

pPPS for the cumulative distribution 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