Personal Learnings← Grasping Reality  Library

Grasping Reality · Economics & Policy

Understanding Inequality: Can Gini Coefficients Be Fruitfully Demystified? (Revised and Expanded)

TIER 4   Sun, 1 Jun 2025 13:35:41 +0000

Understanding Gini Coefficients (Revised and Expanded)

I am not sure that this is worth publishing—especially because my advice to others who ask me “how should I explain Gini Coefficients when I use them as inequality measures” is this: don’t use Gini Coefficients as inequality measures. The explanation distracts, and at the end whatever knowledge you have conveyed is evanescent and dies away, because people simply do not run into and use Gini Coefficients in their thinking for it to stick. By contrast, percentile-based measures of inequality are ones that people do run into much more often, and do tend to stick.
Nevertheless…

Provoked by Paul Krugman writing:

Paul Krugman: Understanding Inequality, Part I <https://paulkrugman.substack.com/p/understanding-inequality-part-i>: ‘Families at the 95th percentile… in 1950 they earned 2.43 times as much as the median family…. By 2023 families at the 95th percentile were earning 3.54 times as much…. To measure inequality I… prefer simple ratios like the ones above, but other economists prefer more complex measures like the “Gini coefficient.” I won’t try to explain how that coefficient works, but here’s what it looks like…

Paul Krugman
Understanding Inequality, Part I
Between World War II and the 1970s income disparities in America were relatively narrow. Some people were rich and many were poor, but overall inequality among Americans in terms of wealth, income and status was low enough that the country had a sense of shared prosperity. Things are very different today, as American society is beset by extreme inequality, economic fragmentation and class warfare…
Read more

It is more-or-less standard for an economist to write “I won’t try to explain” whenever they are trying to communicate something about inequality, and finds themself confronted with data that comes in the form of the Gini Coefficient.

Now that is just weird: a measure—a number—but when trying to ground that number in anything, we quail and flee, on the grounds that it will be difficult to ground it, and pull us away from what we want to be the thrust of the argument.

So let me beg everyone: Please stop using the Gini Coefficient! Please use the 90th-median (2.90), or 95th (3.54), or 99th (10.2), or 99.9th (38.8), or the 99.99th (577).


But suppose your data comes in Gini Coefficients, as in the excellent Milanovic, Lindert, and Williamson (2011):

Then what should you do?

Well, unless you want to rework the data intensively, you do not have much choice than to just bull ahead.

So you should then say: This is what the Gini means:

  1. Take two members of the society at random, and subtract the income of the lower from the income of the higher.

  2. Divide that by the society’s average income.

  3. Multiply the result by 2 (or 200), so that complete inequality will get you a Gini Coefficient of 1 (or 100).

  4. The expected value of that calculation is the Gini Coefficient.

It is a measure of how were two people to interact at random how large and salient, relative to the society’s average level, the difference in their incomes is likely to be.


And here is a finger exercise that might get some intuition for you as to what the Gini Coefficient means:

For example, for n = 3:

Does that help?


import numpy as np
import pandas as pd

upper_class_list = [0]
gini_list = [0]
expected_log_income_list = [0]
index_name = [0]

for n in range(1,11):
    index_name = index_name + [n]
    upper_class = 1/(n+1)
    upper_income = n
    lower_class = n/(n+1)
    lower_income = 1/n
    gini_value = 1 - 2*((n/(n+1)*(1/(n+1))) + (1/(n+1)**2))
    gini_value = round(gini_value,3)
    upper_class = round(upper_class, 3)
    upper_class_list = upper_class_list + [upper_class]
    gini_list = gini_list +[gini_value]
    expected_log_income = upper_class*np.log(upper_income) + lower_class*np.log(lower_income)
    expected_log_income_list = expected_log_income_list + [round(expected_log_income,3)]

df = pd.DataFrame({'Size of Upper Class': upper_class_list, 'Gini': gini_list, 'Log Utility SWF': expected_log_income_list})
df.index = index_name
df.index.name = 'n'
print(df[1:])

<https://delong.typepad.com/2025-02-12-gini.ipynb>


Addendum:

Now comes the extremely sharp Wendy Carlin to email me her: “Inequality as experienced difference: A reformulation of the Gini coefficient”. It contains smart things:

Samuel Bowles & Wendy Carlin: Inequality as experienced difference: A reformulation of the Gini coefficient: ‘The appeal of the Gini coefficient is that it is as Sen writes ‘‘a very direct measure of income differences, taking note of differences between every pair of incomes’’ (Sen, 1997)…. The difference-based measure can readily be extended to better capture the sociological and psychological dimensions of inequality that arise from the comparisons people make with others whom they routinely encounter…. Consider, for example, the effect of a change in the relevant social relationships from a complete network… to a star with the wealthiest person at the center as in… a ‘‘big man’’ system…. Experienced inequality would have increased… because households tend to interact more with other households of differing wealth than would occur by chance… <https://www.sciencedirect.com/science/article/pii/S0165176519303969?via%3Dihub>

As in:

Thus the question becomes: Is it more relevant to inequality as experienced that people tend to socialize with those of approximately their own status, but because of the division of labor interact in worklife with those of different status?

Or are these two distractions, and is inequality just what it is?

And what does “interact” mean, exactly?

I do have a sense that the second—in which the bulk of your important economic interactions are with somebody who has a very different amount of societal economic power than you do—is, in the relevant sense, more unequal, and will generate a lot more spite and envy. But is that sense correct?


References:


##quantitative-long-run-global-economic-history