Learn R Programming

extremevalues (version 2.0)

pareto: Pareto distribution

Description

Pareto density distribution, quantile function and random generator.

Usage

dpareto(x, xm=1, alpha=1)
qpareto(p, xm=1, alpha=1)
rpareto(n, xm=1, alpha=1)

Arguments

xm
location parameter (mode of distribution)
alpha
spread parameter
x
Vector of realizations
p
Vector of probabilities
n
number of samples to draw

Value

  • dparetoProbability density
  • qparetoQuantile at probability p (inverse cdf)
  • rparetoRandom value

Examples

Run this code
q <- qpareto(0.5);

Run the code above in your browser using DataLab