๐ Does More Money Mean a Longer Life? An Analysis of GDP and Life Expectancy Across Countries
Economic growth is often seen as a key indicator of a countryโs success. But does a higher GDP actually lead to a better quality of life?
๐ Does More Money Mean a Longer Life?
An Analysis of GDP and Life Expectancy Across Countries
Economic growth is often seen as a key indicator of a countryโs success. But does a higher GDP actually lead to a better quality of life?
In this analysis, I explored the relationship between Gross Domestic Product (GDP) and life expectancy at birth across six countries between 2000 and 2015.
The goal was to understand whether wealth directly translates into improved living conditions, or whether other factors play a significant role.
๐ Background
Gross Domestic Product (GDP) represents the total monetary value of all goods and services produced within a country over a specific period. It is commonly used as a measure of economic performance.
Life expectancy at birth reflects the average number of years a newborn is expected to live, assuming current mortality rates remain constant.
While GDP indicates economic strength, life expectancy is often used as a proxy for overall well-being and healthcare quality.
โ -
๐ Data Source
The dataset used in this analysis includes:
- GDP data (in US dollars)
- Life expectancy at birth (in years)
- Six countries: Chile, China, Germany, Mexico, USA, Zimbabwe
- Time period: 2000โ2015
The data was cleaned and analyzed using Python libraries such as Pandas, Matplotlib, and Seaborn.
โ -
๐ Comparing Countries
The bar charts below show the average GDP and life expectancy for each country.


Insight
The United States has the highest GDP by a large margin, yet Germany has the highest life expectancy.
This suggests that higher economic output does not necessarily guarantee better health outcomes.
โ -
๐ Trends Over Time
Line charts were used to track GDP and life expectancy changes over time.


Insight
GDP has increased significantly in countries like China, while life expectancy has improved steadily across all countries.
This indicates that economic growth can be rapid, but improvements in health tend to occur gradually.
โ -
๐ Relationship Between GDP and Life Expectancy
A scatter plot was used to examine the relationship between GDP and life expectancy.

Insight
There is a positive relationship between GDP and life expectancy. However, the relationship is not perfectly linear.
This suggests that factors such as healthcare systems, public policy, and inequality also play important roles.
โ -
๐ฆ Distribution of Life Expectancy
Boxplots were used to examine variability in life expectancy.

Insight
Developed countries show stable life expectancy, while Zimbabwe exhibits greater variability.
This reflects differences in healthcare systems and economic stability.
โ -
๐ Economic Growth Trends
GDP growth rates were calculated to understand economic momentum.

Insight
Zimbabwe shows a sharp spike in GDP growth around 2008โ2009, where growth nearly doubles before dropping back to normal levels. This indicates a short-term fluctuation rather than sustained economic growth, with the remaining years showing relatively stable patterns.
Growth rate provides deeper insight than absolute GDP values.
โ -
๐ Conclusion
This analysis shows that while GDP and life expectancy are positively related, the relationship is not absolute.
Countries with high GDP do not always achieve the highest life expectancy, indicating that wealth alone does not determine well-being.
โ -
โ ๏ธ Limitations
- The dataset includes only six countries, which limits generalization
- Other important factors (healthcare quality, education, inequality) are not included
- GDP is a broad measure and does not capture income distribution
โ -
๐ฎ Future Research
Further analysis could include:
- More countries and recent data
- Additional variables such as healthcare spending and education levels
- Regional or continent-based comparisons
โ -
๐ Final Thought
Economic growth is important, but it is how that wealth is used that truly determines the quality of life.
๋ฉํ๋ฐ์ดํฐ
- post_id
- d42539a76ea5
- slug
- does-more-money-mean-a-longer-life-d42539a76ea5
- url
- https://medium.com/@talhakniazi1/does-more-money-mean-a-longer-life-d42539a76ea5
- canonical_url
- https://medium.com/@talhakniazi1/does-more-money-mean-a-longer-life-d42539a76ea5
- author_url
- https://medium.com/@talhakniazi1
- status
- ok
- fetched_at
- 2026-06-09 15:37:30