inequality.wolfson.wolfson#

inequality.wolfson.wolfson(data)[source]#

Calculate the Wolfson Bipolarization Index for a given income distribution.

This function takes an income distribution and calculates the Wolfson Bipolarization Index. The input can be a sequence or a NumPy array. The Wolfson index is constructed from the polarization curve, which is a rotation and rescaling of the Lorenz curve by the median income:

\[W = (2D_{50} - G)\frac{\mu}{m}\]

Where \(D_{50} =0.5 - L(0.5)\), \(L(0.5)\) is the value of the Lorenz curve at the median, \(G\) is the Gini index, \(\mu\) is the mean, and \(m\) is the median.

See: [Wol94].

Parameters:
dataarray_like or array

A sequence or NumPy array representing the income or wealth distribution.

Returns:
float

The Wolfson Bipolarization Index value.