Suppose you are given two datasets as shown below:
- Data on the Gini coefficient (proxy for income inequality).
- This is a number between 0 and 1, where 0 corresponds to perfect equality (e.g. everyone has the same income) and 1 corresponds to perfect inequality (where one person has all the income—and everyone else has no income). You can read more about the Gini coefficient on Wikipedia here...