Gini Coefficient and Lorenz Curve
The Gini coefficient measures inequality as one minus twice the area under the Lorenz curve, equal to the mean absolute difference between all pairs divided by twice the mean.
지니계수는 로렌츠 곡선 아래 넓이의 두 배를 1에서 뺀 불평등 지표로, 모든 쌍의 평균 절대 차이를 평균의 두 배로 나눈 값과 같습니다.
How unequal is the distribution of income in my survey, and what share does the top 10% hold?
설문 자료에서 소득이 얼마나 불평등하게 분포하는지, 상위 10%가 전체의 몇 %를 가졌는지 알고 싶어요.
Sorting values and accumulating their shares gives the Lorenz curve, and the Gini coefficient (0 = perfect equality, 1 = maximal inequality) summarises its distance from the equality line, optionally with survey weights and a small-sample correction. Theil's T index, top 10% and bottom 40% shares and the Palma ratio complement the Gini, with bootstrap confidence intervals.
When to use Gini Coefficient and Lorenz Curve
- Measuring inequality of income, wealth, consumption or resource allocation.
- Comparing concentration of sales, citations or service use.
- Survey data with case weights.
When to use something else
- Values can be negative, such as net wealth with debts; use an absolute dispersion measure instead.
- You need a design-based standard error for a complex survey; use replicate-weight variance estimation instead.
Assumptions and requirements
- Values are non-negative on a ratio scale.
- Weights, if given, are non-negative case weights.
- Bootstrap intervals assume simple random sampling.
What the analysis reports
- Gini coefficient, small-sample corrected Gini and bootstrap CI
- Theil T index with CI
- Top 10% share, bottom 40% share and Palma ratio
- Lorenz curve ordinates
How to report it
The weighted Gini coefficient of [variable] was [value], 95% bootstrap CI [[value], [value]] (Theil T = [value]; top 10% share = [value]%, bottom 40% share = [value]%, Palma ratio = [value]; N = [value]).
Common variants
자주 쓰는 설정
The same analysis with settings already chosen. Each runs Gini Coefficient and Lorenz Curve itself, at the same price.
- Gini with design-based linearised SE — design se set to “on”
Related methods
- Theil Index
- Coefficient of Variation with Confidence Interval
- Frequency Distribution and Histogram Binning
How this method is validated
이 방법의 검증 근거
- Automated tests. Checked by automated run tests; no external reference comparison is recorded yet.
자동 시험. 자동 실행 시험을 거칩니다. 외부 참조값과 대조한 기록은 아직 없습니다.
Run Gini Coefficient and Lorenz Curve on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and a weight column
- Price
- 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 credits.
- Checking
- Automated run tests; no external reference comparison yet
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.