Learn R Programming

Distributacalcul (version 0.2.2)

d_pareto: Density function of the Pareto distribution

Description

Density function of the Pareto distribution with shape parameter \(\alpha\) and rate parameter \(\lambda\).

Usage

d_pareto(x, shape, rate = 1/scale, scale = 1/rate)

Arguments

x

quantile.

shape

shape parameter \(\alpha\), must be positive.

rate

\(\lambda\) rate parameter, must be positive.

scale

alternative parameterization to the rate parameter, scale = 1 / rate.

Value

Function :

Invalid parameter values will return an error detailing which parameter is problematic.

Details

The Pareto distribution with rate parameter \(\lambda\) as well as shape parameter \(\alpha\) has density: $$f\left(x\right) = \frac{\alpha% \lambda^{\alpha}}{(\lambda + x)^{\alpha + 1}}$$ for \(x \in \mathcal{R}^+\), \(\alpha, \lambda > 0\).

See Also

Other Pareto Distribution: E_pareto(), Elim_pareto(), Etronq_pareto(), Mexcess_pareto(), SL_pareto(), TVaR_pareto(), V_pareto(), VaR_pareto(), kthmoment_pareto(), p_pareto()

Examples

Run this code
# NOT RUN {
# With scale parameter
d_pareto(x = 2, shape = 2, scale = 5)

# With rate parameter
d_pareto(x = 2, shape = 2, rate = 5)

# }

Run the code above in your browser using DataLab