This question came from our site for people interested in statistics, machine learning, data analysis, data mining, and data visualization.

4

ask this on statalist. With some luck, Stephen Jenkins, one of the authors of the underlying ineqdeco, could reply. You have to RTFM the study documentation to find out what the variables are. hweight is probably the household weight. I don't see why you want to spoil good data with top and bottom coding, though. An odd exercise, overall.
–
StasKJan 23 '13 at 15:55

3 Answers
3

This is more of a second-best solution. However, the census of population provides income by brackets. If you are willing to do that, you can get the counts for every bracket. Have a top-coded bracket for the last one. Use the median income value within each bracket. Then you can directly apply the formula for the Gini coefficient. It is a second best because it is an approximation for the individaul-level data.