Eternal Growth, Immortal Inequality

Eternal Growth, Immortal Inequality

By Sam Celarek

"How Does a Country's Wealth and Inequality Relate to Human Flourishing?"

šŸŽÆ Project Overview

By analyzing econometric data from Gapminder, this project aims to explore the relationship between a countriesā€™ wealth, inequality, and human flourishing. To do this I used bivariate data exploration and look at the trends of countries in each quintile over time.

šŸ“Š Dataset

The data for this project comes primarily from Gapminder, which collects data from various sources worldwide, enabling a comprehensive understanding of global economic trends. From Gapminder, I downloaded csvā€™s on every nationsā€™ Real GDP, Gini Coefficient, Happiness, Murder Rate, Freedom Index (7 being the least free, 1 being the most free), and CO2 Emissions from up to 200 years ago.

šŸ§¹ Data Wrangling

The six different data sets were joined on the year and country columns. There were many missing values which eventually led me to trimming the time span over which the relevant analysis covered.

šŸ› ļø Feature Engineering

To better explore the trends of countries that are the most rich versus the most poor, I created categories for each country based on which quintile they resided in on average over the past 200 years. For example, each country was assigned a ā€˜GDP quintileā€™ based on whether it had been amongst the 80-100th, 60-80th, 40-60th, etcā€¦ percentile of GDP for countries over the past 200 years. I then would aggregate each quintiles scores and look at the quintiles trends over time.

šŸ“¶ Exploratory Data Analysis (EDA)

The EDA phase involved scatter plots, line plots for each quintile, bar charts for each quintile, and correlation heatmaps between each of the econometric indicators. Here is a quick sample of the exploration of the relationship between GDP and the wellfare metrics of happiness, murder rate, and freedom (lower is better):

Eternal Growth, Immortal Inequality

There appears to be a fairly robust correlation with increased GDP and increased happiness, although it is notable that above a GDP of $50,000 this correlation appears to weaken. It is also notable that many of the happiness scores lie above 30 and below 80. This seems to imply some type of subjective self-evaluation cutoffs that people often donā€™t rate themselves beyond.

Eternal Growth, Immortal Inequality

Here one can observe that the freedom index of countries in each quintile of GDP have remained fairly constant over time with the biggest increases in average freedom coming from the 0-20th and 60-80th quintiles. It also would appear that there has been some slight loss in average freedom since 2008 across all quintiles.

Eternal Growth, Immortal Inequality

This graph seems to strongly imply that more egalitarian countries are associated with a lower murder rate, however it is difficult to make this conclusion due to the lack of data from countries in the higher quintiles of inequality.

Correlation Heatmap of All Metrics:

Eternal Growth, Immortal Inequality

The strongest correlation between individual countries econometrics is happiness and gdp with a r = 0.74. Other stand out metrics are a strong positive correlation of CO2 and GDP (r=0.7), a weak positive correlation between murder rate and inequality (r=0.42), and inverse correlation between freedom and happiness (r=-0.53).

šŸ“ˆ Analysis

The projectā€™s findings were exploratory in nature as no tests of statistical significance were conducted. However there were four key correlations observations from the above visualizations and the analysis performed in the notebook beyond what is presented here:

  1. The Welfare of Nations:
    • Thereā€™s a positive correlation between GDP per capita and happiness.
    • Richer countries generally have lower murder rates and more civic freedom.
  2. Rich Man, Poor World:
    • A strong positive association exists between GDP per capita and CO2 emissions.
    • However, the richest countries have seen CO2 emissions decrease over the past 30 years, even as their GDP increased, suggesting a potential dissociation between the two.
  3. Progress and Poverty:
    • Thereā€™s an inverse correlation between GDP per capita and economic inequality (Gini coefficient). That is richer countries have less Gini-inequality.
  4. The Giniā€™s Curse:
    • Economic inequality (Gini coefficient) weakly correlates with decreased happiness and freedom.
    • Thereā€™s a moderate correlation between high inequality and increased murder rates, but this is based on sparse data.

Thank you for your interest in Eternal Growth, Immortal Inequality. For any further inquiries or insights, please feel free to reach out through this GitHub repository or at scelarek@gmail.com.

Best Wishes,
Sam Celarek

šŸ’” Other Resources