Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Latest commit

 

History

History
7 lines (6 loc) · 467 Bytes

gini.md

File metadata and controls

7 lines (6 loc) · 467 Bytes

Gini coefficient

The Gini coefficient is a single number aimed at measuring the degree of inequality in a distribution. It is usually defined mathematically based on the Lorenz curve. A Gini coefficient of zero expresses perfect equality, where all values are the same, whereas a coefficient of 1 expresses maximal inequality among values.

gini_coeff(data::Vector{<:Real})
gini_coeff(curve::ABCcurve)