inequality.gini.Gini#

class inequality.gini.Gini(x)[source]#

Classic Gini coefficient in absolute deviation form.

Parameters:
ynumpy.array

An array in the shape \((n,1)\) containing the attribute values.

Attributes:
gfloat

Gini coefficient.

__init__(x)[source]#

Methods