dpareto: Probability density of Pareto distributions

Description Usage Arguments Value Examples

Description

Gives NA on values below the threshold

Usage

1
dpareto(x, threshold = 1, exponent, log = FALSE)

Arguments

x

Data vector of log probability densities

threshold

numeric value to define the start of the tail

exponent

the exponent obtained from the pareto.fit function

log

logical, should the values be log-transformed?

Value

Vector of (log) probability densities

Examples

1
2
3
4
5
6
set.seed(1)
x<-abs(rnorm(1000))
n<-length(x)
exponent<-1+n/sum(log(x))
dp<-dpareto(x,exponent=exponent)
plot(dp)

federicogiorgi/vulcan documentation built on May 27, 2019, 7:25 a.m.