there is a package called DASP in stata, you can download it by google search it, obviously the keywords is DASP, It has all the inequlity plus other index for income distribution dynamics. hope this pieces of info can help you,
stata也有其他计算不平等指数的命令
Measures of inequality [sg30: STB-23]
----------------------
atkinson varname [if exp] [in range] [fweights] [, epsilon(#[,#[,...]]) ]
inequal varname [if exp] [in range] [fweights]
lorenz varname [if exp] [in range] [fweights] [, offset graph-options ]
relsgini varname [if exp] [in range] [fweights] [, delta(#[,#[,...]]) ]
These four ado-files provide a variety of measures of inequality. Atkinson computes the Atkinson inequality index using the inequality aversion parameter(s) specified in the parameter list. inequal displays the following measures: relative mean deviation, coefficient of variation, standard deviation of logs, Gini index, Mehran index, Piesch index, Kakwani index, Theil entropy index, and mean log deviation. lorenz displays a Lorenz curve. relsgini computes the Donaldson-Weymark relative S-Gini using the distributional sensitivity parameters specified in the parameter list.
Options
delta() specifies the distributional sensitivity parameters used in computing the relative S-Gini.
epsilon() specifies the inequality aversion parameters used in computing Atkinson inequality index.
offset specifies the graph options "noaxis xline(0,1) yline(0,1)".
Author
log on the following page, you can download the DASP packages. you need first register with email and log on it. use packags can be download free of charge. The tutorial and other stuff are avialble on the website.
hope this will help you. http://dasp.ecn.ulaval.ca/