inequality.atkinson.Atkinson#

class inequality.atkinson.Atkinson(y, epsilon, column=None)[source]#

A class to calculate and store the Atkinson index and the equally distributed equivalent (EDE).

The Atkinson index is a measure of economic inequality that takes into account the social aversion to inequality. The equally distributed equivalent (EDE) represents the level of income that, if equally distributed, would give the same level of social welfare as the actual distribution.

See: [Atk70].

Parameters:
y: array-like, pandas.Series, or pandas.DataFrame

An array of income or wealth values. For a pandas.DataFrame, pass column to select the values.

epsilon: float

The inequality aversion parameter. Higher values of epsilon give more weight to the lower end of the distribution, making the index more sensitive to changes in the lower tail.

column: str, optional

Name of the column holding the values when y is a pandas.DataFrame.

Attributes:
y: array-like

The input array of income or wealth values.

epsilon: float

The inequality aversion parameter.

A: float

The calculated Atkinson index.

EDE: float

The equally distributed equivalent (EDE) of the income or wealth distribution.

__init__(y, epsilon, column=None)[source]#

Methods

__init__(y, epsilon[, column])