Learn practical skills, build real-world projects, and advance your career

World Happiness Analysis

The Happy Planet Index (HPI) is an index of human well-being and environmental impact introduced by the New Economics Foundation in July 2006. The Happy Planet Index measures what matters: sustainable wellbeing for all. It tells us how well nations are doing at achieving long, happy, sustainable lives. 156 countries are ranked based on how happy their citizens perceive themselves to be.

Column Information:

  • Score is a populated-weighted average score on a scale running from 0 to 10 that is tracked over time and compared against other countries.
  • GDP per capita is in terms of Purchasing Power Parity (PPP) adjusted to constant 2011 international dollars, taken from the World Development Indicators (WDI) released by the World Bank on November 14, 2018.
  • The healthy life expectancy at birth are based on data from the World Health Organization (WHO) Global Health Observatory data repository.
  • Social support is the national average of the binary responses (either 0 or 1) to question “If you were in trouble, do you have relatives or friends you can count on to help you whenever you need them, or not?”
  • Freedom to make life choices is the national average of binary responses to the question “Are you satisfied or dissatisfied with your freedom to choose what you do with your life?”
  • Generosity is the residual of regressing the national average to the question “Have you donated money to a charity in the past month?” on GDP per capita.
  • Perceptions of corruption are the average of binary answers to two questions: “Is corruption widespread throughout the government or not?” and “Is corruption widespread within businesses or not?”
project_name = "world-happiness-analysis"
!pip install jovian --upgrade -q
import jovian
jovian.commit(project=project_name, files=['2019.csv'])
[jovian] Attempting to save notebook.. [jovian] Updating notebook "weechien/world-happiness-analysis" on https://jovian.ml/ [jovian] Uploading notebook.. [jovian] Capturing environment.. [jovian] Uploading additional files... [jovian] Committed successfully! https://jovian.ml/weechien/world-happiness-analysis