The Gini coefficient is the mean expected deviation between any two data values scaled by 2 times the mean.