Theil index

{{SocPsy]] The Theil index is a statistic used to measure economic inequality. It has also been used to measure the lack of racial diversity. The basic Theil index T{{sub|T}} 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 econometrician Henri Theil, a successor of Jan Tinbergen at the Erasmus University Rotterdam.

Formulas
The basic Theil index, which has higher resolution for changes to higher incomes, is



T_T=T_{\alpha=1}=\frac{1}{N}\sum_{i=1}^N \left( \frac{x_i}{\overline{x}} \cdot \ln{\frac{x_i}{\overline{x}}} \right) $$ where $$x$$ is income/person. When $$x$$ is inverted to be people/income, or if changes in lower incomes are more important, a different formula is used that is derivable from $$T_T$$ by
 * $$T_L(x)=T_T(\frac{1}{x})$$

T_L=T_{\alpha=0}=MLD=\frac{1}{N}\sum_{i=1}^N \left( \ln{\frac{\overline{x}}{x_i}} \right) $$

$$T_L$$ is also known as the MLD (mean log deviation) because it gives the standard deviation of $$ln(x)$$. Sometimes the average of $$T_T$$ and $$T_L$$ is used, which has the advantage of being "symmetric" like the Gini, Hoover, and Coulter indices. "Symmetric" means it gives the same result for x as it does for 1/x:



T_S=(T_T+T_L)/2=\frac{1}{2 N}\sum_{i=1}^N \left[(\frac{x_i}{\overline{x}} - 1)\ln(x_i) \right] $$

For these equations, $$x_i$$ is the income of the $$i$$th person or subgroup, $$\overline{x}$$ is the mean income of the persons or subgroups, and $$N$$ is the population or number of subgroups. If everyone has the same income, the indices give 0 which, counter-intuitively, is when the population's income has maximum disorder. If one person has all the income, then TT gives the result $$ln(N)$$, which is maximum order. Dividing TT by $$ln(N)$$ can normalize the equation to range from 0 to 1. The indices measure an entropic "distance" the population is away from the "ideal" 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 "ideal" of maximum disorder. Formulating the index to represent negative entropy instead of entropy allows it to be a measure of inequality rather than equality. If $$T_T$$ applies to the distribution of income in people, then $$T_L$$ can be used to get the same numerical result for the distribution of people in income.

The two Theil indices $$T_T$$ and $$T_L$$ are special cases of the generalized entropy index with $${\alpha} = 1$$ and $${\alpha} = 0$$. The Atkinson index with $${\epsilon} = 0$$ is a transformation of $$T_{\alpha=1}$$ by A=1-e^-T. Likewise, the Atkinson index with $${\epsilon} = 1$$ is a transformation of $$T_{\alpha=0}$$.

Derivation from Entropy
The Theil index is derived from Shannon's measure of information entropy (S), 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


 * $$S = k \sum_{i=1}^N \left( p_i \log{\frac{1}{p_i}} \right) = - k \sum_{i=1}^N \left( p_i \log{p_i} \right)$$

where pi is the probability of finding member i from a random sample of the population. In physics, k is Boltzmann's constant. In information theory k=1 if it is in terms of bits and the log base is 2. Physics and the Theil index have chosen the natural logarithm as the logarithmic base. When pi is chosen to be income per person (xi), it needs to be normalized by dividing by the total population income, N*avg(x). This gives the observed entropy of a Theil population to be:


 * $$S_{Theil} = \sum_{i=1}^N \left( \frac{x_i}{N \overline{x}} \ln{\frac{N \overline{x}}{x_i}} \right)$$

The Theil index is TT = Smax - STheil where the theoretical maximum entropy Smax is when all incomes are equal, i.e. each xi = average xi = a constant. This is substituted into STheil to give Smax = ln(N) for TT, a constant determined solely by the population. So the Theil index gives a value in terms of an entropy that measures how far STheil is away from the "ideal" Smax. The index is a "negative entropy" in the sense that it gets smaller as the disorder gets larger, so it is a measure of order rather than disorder. When x is in units of population/species, $$S_{Theil}$$ is a measure of biodiversity and is called the Shannon index. If the Thiel 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. It is the left over "information space" that was not utilized to convey information, which reduces the effectiveness of the price signal. 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.

Application of the Theil index
Theil's measure can be converted by the operation $$1-e^{- T}$$ into one of the indexes of Anthony Barnes Atkinson, where $$\epsilon$$ may or may not be used to introduce an inequality aversion factor into the formula, with $$\epsilon=1$$ being the default. The result of the conversion also has been called normalized Theil index.

James E. Foster used such a measure to replace the Gini coefficient in Amartya Sen's welfare function W=f(income,inequality). The income e.g. is the average income for individuals in a group of income earners. Thus, Foster's welfare function can be computed directly from the Theil index $$T$$, if the conversion is included into the computation of the average per capita welfare function:


 * $$W = \overline\text{income} \cdot {e^{-T}}.\,$$

Using the "Theil-L" index $${T_L}$$ (see below) for $$T$$ in that formula yields results similar to using the Atkinson index for computing the welfare function.

Meaning of "U"
If U = 1 Then the "Naive" (NF1) Method is as good as the current Forecast Method

If U < 1 Then the Forecasting Method is better than the NF1 Method

If U > 1 Then the NF1 Method is better than the Forecasting Method. There is not need to waste time applying anymore Forecasting Techniques.

Decomposability
One of the advantages of the Theil index is that it is a weighted average of inequality within subgroups, plus inequality among those subgroups. For example, inequality within the United States is the average inequality within each state, weighted by state income, plus the inequality among states.

If for the Theil-T index the population is divided into $$m$$ certain subgroups and $$s_i$$ is the income share of group $$i$$, $$T_{Ti}$$ is the Theil-T index for that subgroup, and $$\overline{x}_i$$ is the average income in group $$i$$, then the Theil index is



T_T = \sum_{i=1}^m s_i T_{T_i} + \sum_{i=1}^m s_i \ln{\frac{\overline{x}_i}{\overline{x}}} $$

The formula for the Theil-L index is:

T_L = \frac{1}{m} \sum_{i=1}^m T_{L_i} + \frac{1}{m} \sum_{i=1}^m \ln{\frac{\overline{x}_i}{\overline{x}}} $$




 * Note: This image is not the Theil Index in each area of the United States, but of contributions to the US Theil Index by each area (the Theil Index is always positive, individual contributions to the Theil Index may be negative or positive).

The decomposition of the overall 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.

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 and distribution of software metrics.