Economic growth often tracks with better health outcomes, but not always. This project analyzed the relationship between GDP and life expectancy across six countries (Chile, China, Germany, Mexico, United States, Zimbabwe) using WHO and World Bank data.
The goal was to uncover trends, quantify correlations, and test whether economic performance is actually associated with health outcomes : and where the pattern breaks down.
Data was loaded from a single WHO/World Bank CSV, verified for missing values and duplicates (none found), and standardized for analysis with Pandas and NumPy.
EDA covered central tendency, dispersion, time-series trends, and GDP vs life expectancy scatter plots per country. Pearson correlations were computed overall and per country. Shapiro-Wilk normality checks and Levene's variance testing informed which statistical tests to apply.
Z-scores were calculated to compare country trajectories on a common scale and surface outliers. Per-country panels were used to prevent U.S. GDP scale from dominating the visualizations. All findings were framed as associations, not causal claims.
GDP and life expectancy are related, but not deterministically. The strongest story in the data: targeted health interventions can deliver large life expectancy gains even without GDP growth : and rising GDP alone doesn't guarantee continued longevity gains.