Exploring Poverty with Principal Component Analysis

Project Summary

This Data Expedition seeks to introduce students to statistical analysis in the field of international development. Students construct a index of wealth/poverty based on asset holdings using four datasets collected under the umbrella of the Living Standards Measurement Survey project at the World Bank. We selected countries to represent different continents with comparable and recent survey data: Bulgaria (2007), Tajikistan (2009), Tanzania (2010-2011), and Panama (2008).

First, we construct an index of wealth based on household assets in the different countries using Principle Components Analysis. Once a poverty index is constructed, students seek to understand what the main drivers of wealth/poverty are in different countries. We include variables for health, education, age, relationship to the household head, and sex. Students then use regression analysis to identify the main drivers of poverty in different countries.

Themes and Categories

Graduate Students: Claire Le Barbenchon (claire.lebarbenchon@duke.edu) and Federico Ferrari (federico. ferrari@duke.edu)

Faculty: Mine Çetinkaya-Rundel

Course: STA 112FS: Data Science

Guiding Questions

This project seeks to help students answer some key questions in international development: How can we get measures of poverty that do not involve income? What are some of the demographic and human capital variables that can help explain wealth levels?

In developing countries, income may not be an ideal measure of well-being. In agricultural societies, income is tied to harvest, and thus is sensitive to the season in which the survey is administered. Furthermore, income often does not capture in-kind revenue, and is a particularly poor measure for households that practice subsistence agriculture. For this reason, development experts will often use indices of poverty based on household assets, to better understand well-being levels. Household asset ownership does not vary seasonally, and is not tied to payment-type, making it a more stable and often preferred measure of poverty.

Conceptual and Statistical Questions:

  • Why we may want to create a poverty or wealth index?
  • How to use Principal Component Analysis (PCA) to construct indices
  • How to interpret PCA results and compare across countries
  • Using regression to understand the factors that affect wealth across countries
  • Using and interpreting interaction terms

The plots below show the distribution of wealth in each of the four countries. They can be used to answer descriptive questions about inequality.

Figure 1: Distribution of first component
Figure 1: Distribution of first component
Figure 2: Boxplot of first component
Figure 2: Boxplot of first component


All the data sets used in this project were collected under the umbrella of the Living Standards Measurement Survey project at the World Bank. This large initiative has collected survey data from developing countries since the 1980s (using comparable survey instruments) to better understand questions of health, education, poverty, employment and other indicators of well-being around the world.

While this data is public use, individuals must register and download the data at http://microdata.worldbank. org/index.php/catalog/central

We created a simplified data set for instructional purposes, randomly selecting 2,500 observations, in order to make sure that sample sizes were uniform across countries.


Dimensions of the dataset are 2,500 observations per country, for 4 countries, and 20 variables including: an ID variable for the individual and the household; and a country variable; the following demographic variables: age, gender, marital status, relationship to household head; education; a health proxy variable (hospitalization in past 12 months); water access; and ten household assets (refrigerator, tv, bike, motorbike, computer, car, video, stereo, stove, sewing machine). Thus the full dimensions are 10,000x20, including the variable for the country.


The World Bank, Living Standards Measurement Study LSMS (2007). Bulgaria Multitopic Household Survey 2007 [BGR_2007_MTHS_v01_M]. Retrieved from http://microdata.worldbank.org/index.php/catalog/ 2273/study-description

The World Bank, Living Standards Measurement Study - Integrated Surveys on Agriculture (2010-2011). Tanzania - National Panel Survey 2010-2011, Wave 2 [TZA_2010_NPS-R2_v01_M]. Retrieved from http: //microdata.worldbank.org/index.php/catalog/1050

The World Bank, Living Standards Measurement Study LSMS (2008). Panama - Encuesta de Niveles de Vida 2008 [PAN_2008_ENV_v01_M]. Retrieved from http://microdata.worldbank.org/index.php/catalog/70

Tajikistan Statistical Agency, Living Standards Measurement Study LSMS (2009). Tajikistan - Living Standards Survey 2009 [TJK_2009_TLSS_v01_M]. Retrieved from http://microdata.worldbank.org/index. php/catalog/73%5Bc1%5D

Related Projects

We introduced students to spatial analysis in QGIS and R using location data from two whale species tagged with satellite transmitters. Students were given satellite tracks from five Cuvier’s beaked whales (Ziphius cavirostris) and five short-finned pilot whales (Globicephala macrorhynchus) tagged off the North Carolina coast. Students then used RStudio to calculate two metrics of these species' spatial ranges: home range (where a species spends 95% of its time) and core range (where a species spends 50% of its time). Next, students used QGIS to visualize the data, producing maps that displayed the whales' tracks and their ranges.

Neuroscience evidence (e.g., brain scans, mental-illness diagnosis, etc.) is increasingly being used in criminal cases to explain criminal behavior and lessen responsibility. A team of students led by researchers within the Science, Law, and Policy Lab to explore a national set of criminal cases in which neuroscience evidence is used to see what aspects of the criminal trial (i.e., offense, age of offender, etc.) may predict the outcome of future cases. Additionally, with the use of our comprehensive 10-year judicial opinion data set (2005-2015), the team will collaborate on creating a computer algorithm to assist in locating and coding online judicial opinions to build upon our comprehensive list of opinions. This tool will provide a strong foundation in the work of understanding neuroscience’s role within a criminal court setting.

Faculty Lead: Nita Farahany

Project Manager: William Krenzer

Students will collaborate with staff at DataWorks NC and the Eviction Diversion Program to explore and develop means of using evictions data to drive meaningful policy change that help Durham residents stay in their homes. Students will clean and assess the quality of evictions data, look for seasonal and geographic variation in eviction rates, analyze the relationship between evictions, rents, wages and other economic indicators, develop metrics for the real financial cost of evictions, and build static visualizations or a data dashboard to communicate their results. This project will help housing advocates in Durham assess the impact of their current work, and understand which future interventions will be most impactful.

Project Leads: Tim Stallmann, John Killeen, Peter Gilbert

Project Manager: Libby McClure