Talk:Gini coefficient

List of countries
Would love to see a list of countries by Gini Coefficient. Surprised there isn't one already. Doughbo (talk) 02:53, 17 May 2023 (UTC)


 * Wikipedia has a list of sovereign states by wealth inequality and a list of countries by income inequality, & both include their respective Gini coefficients. 124.169.81.74 (talk) 05:31, 26 July 2023 (UTC)

Formula for the Gini coefficient
It seems to me the current formula in the article might be slightly incorrect. Here is the current formula:
 * $$G = \frac{\displaystyle{\sum_{i=1}^n \sum_{j=1}^n \left| x_i - x_j \right|}}{\displaystyle{2 \sum_{i=1}^n \sum_{j=1}^n x_j}} = \frac{\displaystyle{\sum_{i=1}^n \sum_{j=1}^n \left| x_i - x_j \right|}}{\displaystyle{2n\sum_{j=1}^n x_j}} = \frac{\displaystyle{\sum_{i=1}^n \sum_{j=1}^n \left| x_i - x_j \right|}}{\displaystyle{2 n^2 \bar{x}}} $$

Specifically, the current numerator suggests it would include each person's difference from themself, i.e., $$x_i-x_j$$, where $$i=j$$. However, if $$j$$ is defined as the set of all other persons who aren't $$i$$, then the upper limit of $$j$$'s index ought to be $$n-1$$. Thus, I believe the numerator ought to be:
 * $$\displaystyle{\sum_{i=1}^n \sum_{j=1}^{n-1} \left| x_i - x_j \right|}$$

Moreover, I propose that the article be updated to explicitly define $$j$$.

Lastly, I'm not sure whether the denominator needs any updating. MosesRivera100 (talk) 19:07, 7 September 2023 (UTC)


 * These formulas added later may be wrong. Take $$x_1 = 1; \;\;\; x_2 = 0$$
 * Using these would give: $$G = \frac{1}{2n^2} \frac{\sum_i \sum_j |x_i - x_j|}{\bar{x}} = \frac{1}{8} \times \frac{|1 - 0| + |0-1|}{0.5} = \frac{1}{2}$$
 * Now use $$G = \frac{\text{mean absolute difference}}{\text{mean}} = \frac{\bar{\Delta}}{\bar{x}}$$
 * Where $$\bar{\Delta} = \frac{1}{n} \sum_i \sum_{j > i} |x_i - x_j| = \frac{1}{2n} \sum_i \sum_j |x_i - x_j|$$
 * and $$\bar{x} = \frac{1}{n} \sum_i x_i$$
 * You'll get the correct value of 1. In this case, $$G = \frac{\sum_i \sum_j |x_i - x_j|}{2 \sum_i x_i}$$ 2804:1998:421:F201:88E7:6514:10BF:CCDF (talk) 19:57, 25 June 2024 (UTC)

Using same projection for wealth and income Gini maps
Using the the same projection would allow for easy comparisons between wealth and income Ginis Mrsmrmrmrs (talk) 13:55, 18 January 2024 (UTC)


 * What I think should be changed: Although both Gini coefficients are defined as areas between certain curves and share certain properties, there is no simple direct relationship between the Gini coefficient of statistical dispersion and the Gini coefficient of a classifier.
 * Why it should be changed: Both Gini coefficients are defined as areas between certain curves, and in the case of known ratio of "event" to "non-event" in the data there is a simple relationship between them. Gt = Gn/(1+α). Gt is the traditional measure of statistical dispersion, Gn is the new measure for binary classifier, and α is the ratio between events to non events in the data.
 * References supporting the possible change (format using the "cite" button):On the connection of two GINI coefficients by Michael Roginsky https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4715030

Rogmike (talk) 19:11, 27 February 2024 (UTC)


 * , source displays the following: SSRN Search Results

This paper has been removed from SSRN at the request of the author, SSRN, or the rights holder. ARandomName123 (talk)Ping me! 01:45, 4 March 2024 (UTC)


 * ARAndomName123,
 * Thank you for looking into my minor edit. the article I put on SSRN was taken out due to formality (they need my name on the first page of the PADF file). I will resubmit it shortly.  If you prefer I can send it to you directly, so you can check the formulas (rather tedious but elementary).
 * Rogmike Rogmike (talk) 16:46, 4 March 2024 (UTC)
 * ARandomName123, The article is back on SSRN website, same abstract #. Rogmike (talk) 16:37, 5 March 2024 (UTC)