Class WealthDistribution
java.lang.Object
org.episteme.social.economics.inequality.WealthDistribution
Provides metrics and models for analyzing wealth distribution and economic inequality,
such as the Gini Coefficient and the Lorenz Curve.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Method Summary
Modifier and TypeMethodDescriptionstatic RealcalculateGiniCoefficient(List<Real> wealthList) Calculates the Gini Coefficient for a population's wealth.static RealcalculateGiniFromMoney(List<Money> incomes) Calculates the Gini Coefficient for a list of Money objects.
-
Method Details
-
calculateGiniCoefficient
Calculates the Gini Coefficient for a population's wealth.The Gini coefficient is a measure of statistical dispersion intended to represent the income or wealth distribution of a nation's residents, and is the most commonly used measure of inequality. 0 represents perfect equality, 1 represents perfect inequality.
- Parameters:
wealthList- A list of wealth values (as Real numbers).- Returns:
- The Gini coefficient (0 to 1).
-
calculateGiniFromMoney
-