Skip to main content

Posts

Showing posts from July, 2012

Python Code to Calculate Gini index/coefficient, Robin Hood index, & Lorenz curve

Following Python code can be used to calculate Gini index, Gini coefficient, Robin Hood index, and points of Lorenz curve. Lorenz curve can be also plot if matplotlib is installed. It's based on the steps given by Peter Rosenmai . Download from git repo Other online tools: http://www.wessa.net/co.wasp http://www.poorcity.richcity.org/calculator.htm