Area above the eCDF curve

area_above_ecdf(x)

Arguments

x

A vector of similarity values.

Details

Denote F(x) as the eCDF (empirical Cumulative Distribution Function) of the similarity vector x, this function calculates the area above the eCDF curve, which is 1 - \int_0^1 F(x)dx.

Value

A numeric value.

Examples

# There is no example
NULL
#> NULL