Learn R Programming

ppitables (version 0.6.0)

ppiMOZ2024: Poverty Probability Index (PPI) lookup table for Mozambique

Description

The latest version of the PPI for Mozambique was created in June 2024 by Innovations for Poverty Action (IPA) based on data from the 2022 Demographic and Health Survey (DHS).

Usage

ppiMOZ2024

Arguments

Format

A data frame with 6 columns and 101 rows:

score

PPI score

percentile20

Below 20th percentile poverty line

percentile40

Below 40th percentile poverty line

percentile50

Below 50th percentile poverty line

percentile60

Below 60th percentile poverty line

percentile80

Below 80th percentile poverty line

Examples

Run this code
  # Access Mozambique PPI table
  ppiMOZ2024

  # Given a specific PPI score (from 0 - 100), get the row of poverty
  # probabilities from PPI table it corresponds to
  ppiScore <- 50
  ppiMOZ2024[ppiMOZ2024$score == ppiScore, ]

  # Use subset() function to get the row of poverty probabilities
  # corresponding to specific PPI score
  ppiScore <- 50
  subset(ppiMOZ2024, score == ppiScore)

  # Given a specific PPI score (from 0 - 100), get a poverty probability
  # based on a specific poverty definition. In this example, the national
  # poverty line is used
  ppiScore <- 50
  ppiMOZ2024[ppiMOZ2024$score == ppiScore, "percentile80"]

Run the code above in your browser using DataLab