qgpd {ROOPSD}R Documentation

qgpd

Description

Inverse of CDF (or SF) function of Generalized Pareto distribution

Usage

qgpd(p, loc = 0, scale = 1, shape = 0, lower.tail = TRUE)

Arguments

p

[vector] Vector of probabilities

loc

[vector] Location parameter

scale

[vector] Scale parameter

shape

[vector] Shape parameter

lower.tail

[bool] Return inverse of CDF if TRUE, else return inverse of survival function

Value

[vector] Inverse of CDF or SF of GPD for probabilities p

Examples

## Data
loc = 1
scale = 0.5
shape = -0.2
p = base::seq( 0.01 , 0.99 , length = 100 )
q = qgpd( p , loc = loc , scale = scale , shape = shape )

[Package ROOPSD version 0.3.9 Index]