Today we’ll explore:
- How education affects life expectancy
- How income affects life expectancy
- What happens when we look at both together
- Statistical evidence for these relationships
2025-12-07
Today we’ll explore:
World Health Organization (WHO) Life Expectancy Dataset
Dataset: Life Expectancy (WHO) on Kaggle
Countries: ~190 countries worldwide
Time period: 2000-2015
Key variables:
Study type: Observational (we observe patterns, not experiments)
Let’s look at the relationship between years of schooling and life expectancy
Pattern: Clear upward trend—more education = longer life
| Group | Average Life Expectancy |
|---|---|
| High Schooling | 75.5 years |
| Low Schooling | 62.9 years |
| Difference | 12.6 years |
| P-Value | 0 |
P-value: < 0.001 (Highly significant!)
What this means: Countries with more education have 12.6 years longer life expectancy on average. This is definitely real, not random chance.
Let’s compare life expectancy across three income groups
Pattern: Clear upward steps from Low → Medium → High income
Key insight: High-income countries are consistently high; low-income countries vary widely
Gap between Low and High: ~17.6 years!
ANOVA Test Results:
What this means: The differences between income groups are definitely real and substantial. Income level matters enormously for life expectancy.
| Income Group | Average (years) | Lower 95% CI | Upper 95% CI |
|---|---|---|---|
| Low | 57.9 | 56.9 | 58.9 |
| Medium | 65.0 | 64.6 | 65.4 |
| High | 75.5 | 75.1 | 75.8 |
Bottom line: A 17.6-year gap between Low and High income countries
What happens when we look at BOTH education AND income together?
We created four groups:
Key finding: Countries with BOTH advantages (upper right) achieve 75-85 years
| category | countries |
|---|---|
| High Schooling & High Income | Japan, Sweden, Iceland |
| High Schooling & Low Income | Lebanon, The former Yugoslav republic of Macedonia, Saint Vincent and the Grenadines |
| Low Schooling & High Income | Mexico, Albania, Oman |
| Low Schooling & Low Income | Bosnia and Herzegovina, Maldives, Antigua and Barbuda |
Insight: Even within similar circumstances, some countries excel—what are they doing right?
1. Education Effect - Countries with high schooling: 75.5 years - Countries with low schooling: 62.9 years - Difference: ~12.6 years (p < 0.001)
2. Income Effect - Low income: ~57.9 years - High income: ~75.5 years - Difference: ~17.6 years (p < 0.001)
3. Combined Effect - Having BOTH advantages = 75-85 years (best outcomes) - Having NEITHER = 50-65 years (toughest challenges)
All our tests showed extremely strong evidence (p < 0.001):
Translation: We can be very confident that education and income genuinely matter for life expectancy.
For Understanding the World: - Explains why life expectancy varies so much globally - Shows that human development indicators (education, income) are key
For Policy: - Investing in education is linked to longer lives - Economic development is linked to better health outcomes - Working on both together may be most effective
The Hopeful Part: - Progress is possible—countries at all levels show examples of success - Smart policies can make a difference even with limited resources
What we CAN’T say: - We can’t prove education or income directly cause longer life - This is observational data, not an experiment
Other factors matter too: - Healthcare quality - Clean water and sanitation - Political stability - Environmental conditions - Cultural practices
Country averages hide variation: - Inequality within countries matters - Some people do much better/worse than the average
Countries with higher education and higher income have significantly greater life expectancy.
The evidence is strong, consistent, and meaningful.
Both education and income matter independently, but having both creates the best outcomes—representing a difference of 10-20+ years of life.