INEQ: Stata module to calculate measures of inequality
Nicholas Cox
Statistical Software Components from Boston College Department of Economics
Abstract:
ineq treats its input as an additive variable (that is, it is assumed that totals make sense and that no negative values are present in the data specified) and calculates three measures of inequality. Given n values of y, scale to proportions p = y / SUM y. Then Simpson's index is SUM p^2. Shannon entropy is -SUM p ln p = SUM p ln 1/p. The dissimilarity index is (1 / 2) SUM | p - 1 / n |. These measures are known under a variety of names, and a variety of related guises, in different fields.
Language: Stata
Requires: Stata version 5.0
Keywords: inequality; entropy; dissimilarity; diversity; segregation (search for similar items in EconPapers)
Date: 1999-01-08
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/i/ineq.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/i/ineq.hlp help file (text/plain)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s365801
Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php
Access Statistics for this software item
More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().