To calculate the Gini Index, use the Lorenz curve data to find the cumulative income share and population share. The Gini Index is determined by measuring the area under the Lorenz curve relative to a perfectly equal distribution.
The Gini Index Calculator is a tool used to measure income or wealth inequality within a population. It quantifies inequality on a scale of 0 to 1, where 0 represents perfect equality and 1 represents maximum inequality. This calculator is commonly applied in economics, statistics, and machine learning to evaluate income distributions, decision tree splits, or other inequality measures.
Formula:
Variables:
Variable | Description | Unit/Value |
---|---|---|
Gini Index | Dimensionless | |
Income or value for the -th individual or group | Any measurable unit | |
Total number of individuals or groups | Count |
Solved Calculations:
Example 1: Calculate Gini Index for a Population of 5
Step | Value | Explanation |
---|---|---|
Income Values () | Given income values | |
Sorted Income () | Sorted in ascending order | |
Sum of Values () | Total income | |
Weighted Sum () | Weight income by position | |
Calculation | Substitute values into formula | |
Result | Gini Index for the population |
Example 2: Calculate Gini Index for Decision Tree Splits
Step | Value | Explanation |
---|---|---|
Group 1 Values () | Given income values | |
Group 2 Values () | Given income values | |
Calculation | Compute |
Apply the formula separately |
Combined Gini Index | Weighted average of groups | Combine individual |
Result | Example result varies | Based on given split data |