Giter Club home page Giter Club logo

207demography's Introduction

207demography

Time: 2 weeks

Team: 2

Language: Python

The project

The world population growth is a cause for concern for most people: 1 billion people in 1800, 2 billion peo-ple in 1927, 6 billion people in 2000 and more than 7.5 billion people today... Predicting future population using past censuses is therefore a key concept.

Along with this subject, you will find a file named 207demography_data.csv, which gives an estimation of every country’s population from 1960 onwards. If world population growth seems exponential in the long-term, in a shorter term it seems linear: using this data, you must establish the linear least squares regression that will allow you to predict population depending on the year.

In the following,Y is the population (in million people) and X the year. With one or several country codes as inputs, your program will print:

  • The aX and bX coefficients of the linear fit Y = aX * X + bX
  • The root-mean-square deviation of this fit
  • The population prediction in 2050 according to this fit
  • The aY and bY coefficients of the linear fit X = aY * Y + bY
  • The root-mean-square deviation of this fit
  • The population prediction in 2050, according to this fit
  • The correlation coefficient between X and Y

USAGE:

>> ./207demography -h
USAGE
    ./207demography code [...]
    
DESCRIPTION
    code    country code

Author Corentin COUTRET-ROZET and PATRICIA MONFA-MATAS

207demography's People

Contributors

patumm 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.