Learn R Programming

extremevalues (version 2.3.4)

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)

Value

dpareto

Probability density

qpareto

Quantile at probability p (inverse cdf)

rpareto

Random value

Arguments

xm

location parameter (mode of distribution)

alpha

spread parameter

x

Vector of realizations

p

Vector of probabilities

n

number of samples to draw

Author

Mark van der Loo www.markvanderloo.eu

Examples

Run this code
q <- qpareto(0.5);

Run the code above in your browser using DataLab