poverty 7.2

Last updated:

0 purchases

poverty 7.2 Image
poverty 7.2 Images
Add to Cart

Description:

poverty 7.2

POVERTY
A Python Package to calculate indexes related to poverty and inequality.


Who is this for?
For anybody who want to calculate indexes related to poverty and inequality using a python package.


Installing
You can install poverty package using pip:
$ pip install poverty


Implemented Features

Headcount Index
Poverty Index
Squared Poverty Index
Sen Index
Sen-Shorrocks-Thon Index
Watts Index
Gini Coefficient
Lorenz Curve



Commands

>>> import poverty as pt

>>> poverty_line=125

>>> expenditure=[100,110,150,160]

>>> pt.calc_head(expenditure,poverty_line)

>>> pt.pov_index(expenditure,poverty_line)

>>> pt.squared_pov_index(expenditure,poverty_line)

>>> pt.sen_index(expenditure,poverty_line)

>>> pt.sst_index(expenditure,poverty_line)

>>> pt.watts_index(expenditure,poverty_line)

>>> pt.gini(expenditure)

>>> pt.draw_lorenz(expenditure)




Contributor
Ronak Sisodia

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.