Data Source: Acquired from Codecademy, which says the data is “from the World Health Organization and the World Bank”.
This is a project which explores and analyzes a single dataset containing Life Expectancy and GDP from six different countries. This analysis gives us insight into two questions:
The six countries in the set are spread out over different continents and regions of the world.
Over time we see a steady increase in Life Expectancy for all countries. Zimbabwe is separate from the rest of the group but its steep upward slope shows that it is quickly catching up.
Zimbabwe shows lower Life Expectancy and higher variation (increasing over time as seen in the previous figure) compared to the rest of the countries in the dataset.
Writing for Brittanica, Clyde William Sanger and various contributors discuss the health conditions in Zimbabwe here. The socio-political discord that amplified Zimbabwe’s problems are discussed here.
USA and China have economies that grow much faster than the rest of the world.
We can see that the US has a significantly larger economy. We can also see that China’s and the US’s economy are undergoing relative great change (growth over time, as can be seen in the previous figure) compared to the other countries.
The r-scores, aka correlation coefficients, tell us that there is a strong positive correlation between Life Expectancy and GDP for each country with respect to its own population. The Life Expectancy of the citizens of a country is a function of that country’s own GDP. Keep in mind, the r-score only tells us the strength of the association between GDP and Life Expectancy. It does not tell us how quickly Life Expectancy increases as GDP increases.
Zooming in on China, we can see that it actually consists of two GDP vs Life Expectancy Regression lines. It has a steeper slope in the years 2000-2006, and then suddenly transitions to a more horizontal slope in the years 2006-2015. This seems to act like a ‘missing link’ in our data, showing that, at some point, a country’s GDP vs Life Expectancy relationship transitions from a steep to flat line.
Unlike the previously calculated r-score of 0.91, the calculated r-score of the regression line for 2006 onwards is 0.98.
Not all countries have the same degree of correlation between Life Expectancy and GDP. It could mean that for some countries, the health of its citizens is not as dependent on how well its economy is doing compared to other countries. Perhaps the climate, food, environment, political, and geographical factors are having larger influences.
The above plot is interactive.
Let us focus our attention on the slopes of the regression lines of each country. We can see that it differs by country. The slope tells us how how quickly Life Expectancy increases as GDP increases. As we move from left to right on the plot, we can clearly see that the slopes shift from vertical to horizontal. This can be understood as ‘Countries with low GDP see great gains in Life Expectancy for every increase in GDP, but as countries start to have larger GDPs, they have to acquire more GDP to get the same effect on Life Expectancy’. It seems to bear some resemblance to the law of diminishing returns. This is a reason to give support to developing nations. Small economic improvements they make goes a long way towards improving lives. This would justify institutions like the World Bank. The World Bank is an international organization that offers developmental assistance to middle-income and low-income countries.5
For Predictive Statistical Modelling, considering the diminishing effect when viewed across different countries, it could be worth trying to use a higher-order curve rather than a linear curve to fit the data. It could also be worth investigating if there is a “phase-transition” point, where the behavior/slope suddenly changes in a piecewise fashion. This is most evident in the plot of China, where it looks like there is a transition from a steep slope towards a flat slope.
DON’T PANIC — Hans Rosling showing the facts about population. A highlight of the talk, which ties in to the points made here, is at the 36:00 mark. Hans Rosling explains how a relatively small amount of money makes a significantly large amount of difference for people in the developing world.