Comparing Quality of Life, Income Inequality, and Nobel Laureates Per Capita
Now that I’m done with finals, I finally have time to update my blog. I managed to find three separate Wikipedia entries: one about the Quality of Life Scores of several different countries, one about the number of Nobel Laureates per capita, and one that is a List of Countries by Income Inequality which uses Gini index to rank countries.
I then plotted the data to see if there was a discernable relationship between the three. Most of the work for this project had to do with merging and cleaning the data. I began by pasting the tables from the wikipedia articles into a .csv file. Since the tables were all different lengths and some countries were missing values of the parameters, I had to tidy the dataset up quite a bit.
The result, featured below the code, is pretty interesting.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
We can see that there is a weak positive relationship between the Quality of Life of a country and its Nobel Laureates per capita, as I expected. Perhaps most interesting is how the income inequality fits into all of this. We see that countries that have a high Quality of Life Score AND high Nobel Laureates per capita tend to have very low income inequality. On the other hand, most of the countries that had relatively low Quality of Life scores and very few Nobel Laureates per capita tended to also have high levels of income inequality.
It is curious to note that some countries with higher levels of income inequality still had very low Nobel Laureates per capita, even if they were on the medium-high end of the Quality of Life scoring.