- Introduced by
- Henri Theil (1967); decomposition class by Anthony Shorrocks (1980)
- Year
- 1967
- Type
- Decomposable inequality measure
- Family
- Income inequality measurement
What does it do?
Henri Theil introduced the Theil index in 1967, drawing on information theory to measure income inequality as the divergence between each unit's income share and its population share.
Its main practical feature is additive decomposability: total inequality can be split into a within-group component (inequality inside each subgroup) and a between-group component (inequality between subgroup means), with no residual. Theil's T and its companion L (the mean log deviation) are the two best-known members of the generalized-entropy (GE) class, which Anthony Shorrocks studied in 1980 in connection with additively decomposable inequality measures.
The intuition behind the method
Imagine partitioning a population into groups, such as regions or education levels, and asking how much of total income inequality comes from differences between the average incomes of the groups and how much from inequality among individuals within each group. The Theil index answers this directly. Borrowing from information theory, it treats inequality as the departure of each person's income share from an equal share. Because the index is built from sums of individual terms, the total splits into a between-group part and a within-group part whose sum equals the total. That accounting is why Theil is often chosen when the goal is to attribute inequality to a grouping structure.
History
Henri Theil introduced his inequality index in the 1967 book Economics and Information Theory, drawing an analogy between income shares and the probabilities of an information source. Anthony Shorrocks's 1980 Econometrica paper, 'The class of additively decomposable inequality measures', characterises the class of measures with additive decomposition, which includes the generalized-entropy family that contains Theil's T (GE(1)) and the mean log deviation (GE(0)). This result made Theil and the GE class a standard apparatus for structural analyses of inequality.
When to use it
Use Theil decomposition when you have individual or household income (or consumption) data, a meaningful partition of the population into groups, and a question about how much total inequality is attributable to within-group versus between-group differences. Typical questions are how much national inequality lies between regions versus within them, or how much is associated with education. Theil's T is appropriate when sensitivity to the top of the distribution matters. The mean log deviation L is preferred when you want population-share weights in the within-group part. Report which GE member you use, since the between/within split depends on beta. Define the unit of analysis and income concept before computing anything: individual or household, per-capita or equivalence-scaled, and before or after taxes and transfers. Use survey sampling weights in all sums, and treat the group partition as given rather than estimated. Negative incomes make T and L undefined, and zero incomes make L undefined (T remains defined with 0 ln 0 = 0), so censor, exclude, or transform such values as appropriate. When comparing decompositions across periods or countries, report bootstrap or analytical standard errors before claiming that shares differ. For overlapping characteristics that are not nested within one partition, a GE decomposition alone does not provide a factor attribution, and regression-based or Shapley-type methods are needed.
Limitations and considerations
- T and L are not defined for negative incomes, and L is also undefined when any income is zero, so censoring or the use of consumption data is often required.
- Less intuitive to communicate than the Gini coefficient because it is expressed in entropy units with no direct geometric reading.
- For beta other than 0, the within-group weights are neither pure population shares nor pure income shares, which complicates interpretation away from beta = 0.
- Sensitive to the top of the distribution when using T, where survey data are often least reliable and top incomes are often under-captured.
- Results depend on the income definition, equivalence scale and sampling weights, and point estimates of between-group shares carry sampling error that should be quantified.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Exactly additively decomposable into within-group and between-group inequality with no residual, which is the main practical difference from the Gini coefficient.
- Grounded in information theory, with the additive decomposition property linked to the generalized-entropy family in Shorrocks (1980).
- A sensitivity parameter beta lets the analyst emphasize the bottom (low beta) or the top (high beta) of the distribution.
- Satisfies standard inequality properties including scale invariance, symmetry, population replication, and the transfer principle.
Applications
- Decomposing national income inequality into between-region and within-region components for regional policy analysis.
- Quantifying how much inequality is associated with education, occupation, gender, ethnicity, or sector through between-group shares.
- Tracking how the within/between split of inequality changes over time with development, urbanization, or globalization.
- Comparing inequality across countries using a measure with an additive decomposition.
- Serving as the inequality measure in nested decompositions of distributional change.
How it works
How it works
Theil's T weights each person's log income ratio by that person's income share, T = (1/N) sum of (y_i/mean) ln(y_i/mean), so it responds more to changes at the top of the distribution. The mean log deviation L (Theil's second measure, also written GE(0)) averages the log of the inverse income ratio, L = (1/N) sum of ln(mean/y_i), so it responds more to the bottom. Both equal zero under perfect equality and rise with inequality. T is defined when some income is zero (with the convention 0 ln 0 = 0), but L is undefined if any income is zero, and neither is defined for negative incomes. For a finite population T has an upper bound that grows only with the logarithm of the population size.
Formula
T = \frac{1}{N}\sum_{i=1}^{N} \frac{y_i}{\bar{y}} \ln\!\frac{y_i}{\bar{y}}, \qquad L = \frac{1}{N}\sum_{i=1}^{N} \ln\!\frac{\bar{y}}{y_i}T and L are special cases of the generalized-entropy class GE(beta), indexed by a sensitivity parameter beta: GE(1) is Theil's T, GE(0) is the mean log deviation L, and GE(2) is half the squared coefficient of variation. Lower beta makes the measure more sensitive to inequality at the bottom of the distribution, and higher beta makes it more sensitive to the top. Shorrocks (1980) characterises the class of additively decomposable inequality measures, which includes the generalized-entropy family.
Formula
GE(\beta) = \frac{1}{\beta(\beta-1)}\left[\frac{1}{N}\sum_{i=1}^{N}\left(\frac{y_i}{\bar{y}}\right)^{\beta} - 1\right], \quad GE(1)=T,\; GE(0)=LFor Theil's T, total inequality equals the sum over groups of each group's income share times its within-group Theil index, plus a between-group term. The between term sums each group's income share times the log of the ratio of that group's mean income to the overall mean. The weights s_k are each group's share of total income. The within part measures how unequal incomes are inside groups, and the between part measures how unequal the group means are. Their sum reproduces the overall index exactly, with no residual or interaction term.
Formula
T = \underbrace{\sum_{k=1}^{K} s_k\, T_k}_{\text{within}} + \underbrace{\sum_{k=1}^{K} s_k \ln\!\frac{\bar{y}_k}{\bar{y}}}_{\text{between}}, \qquad s_k = \frac{N_k \bar{y}_k}{N \bar{y}}Every member of the generalized-entropy class decomposes into a weighted sum of within-group indices plus a between-group index, but the within-group weights depend on beta: they mix each group's population share f_k and income share s_k as f_k^(1−beta) s_k^beta. Only at beta = 0 (the mean log deviation) are the weights the pure population shares, which is why L is often preferred when one wants the within-group weights to sum to one. Away from beta = 0 the weights are mixtures of population and income shares, so the within and between components are harder to read directly.
Formula
GE(\beta) = \sum_{k} w_k(\beta)\, GE_k(\beta) + GE_{\text{between}}(\beta), \quad w_k(\beta) = f_k^{1-\beta}\, s_k^{\beta}Common pitfalls
- Comparing a Theil T decomposition with an L decomposition as if they were the same; the within-group weights and the between/within balance differ by construction.
- Interpreting a small between-group share as evidence that group differences are unimportant, when the result depends heavily on how finely the population is partitioned.
- Applying L to data with zero or negative incomes, or T to data with negative incomes, without censoring or transformation, which leaves the index undefined.
- Reading the between-group term as a causal effect of group membership; it is an accounting decomposition, not a structural one.
- Using unweighted survey data or mixing income definitions and equivalence scales across the periods or countries being compared.
Frequently asked questions
What is the difference between Theil's T and Theil's L?
Both are generalized-entropy measures but with different sensitivity. Theil's T (GE(1)) weights log income ratios by income shares, making it more responsive to changes at the top of the distribution. The mean log deviation L (GE(0)) averages log inverse income ratios and is more responsive to the bottom. In decompositions, L is often preferred because its within-group weights are the pure population shares, which sum to one, whereas T uses income-share weights.
Why is Theil decomposable when the Gini coefficient is not?
The Gini is based on pairwise differences across the whole distribution. When the population is split into groups, the between- and within-group parts do not generally add up to the total, leaving a residual that depends on how much the group income ranges overlap. Theil and the generalized-entropy class are built from sums of individual terms, so the within and between components sum exactly to the total. Shorrocks (1980) studies the class of additively decomposable measures.
How should I choose the sensitivity parameter beta?
Choose beta to match where in the distribution you care most about inequality. Low or negative beta, including GE(0), the mean log deviation, emphasizes the bottom of the distribution. beta = 1 (Theil's T) is more sensitive to the top than GE(0). Higher beta, such as beta = 2 (half the squared coefficient of variation), is more sensitive to the top still. GE(beta) for beta greater than 0 remains defined when some incomes are zero, whereas L is not. Because the within/between split depends on beta, report results for more than one value to show robustness, and prefer GE(0) when you want population-share weights.
Related methods
Sources
Theil, H. (1967). Economics and Information Theory. Amsterdam: North-Holland.
ISBN: 9780444814630Shorrocks, A. F. (1980). The class of additively decomposable inequality measures. Econometrica, 48(3), 613–625.
Open DOI reference