Giter Site home page Giter Site logo

humandevelopmentindex's Introduction

Dendrogram For the Human Developnent Index

The HDI Dataset from the UNDP creates an index for each country based on four major variables:

  • Gross National Income
  • Life Expectancy at Birth
  • Expected Years of Schooling
  • Mean years of Schooling

Each country is indexed on those variables for every year from 1980 - 2013, with more completeness in years closer to 2013. The end result of the index is simply a numerical value describing the overall strength of the country based on the four variables. This is great because it provides a measurable numerical value on which to guage progress and help focus aid. However, as the recent trend in data visualization has demonstrated, seeing patterns in tabluar data is much more difficult than charts and graphical representations of data.

One high level application of data visualization with this data is to use it to help us understand how the countries are distributed by their index values. Obviously we could sort the data and show rich countries at one end and poor countries at another end. But rankings mask the clusters or bunches of values that might show gaps between different tiers of index performance.

Dendrograms

For this excercise we are going to use a clustering and visualization method called a dendrogram. Aside from being difficult to pronounce, Dendrograms are great for finding similarities in multivariable data. Lets work through an example. American footaball players come in all shapes and sizes. On a single team you have speedy wide receivers and huge 300+ pound lineman. One way to classify an entire team of football players is to apply a dendrogram to the height and weight of players on a team. Let's see what happens when we make a dendrogram of the Washington Redskins

To begin the investigation we are going to use a clustering function in R called hclust using the "ward" method: hclust

hdidendrogram

humandevelopmentindex's People

Contributors

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