Theil index
The Theil index is a statistic primarily used to measure economic inequality[1] and other economic phenomena, though it has also been used to measure racial segregation.[2][3]
The Theil index TT is the same as redundancy in information theory which is the maximum possible entropy of the data minus the observed entropy. It is a special case of the generalized entropy index. It can be viewed as a measure of redundancy, lack of diversity, isolation, segregation, inequality, non-randomness, and compressibility. It was proposed by a Dutch econometrician Henri Theil (1924–2000) at the Erasmus University Rotterdam.[3]
Henri Theil himself said (1967): "The (Theil) index can be interpreted as the expected information content of the indirect message which transforms the population shares as prior probabilities into the income shares as posterior probabilities."[4]
Amartya Sen noted, "But the fact remains that the Theil index is an arbitrary formula, and the average of the logarithms of the reciprocals of income shares weighted by income is not a measure that is exactly overflowing with intuitive sense."[4]
Formula
For a population of N "agents" each with characteristic x, the situation may be represented by the list xi (i = 1,...,N) where xi is the characteristic of agent i. For example, if the characteristic is income, then xi is the income of agent i.
The Theil T index is defined as[5]
- [math]\displaystyle{ T_T=T_{\alpha=1} = \frac{1}{N}\sum_{i=1}^N \frac{x_i}{\mu} \ln\left(\frac{x_i}{\mu} \right) }[/math]
and the Theil L index is defined as[5]
- [math]\displaystyle{ T_L = T_{\alpha=0}=\frac{1}{N}\sum_{i=1}^N \ln\left(\frac{\mu}{x_i}\right) }[/math]
where [math]\displaystyle{ \mu }[/math] is the mean income:
- [math]\displaystyle{ \mu=\frac{1}{N}\sum_{i=1}^N x_i }[/math]
Theil-L is an income-distribution's dis-entropy per person, measured with respect to maximum entropy (...which is achieved with complete equality).
(In an alternative interpretation of it, Theil-L is the natural-logarithm of the geometric-mean of the ratio: (mean income)/(income i), over all the incomes. The related Atkinson(1) is just 1 minus the geometric-mean of (income i)/(mean income),over the income distribution.)
Because a transfer between a larger income & a smaller one will change the smaller income's ratio more than it changes the larger income's ratio, the transfer-principle is satisfied by this index.
Equivalently, if the situation is characterized by a discrete distribution function fk (k = 0,...,W) where fk is the fraction of the population with income k and W = Nμ is the total income, then [math]\displaystyle{ \sum_{k=0}^W f_k=1 }[/math] and the Theil index is:
- [math]\displaystyle{ T_T=\sum_{k=0}^W\, f_k\, \frac k \mu \ln\left(\frac k \mu \right) }[/math]
where [math]\displaystyle{ \mu }[/math] is again the mean income:
- [math]\displaystyle{ \mu=\sum_{k=0}^W k f_k }[/math]
Note that in this case income k is an integer and k=1 represents the smallest increment of income possible (e.g., cents).
if the situation is characterized by a continuous distribution function f(k) (supported from 0 to infinity) where f(k) dk is the fraction of the population with income k to k + dk, then the Theil index is:
- [math]\displaystyle{ T_T=\int_0^\infty f(k) \frac k \mu \ln\left(\frac k \mu \right) dk }[/math]
where the mean is:
- [math]\displaystyle{ \mu=\int_0^\infty k f(k) \, dk }[/math]
Theil indices for some common continuous probability distributions are given in the table below:
Income distribution function PDF(x) (x ≥ 0) Theil coefficient (nats) Dirac delta function [math]\displaystyle{ \delta(x-x_0),\, x_0\gt 0 }[/math] 0 Uniform distribution [math]\displaystyle{ \begin{cases} \frac{1}{b-a} & a\le x\le b \\ 0 & \text{otherwise} \end{cases} }[/math] [math]\displaystyle{ \ln \left( \frac{2a}{(a+b)\sqrt{e}} \right) + \frac{b^2}{b^2-a^2}\ln (b/a) }[/math] Exponential distribution [math]\displaystyle{ \lambda e^{-x\lambda},\,\,x\gt 0 }[/math] [math]\displaystyle{ 1- }[/math] [math]\displaystyle{ \gamma }[/math] Log-normal distribution [math]\displaystyle{ \frac{1}{\sigma\sqrt{2\pi}} e^{(-(\ln(x)-\mu)^2)/\sigma^2} }[/math] [math]\displaystyle{ \frac{\sigma^2}{2} }[/math] Pareto distribution [math]\displaystyle{ \begin{cases} \frac{\alpha k^\alpha}{x^{\alpha+1}} & x\ge k\\0 & x \lt k \end{cases} }[/math] [math]\displaystyle{ \ln(1\!-\!1/\alpha)+\frac{1}{\alpha-1} }[/math] (α>1) Chi-squared distribution [math]\displaystyle{ \frac{2^{-k/2} e^{-x/2} x^{k/2 - 1}}{\Gamma(k/2)} }[/math] [math]\displaystyle{ \ln(2/k)+ }[/math] [math]\displaystyle{ \psi^{(0)} }[/math][math]\displaystyle{ (1\!+\!k/2) }[/math] Gamma distribution[6] [math]\displaystyle{ \frac{e^{-x/\theta}x^{k-1}\theta^{-k}}{\Gamma(k)} }[/math] [math]\displaystyle{ \psi^{(0)} }[/math][math]\displaystyle{ (1+k)-\ln(k) }[/math] Weibull distribution [math]\displaystyle{ \frac k \lambda \left(\frac {x}{\lambda} \right)^{k-1} e^{-(x/\lambda)^k} }[/math] [math]\displaystyle{ \frac{1}{k} }[/math] [math]\displaystyle{ \psi^{(0)} }[/math][math]\displaystyle{ (1+1/k)-\ln\left(\Gamma(1+1/k)\right) }[/math]
If everyone has the same income, then TT equals 0. If one person has all the income, then TT gives the result [math]\displaystyle{ \ln N }[/math], which is maximum inequality. Dividing TT by [math]\displaystyle{ \ln N }[/math] can normalize the equation to range from 0 to 1, but then the independence axiom is violated: [math]\displaystyle{ T[x\cup x]\ne T[x] }[/math] and does not qualify as a measure of inequality.
The Theil index measures an entropic "distance" the population is away from the egalitarian state of everyone having the same income. The numerical result is in terms of negative entropy so that a higher number indicates more order that is further away from the complete equality. Formulating the index to represent negative entropy instead of entropy allows it to be a measure of inequality rather than equality.
Relation to Atkinson Index
The Theil index can be transformed into an Atkinson index, which has a range between 0 and 1 (0% and 100%), where 0 indicates perfect equality and 1 (100%) indicates maximum inequality. (See Generalized entropy index for the transformation.)
Derivation from entropy
The Theil index is derived from Shannon's measure of information entropy [math]\displaystyle{ S }[/math], where entropy is a measure of randomness in a given set of information. In information theory, physics, and the Theil index, the general form of entropy is
- [math]\displaystyle{ S = k \sum_{i=1}^N \left( p_i \log_{a} \left( {\frac{1}{p_i}} \right) \right) = - k \sum_{i=1}^N \left( p_i \log_{a} \left( {p_i} \right) \right) }[/math]
- where
- [math]\displaystyle{ i }[/math] is an individual item from the set (such as an individual member from a population, or an individual byte from a computer file).
- [math]\displaystyle{ p_i }[/math] is the probability of finding [math]\displaystyle{ i }[/math] from a random sample from the set.
- [math]\displaystyle{ k }[/math] is a constant.[note 1]
- [math]\displaystyle{ \log_{a} \left( {x} \right) }[/math] is a logarithm with a base equal to [math]\displaystyle{ a }[/math].[note 2]
When looking at the distribution of income in a population, [math]\displaystyle{ p_i }[/math] is equal to the ratio of a particular individual's income to the total income of the entire population. This gives the observed entropy [math]\displaystyle{ S_\text{Theil} }[/math] of a population to be:
- [math]\displaystyle{ S_\text{Theil} = \sum_{i=1}^N \left( \frac{x_i}{ N \bar{x} } \ln \left( {\frac{ N \bar{x} }{x_i}} \right) \right) }[/math]
- where
- [math]\displaystyle{ x_i }[/math] is the income of a particular individual.
- [math]\displaystyle{ \left( N \bar{x} \right) }[/math] is the total income of the entire population, with
- [math]\displaystyle{ N }[/math] being the number of individuals in the population.
- [math]\displaystyle{ \bar{x} }[/math] ("x bar") being the average income of the population.
- [math]\displaystyle{ \ln \left( x \right) }[/math] is the natural logarithm of [math]\displaystyle{ x }[/math]: [math]\displaystyle{ \left( \log_{e} \left( x \right) \right) }[/math].
The Theil index [math]\displaystyle{ T_T }[/math] measures how far the observed entropy ([math]\displaystyle{ S_\text{Theil} }[/math], which represents how randomly income is distributed) is from the highest possible entropy ([math]\displaystyle{ S_\text{max} = \ln \left( {N} \right) }[/math],[note 3] which represents income being maximally distributed amongst individuals in the population– a distribution analogous to the [most likely] outcome of an infinite number of random coin tosses: an equal distribution of heads and tails). Therefore, the Theil index is the difference between the theoretical maximum entropy (which would be reached if the incomes of every individual were equal) minus the observed entropy:
- [math]\displaystyle{ T_T = S_\text{max} - S_\text{Theil} = \ln \left( {N} \right) - S_\text{Theil} }[/math]
When [math]\displaystyle{ x }[/math] is in units of population/species, [math]\displaystyle{ S_\text{Theil} }[/math] is a measure of biodiversity and is called the Shannon index. If the Theil index is used with x=population/species, it is a measure of inequality of population among a set of species, or "bio-isolation" as opposed to "wealth isolation".
The Theil index measures what is called redundancy in information theory.[5] It is the left over "information space" that was not utilized to convey information, which reduces the effectiveness of the price signal.[original research?] The Theil index is a measure of the redundancy of income (or other measure of wealth) in some individuals. Redundancy in some individuals implies scarcity in others. A high Theil index indicates the total income is not distributed evenly among individuals in the same way an uncompressed text file does not have a similar number of byte locations assigned to the available unique byte characters.
Notation | Information theory | Theil index TT |
---|---|---|
[math]\displaystyle{ N }[/math] | number of unique characters | number of individuals |
[math]\displaystyle{ i }[/math] | a particular character | a particular individual |
[math]\displaystyle{ x_i }[/math] | count of ith character | income of ith individual |
[math]\displaystyle{ N\bar{x} }[/math] | total characters in document | total income in population |
[math]\displaystyle{ T_T }[/math] | unused information space | unused potential in price mechanism[original research?] |
data compression | progressive tax[original research?] |
Decomposability
According to the World Bank,
"The best-known entropy measures are Theil’s T ([math]\displaystyle{ T_T }[/math]) and Theil’s L ([math]\displaystyle{ T_L }[/math]), both of which allow one to decompose inequality into the part that is due to inequality within areas (e.g. urban, rural) and the part that is due to differences between areas (e.g. the rural-urban income gap). Typically at least three-quarters of inequality in a country is due to within-group inequality, and the remaining quarter to between-group differences."[7]
If the population is divided into [math]\displaystyle{ m }[/math] subgroups and
- [math]\displaystyle{ s_i }[/math] is the income share of group [math]\displaystyle{ i }[/math],
- [math]\displaystyle{ N }[/math] is the total population and [math]\displaystyle{ N_i }[/math] is the population of group [math]\displaystyle{ i }[/math],
- [math]\displaystyle{ T_i }[/math] is the Theil index for that subgroup,
- [math]\displaystyle{ \overline{x}_i }[/math] is the average income in group [math]\displaystyle{ i }[/math], and
- [math]\displaystyle{ \mu }[/math] is the average income of the population,
then Theil's T index is
- [math]\displaystyle{ T_T = \sum_{i=1}^m s_i T_i + \sum_{i=1}^m s_i \ln{\frac{\overline{x}_i}{\mu}} }[/math] for [math]\displaystyle{ s_i = \frac{N_i}{N}\frac{\overline{x}_i}{\mu} }[/math]
For example, inequality within the United States is the average inequality within each state, weighted by state income, plus the inequality between states.
- Note: This image is not the Theil Index in each area of the United States, but of contributions to the Theil Index for the U.S. by each area. The Theil Index is always positive, although individual contributions to the Theil Index may be negative or positive.
The decomposition of the Theil index which identifies the share attributable to the between-region component becomes a helpful tool for the positive analysis of regional inequality as it suggests the relative importance of spatial dimension of inequality.[8]
Theil's T versus Theil's L
Both Theil's T and Theil's L are decomposable. The difference between them is based on the part of the outcomes distribution that each is used for. Indexes of inequality in the generalized entropy (GE) family are more sensitive to differences in income shares among the poor or among the rich depending on a parameter that defines the GE index. The smaller the parameter value for GE, the more sensitive it is to differences at the bottom of the distribution.[9]
- GE(0) = Theil's L and is more sensitive to differences at the lower end of the distribution. It is also referred to as the mean log deviation measure.
- GE(1) = Theil's T and is more sensitive to differences at the top of the distribution.
The decomposability is a property of the Theil index which the more popular Gini coefficient does not offer. The Gini coefficient is more intuitive to many people since it is based on the Lorenz curve. However, it is not easily decomposable like the Theil.
Applications
In addition to multitude of economic applications, the Theil index has been applied to assess performance of irrigation systems[10] and distribution of software metrics.[11]
See also
- Generalized entropy index
- Atkinson index
- Gini coefficient
- Hoover index
- Income inequality metrics
- Suits index
- Wealth condensation
- Diversity index
Notes
- ↑ When this equation is used in physics, [math]\displaystyle{ k }[/math] typically represents the Boltzmann constant. In information theory or statistics, [math]\displaystyle{ k }[/math] is typically equal to 1 (such as in the Theil Index).
- ↑ In information theory, when information is given in binary digits, the binary logarithm is used (with [math]\displaystyle{ a }[/math] equal to 2). In physics and also in computation of Theil index, the natural logarithm is used (with [math]\displaystyle{ a }[/math] equal to e).
- ↑ When the income of every individual is equal to the average income, [math]\displaystyle{ \sum_{i=1}^N \left( \left( \frac{x_i}{\bar{x}} = 1 \right) \frac{1}{N} \ln \left( {\left( \frac{\bar{x}}{x_i} = 1 \right) N} \right) \right) }[/math] [math]\displaystyle{ =\sum_{i=1}^N \left( \frac{1}{N} \ln \left( {N} \right) \right) }[/math] [math]\displaystyle{ =\ln \left( {N} \right) }[/math]
References
- ↑ Introduction to the Theil index from the University of Texas
- ↑ "Segregation Measures" (in en). Urban Institute. https://www.urban.org/research/data-methods/data-analysis/quantitative-data-analysis/segregation-measures.
- ↑ 3.0 3.1 Parker, Lauren (20 July 2015). "Racial and Ethnic Segregation: In the News and On PolicyMap". https://www.policymap.com/2015/07/racial-and-ethnic-segregation-in-the-news-and-on-policymap/.
- ↑ 4.0 4.1 Conceicao, Pedro NMI2; Ferreira, Pedro M. (2000). "The Young Person's Guide to the Theil Index: Suggesting Intuitive Interpretations and Exploring Analytical Applications" (in en). SSRN Electronic Journal. doi:10.2139/ssrn.228703. ISSN 1556-5068. http://www.ssrn.com/abstract=228703.
- ↑ 5.0 5.1 5.2 http://www.poorcity.richcity.org (Redundancy, Entropy and Inequality Measures)
- ↑ McDonald, James B; Jensen, Bartell C. (December 1979). "An Analysis of Some Properties of Alternative Measures of Income Inequality Based on the Gamma Distribution Function". Journal of the American Statistical Association 74 (368): 856–860. doi:10.1080/01621459.1979.10481042.
- ↑ "6. Inequality Measures". Poverty Manual. World Bank. 8 August 2005. p. 95. http://siteresources.worldbank.org/PGLP/Resources/PMch6.pdf. Retrieved 4 February 2018.
- ↑ Novotny, J. (2007). "On the measurement of regional inequality: Does spatial dimension of income inequality matter?". Annals of Regional Science 41 (3): 563–580. doi:10.1007/s00168-007-0113-y. http://web.natur.cuni.cz/~pepino/NOVOTNY2007AnnalsofRegionalScience.pdf.
- ↑ "Inequality Measures" (in en). Urban Institute. https://www.urban.org/research/data-methods/data-analysis/quantitative-data-analysis/inequality-measures.
- ↑ Rajan K. Sampath. Equity Measures for Irrigation Performance Evaluation. Water International, 13(1), 1988.
- ↑ A. Serebrenik, M. van den Brand. Theil index for aggregation of software metrics values. 26th IEEE International Conference on Software Maintenance. IEEE Computer Society.
External links
- Software:
- Free Online Calculator computes the Gini Coefficient, plots the Lorenz curve, and computes many other measures of concentration for any dataset
- Free Calculator: Online and downloadable scripts (Python and Lua) for Atkinson, Gini, and Hoover inequalities
- Users of the R data analysis software can install the "ineq" package which allows for computation of a variety of inequality indices including Gini, Atkinson, Theil.
- A MATLAB Inequality Package , including code for computing Gini, Atkinson, Theil indexes and for plotting the Lorenz Curve. Many examples are available.
Original source: https://en.wikipedia.org/wiki/Theil index.
Read more |