The Gini coefficient summarizes a given distribution in one number. It becomes more accurate when more details are given. The case of using only 5 groups shows a gap in the result. The coarse gathering of information leads to an underrepresentation of rich households.
When an empirical distribution is compressed into five quintiles (Q1 through Q5), every household within each 20% bracket is treated as earning the exact group average. In reality, modern income and wealth distributions exhibit a steep, heavy right tail (a Pareto distribution). The top 1% or 0.5% possess vastly greater resources than households at the 81st percentile. By grouping the entire top 20% into a single average, the Lorenz curve replaces the bowed tail with a straight chord, chopping off a substantial portion of the area between the equality diagonal and the true distribution.
Furthermore, with $N$ equal-population groups, the standard Gini formula possesses a hard finite-sample ceiling of $\frac{N-1}{N}$. For $N = 5$, the calculated Gini can never exceed 0.8000, even if the top group holds 100% of national resources. With $N = 50$, the mathematical ceiling expands to 0.9800, allowing the extreme skewness of the top percentiles to register accurately.
Interactive Comparison: 5 Groups vs. $N$ Groups
Below, two independent charts query the econsimWebService examples endpoints side by side:
- Window 1 (Fixed 5 Quintiles): Fetches
/api/examples/gini/5to show the coarse baseline. - Window 2 (Configurable $N$ Groups): Fetches
/api/examples/gini/50by default, with an interactive control allowing you to choose any group resolution from 3 to 200 groups.
Window 1: 5 Household Groups (Quintiles)
Gini: ...| Group Resolution: | 5 Quintiles (20% each) |
| Theoretical Max Gini ((N-1)/N): | 0.8000 |
| Top Group Share: | ... |
| Endpoint: | /api/examples/gini/5 |
Window 2: 50 Household Groups
Gini: ...| Group Resolution: | 50 Groups (2.0% each) |
| Theoretical Max Gini ((N-1)/N): | 0.9800 |
| Top Group Share: | ... |
| Gini Accuracy Gain (ΔGini vs 5): | +... |
Why the Discretization Gap Matters
- Averaging Away the Rich Tail: In a 5-group model, the richest 20% of households are pooled together. If national wealth has an extreme top 1% concentration (e.g., billionaires holding 30% of total wealth), this concentration is diluted over the entire top 20% segment, smoothing out the curve.
- Convexity of the Lorenz Curve: The true Lorenz curve is strictly convex ($\frac{d^2 L}{dp^2} > 0$). Connecting coarse discrete points by linear chords always overestimates the area under the curve ($B$) and therefore underestimates the area of inequality ($A$), reducing the calculated Gini $G = \frac{A}{A + B}$.
- Convergence as $N \to 200$: As you increase the group count using the slider above, each increment brings the discrete piecewise linear approximation closer to the continuous underlying distribution. Beyond 50–100 groups, the Gini coefficient stabilizes near its true continuous value.
Exploring Macroeconomic Quintile Trajectories
To inspect empirical and simulated household quintiles (Q1, Q3, Q5), wages, taxes, and living standards normalized per inhabitant across all 33 nations, visit the 33-Nation Living Standards & Household Quintiles (Per Capita) calculator.