Learn R Programming

ParetoPosStable (version 1.0.1)

hPPS: Hazard function of the Pareto Positive Stable (PPS) distribution

Description

hPPS returns values of the hazard function for the PPS distribution.

Usage

hPPS(x, lam, sc, v)

Arguments

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

Value

  • The hazard values.

Details

See Sarabia and Prieto (2009) for the expression of the hazard 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, pPPS for the cumulative distribution function, qPPS for the quantile 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