Code Monkey home page Code Monkey logo

life-expectancy-and-gdp-analysis's Introduction

Bar Chart Icon Analyzing the Interplay between GDP and Life Expectancy

mulitble scatter plots

🔴You can Accsess The Notebook for full insight on the project.


pen Icon Introduction

GDP, or Gross Domestic Product, is a measure of the total economic output of a country. It is also often linked to a nations devolepment This project aims to investigate the presence of a correlation between the Gross Domestic Product (GDP) of six countries and the life expectancy of their respective populations.

The goals are to prepare data, EDA with ploting, and share findings and study the results.

Some of the questions this project will seek to answer are:

  • Has GDP increased over the years in all of the 6 nations?
  • Has Life Expectancy rates at birth increased over the years in all of the 6 nations?
  • Is there a correlation between GDP and Life at birth?
  • What is the average Life expectancy in all of the nations?
  • what is the average GDP in all of the 6 nations?
  • how is the data distributed?

Data Source:

GDP Source :

approach Icon Approach

⚙️Tech used for This project :

  • Loading and cleaning data , EDA:

    • CSV library svg
    • pandas svg
    • `pandas svg
  • Visualizing the Data:

    • Matplotlib icon svg
    • Seaborn icon svg

🔬EDA

Given a CSV file all_data.csv The dataset woule be read and put into a Pandas Dataframe. Then, function as pd.info() and pd.describe() would be performed to inspect the data and look for any null values.

image

Some columns were renamed for better and more clear naming , and a couple of plots were graphed to answer our questions and to test the relationship between The GDP rates and The Life expectancy rates across the six nations.

image

image

🫡Please refer to the Notebook To view the project

🔗Findings and Conclusion

the project provides a thorough examination of the relationship between GDP and life expectancy at birth across multiple countries. The combination of statistical analyses, visualizations, and correlation testing contributes to a comprehensive understanding of the interplay between economic factors and health outcomes. These findings can be valuable for policymakers, researchers, and stakeholders interested in the socio-economic determinants of life expectancy.

Throughout this project, a CSV file was read and put into a Pandas Dataframe to perform summary statistics and data tidying. After that, several observations were made:

  • According to the given dataset, The GDP and LEABY have increased over the years [2000 - 2015] for all of the six nations.

  • On average, The United States of America had the highest GDP in all of the years while at the same time, the USA was the third highest nation in terms of LEABY following Chille and Germany as the country with the most LEABY.

  • a relation was discovered between GDP and The Life Expectancy At Birth rates and the two variables were compared using the '.corr () and the scipy. pearson` coefficient. the result was a 0.34 correlation. The positive correlation of 0.34 signifies that as GDP increases, there's a tendency for life expectancy rates to also increase, and vice versa. However, the strength of this relationship is moderate. It's not a weak relationship (which would be closer to zero) nor a strong one (which would be closer to 1

The presence of a correlation indicates that there is some connection or association between GDP and life expectancy rates. This relationship might be influenced by various factors. For example, higher GDP might lead to better healthcare, education, infrastructure, and living standards, which could contribute to increased life expectancy.

life-expectancy-and-gdp-analysis's People

Contributors

hsalnasi avatar

Watchers

 avatar

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.