Learn R Programming

REAT (version 1.3.2)

theil:

Description

Calculating the Theil inequality index

Usage

theil(x)

Arguments

x
a numeric vector

Value

A single numeric value of the Hoover Concentration Index (\(0 < CI < 1\)).

Details

Since there are several Theil measures of inequality, this function uses the formulation from Stoermann (2009).

References

Stoermann, W. (2009): “Regionaloekonomik: Theorie und Politik”. Muenchen : Oldenbourg.

See Also

gini, herf, hoover

Examples

Run this code
# Example from Stoermann (2009):
regincome <- c(10,10,10,20,50)
theil(regincome) 
# 0.2326302

Run the code above in your browser using DataLab