Home — Get Started — Visualizations examples — Help file
Estimating Global Poverty in Stata
The povcalnet
Stata command allows Stata users to compute poverty and inequality indicators for more than 160 countries and regions included in the World Bank’s database of household surveys. It has the same functionality as the PovcalNet website. PovcalNet is a computational tool that allows users to estimate poverty rates for regions, sets of countries or individual countries, over time and at any poverty line.
PovcalNet is managed jointly by the Data and Research Groups in the World Bank’s Development Economics Division. It draws heavily upon a strong collaboration with the Poverty and Equity Global Practice, which is responsible for the gathering and harmonization of the underlying survey data.
PovcalNet reports the following measures at the chosen poverty line:
- Headcount ratio
- Poverty Gap
- Squared Poverty Gap
- Watts index
It also reports these inequality measures:
- Gini index
- Mean log deviation
- Decile shares
The underlying welfare aggregate is per capita household income or consumption expressed in 2011 PPP-adjusted USD. Poverty lines are expressed in daily amounts, while means and medians are monthly.
For more information on the definition of the indicators, click here For more information on the methodology, click here
This note provides more detail on the Stata command and summarizes key features of the PovcalNet methodology
To download povcalnet
R package click here
Installation
From SSC (Not yet available)
ssc install povcalnet
From GitHub
Recommended installation (Might not be available in your computer due to firewall restriction of your organization. In this case, see alternative installation below.):
We recommend installing povcalnet
using the github
Stata command by E. F. Haghish
net install github, from("https://haghish.github.io/github/")
github install worldbank/povcalnet
Alternatively you can install the package by typing the followinf line,
net install povcalnet, from("https://raw.githubusercontent.com/worldbank/povcalnet/master/")
Alternative installation from GitHub in case the options above do not work due to firewall restrictions:
- In the GitHub repository of the
povcalnet
Stata command, click on the green icon “Clone or Download” at the top. - Download the package as a zip file.
- Extract the files with extension
.ado
and.sthlp
only, and place them in the directoryc:/ado/plus/p
- type
discard
in Stata.