API reference

Theil Inequality Measures


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


Classic Gini coefficient in absolute deviation form.

inequality.gini.Gini_Spatial(x, w[, ...])

Spatial Gini coefficient.