Extreme Value Index

evi(distribution)

Arguments

distribution

Distribution to obtain EVI from.

Value

A single numeric.

Examples

evi(dst_gpd(0, 1, 2))
#> [1] 2
evi(dst_gpd(0, 1, -1))
#> [1] -1
evi(dst_unif(0, 10))
#> [1] -1
evi(dst_norm(5, 5))
#> [1] 0
evi(dst_empirical(1:10))
#> [1] NaN