mpindex

CRAN status R-CMD-check

Estimate Multidimensional Poverty Index (MPI) measures from household survey microdata using the Alkire-Foster dual-cutoff counting method. Load your indicator specification from a CSV, Excel, JSON, or plain-text file; compute the headcount ratio (H), intensity (A), and MPI = H × A; disaggregate by any subgroup; and export results to a formatted Excel report. Complex survey designs — stratification, clustering, and probability weights — are supported out of the box, with optional design-based standard errors and confidence intervals.

Learn more in vignette("mpindex") and ?compute_mpi.

Upgrading from 0.2.x? See the migration guide for a full list of breaking changes and before/after examples.

Installation

To install the mpindex package from CRAN:

install.packages('mpindex')

If you want to get the latest development version of mpindex, install it from GitHub. Note that you may need to install devtools.

# install.packages("devtools")
devtools::install_github('yng-me/mpindex')

Usage

Load the package once you have successfully completed the installation.

library(mpindex)