inequality.atkinson.Atkinson#

class inequality.atkinson.Atkinson(y, epsilon)[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

An array of income or wealth 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.

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)[source]#

Methods

__init__(y, epsilon)