Hello all, does anyone have any ideas on how the formula for the GINI coefficient could be expressed in Excel ΣiΣj(yi-yj)
In the formula, y refers to income and both i and j refer to households. Thus for instance if there were two households then to get ΣiΣj(yi-yj) first set i equal to one then do the single sum across the js. Then set i = 2 and do the single sum across the js. Sum the two sums, and you have it. This is equivalent to:
ΣiΣj(yi-yj) = |y1-y1| + |y1-y2| + |y2-y1| + |y2-y2|
I represents the total number of households (which is why you sum from i = 1 to I and also from j = 1 to I).
In my case I have 100 households.
Any help would be much appreciated.
Bookmarks