API reference

Theil Inequality Measures

inequality.theil.Theil(y) Classic Theil measure of inequality
inequality.theil.TheilD(y, partition) Decomposition of Theil’s T based on partitioning of observations into exhaustive and mutually exclusive groups
inequality.theil.TheilDSim(y, partition[, …]) Random permutation based inference on Theil’s inequality decomposition.

Gini Inequality Measures

inequality.gini.Gini(x) Classic Gini coefficient in absolute deviation form
inequality.gini.Gini_Spatial(x, w[, …]) Spatial Gini coefficient