## Hoover Index, Theil Index and Shannon Entropy

Hoover index is one of the simplest inequality indices to measure the deviation from an ideal equal distribution. It can be interpreted as the maximum vertical deviation of the Lorenz curve from the 45 degree line.

Theil index is an inequality measure related to the Shannon entropy. It is often used to measure economic  inequality.

Like the Shannon entropy, Theil index can be decomposed in two independent components, for example to descbribe inequality “within” and “in between” subgroups. Low Theil or Hoover index means low inequality, high values stand for a high deviation from an equal distribution.

With
Ei – Effect in group i, i = 1 to N
E
t – Total sum of effects in all N groups
Ai – Number of items in class i
A
t – Total number of items in all N groups

Theil Index:

Eq. 1a     TT = ln (At/Et) – ∑[ Ei/Et ln (Ai/Ei)]
Eq. 1b
TL = ln (At/Et) – ∑[ Ai/At ln (Ei/Ai)]

Taking relative (proportional) variables
pi = Ei/Et
wi = Ai/At
we get

Eq. 2a      TT = ∑[ pi ln (pi/wi)]
Eq. 2b      TL = ∑[ wi ln (wi/pi)
]

The symmetric Theil index Ts = ½ ( TT + TL) can be expressed as:

Eq. 3      Ts = ½ ∑[ (piwi) ln (pi/wi)]

Comparing the symmetric Theil index with the

### Hoover index

Eq. 4      Hv = ½ ∑ |piwi|

we see that for the symmetric Theil index the difference (piwi) is weighted with the logarithm of pi/wi.

The normalized Theil index ranges from 0 to 1:

Eq. 5     Tnorm = 1 – eT

### How does the Theil index relate to Shannon entropy?

For wi = 1/N (same number of items in all groups) we get with Shannon entropy
H = – ∑ pi ln pi and true diversity D = exp (H):

Eq. 6a      TT = ln (N) – H
Eq. 6b      TTnorm = 1 – D/N

and with
MLD = (1/N) ∑ ln (1/pi)
(MLD = mean logarithmic deviation)

Eq. 7      TL = MLD – ln (N)

For the symmetric Theil index:

Eq. 8     Ts = ½ (MLD – H)

The symmetric Theil index is simply half of the difference between mean log deviation and Shannon entropy.

### Decomposition

The Theil index can be decomposed to find “within group” (w) and “between group” (b) components:

Eq. 9      T = Tw + Tb

For j subgroups (j = 1 to K) with individual Theil index Tj

Eq. 10a   TT = ∑ sj TTj +  ∑ sj ln (sj/wj)
Eq. 10b   TL = ∑ wj TLj + ∑ wj ln (wj/sj)

sj is the share of E in group j (Ej/Etot); wj the relative number of items in subgroup j (Nj/Ntot). The first term in (10) gives the “within group” component, the second the “between group” component.

#### Incoming search terms:

• hoover index
• hoover index formula