GithubHelp home page GithubHelp logo

alvin1359 / world-happiness-report Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 4.0 9.51 MB

Group project investigating The World Happiness Report and what characteristics makes a country happy.

Jupyter Notebook 100.00%
happiness-report python kaggle-dataset geopandas seaborn group-project

world-happiness-report's Introduction

Project Intro

As a global society, we are waking up to the fact that happiness in our daily lives is extremely important. The positive effects of a balanced mind spread not only throughout a person's life, but also throughout society in a stone-in-the-pond figure of speech.
Corporations, governments, and organisations are becoming increasingly aware of the importance of happiness. It could be noted that when minimum satisfaction standards are reached people are better able to contribute to their day to day lives and respective duties, and that it is also in their best interests to contribute to people's well-being. As a result, satisfaction metrics are constantly being used in policy decisions all around the globe.
The World Happiness Report is a publication of the Sustainable Development Solutions Network, powered by data from the Gallup World Poll and Lloyd’s Register Foundation, who provided access to the World Risk Poll.
The purpose of this project is to dive in and analyse the happiness score per country around the world and the main characteristics of what forms “Happiness”.

Project structure

project  
|__ Images/                                 # contains output graphs from jupyter notebook  
|
|__ Resources/                              # contains raw and cleaned data  
|
|
|__ .gitignore                              # gitignore file      
|
|__ Data_Cleanup_and_Exploration.ipynb      # contains data collection, cleanup and exploration
|
|__ Final_data_analysis.ipynb               # contains final analysis used in presentation
|
|__ WHA_Country.ipynb                       # contains analysis by country
|
|__ WHA_Region.ipynb                        # contains analysis by region
|  
|__World Happiness Report Presention.pptx   # project presentation  

Datasets

Source Link
Kaggle World Happiness Report https://www.kaggle.com/unsdsn/world-happiness

Install Modules and Libraries

pip install geopandas   
pip install seaborn
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import scipy.stats as st
import seaborn as sns
import geopandas as gpd

Hypothesis

  • H0: Happiness has no relationship with Economy (GDP per capita)

Questions

  1. Where are the ten Happiest Countries in the world?
  2. Why are they the Happiest Countries?
  3. How does Australia compare to other countries?

Analysis

Question 1: Where are the ten Happiest Countries in the world?

chart

The top 10 happiest countries on average from 2015 to 2019 are:

  • Denmark
  • Norway
  • Finland
  • Switzerland
  • Iceland
  • Netherlands
  • Canada
  • Sweden
  • New Zealand
  • Australia

chart

Question 2: Why are they the Happiest Countries?

chart

  • There are 6 variables that the happiness score is calculated from. Government Trust, Generosity, Health, Family, Economy (GDP per Capita) and Freedom.
  • We found the happiest countries had high scores in Health, Family and Economy.

Question 3: How does Australia compare to other countries?

chart

  • Australia sits above the avegarge mean for the 6 variables that are used to calculate the happiness score.

Hypothesis: Does Economy (GDP Per Capita) correlate with happiness score?

image

  • Analysis shows r-value = 0.6683439315322106, indicating there is a positive relationship between economy and happiness score
  • Analysis shows p-value = 6.992878703186441e-35 < 5%
  • We reject null hypothesis and accept alternate hypothesis
    • H1: Happiness does have a relationship with Economy (GDP per Capita)

Possible Outcomes

  • Governments can cater policies around ensuring:
    • good economic output
    • providing social support for people
    • investing in health sectors
  • This is to ensure a country stays happy (could aid in maintaining government leadership)

Contributors

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.