Package: mpindex 0.3.1

mpindex: Multidimensional Poverty Index (MPI) via the Alkire-Foster Method

Estimate Multidimensional Poverty Index (MPI) measures from household survey microdata using the Alkire-Foster dual-cutoff counting method (Alkire and Foster, 2011). Load indicator specifications from CSV, Excel, JSON, or plain-text files; compute the headcount ratio (H), intensity (A), and MPI = H x A across any subgroup; and export results to formatted Excel reports. Supports complex survey designs — stratification, clustering, and probability weights — and optionally appends design-based standard errors and confidence intervals.

Authors:Bhas Abdulsamad [aut, cre, cph]

mpindex_0.3.1.tar.gz
mpindex_0.3.1.zip(r-4.7-any)mpindex_0.3.1.zip(r-4.6-any)mpindex_0.3.1.zip(r-4.5-any)
mpindex_0.3.1.tgz(r-4.6-any)mpindex_0.3.1.tgz(r-4.5-any)
mpindex_0.3.1.tar.gz(r-4.7-any)mpindex_0.3.1.tar.gz(r-4.6-any)
mpindex_0.3.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
mpindex/json (API)

# Install 'mpindex' in R:
install.packages('mpindex', repos = c('https://yng-me.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/yng-me/mpindex/issues

Pkgdown/docs site:https://yng-me.github.io

Datasets:

On CRAN:

Conda:

5.43 score 6 stars 15 scripts 398 downloads 7 exports 90 dependencies

Last updated from:79b8b76114. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK188
source / vignettesOK207
linux-releaseOK181
macos-releaseOK108
macos-oldrelOK92
windows-develOK101
windows-releaseOK111
windows-oldrelOK85
wasm-releaseOK121

Exports:compute_mpidefine_deprivationdefine_mpi_specsdeprivedglobal_mpi_specssave_mpiuse_global_mpi_specs

Dependencies:askpassbase64encbigDbitbit64bitopsbslibcachemclicliprcommonmarkcpp11crayoncurldata.tabledigestdplyrevaluatefarverfastmapflextablefontawesomefontBitstreamVerafontLiberationfontquiverforcatsfsgdtoolsgenericsgluegthavenhighrhmshtmltoolshtmlwidgetsjquerylibjsonlitejuicyjuiceknitrlabelinglifecyclelitedownmagrittrmarkdownmemoisemimeofficeropensslopenxlsxpillarpkgconfigprettyunitsprogresspurrrqpdfR6raggrappdirsRColorBrewerRcppreactablereactRreadrrlangrmarkdownsassscalesstringistringrsyssystemfontstextshapingtibbletidyrtidyselecttinytextsgtzdbutf8uuidV8vctrsviridisLitevroomwithrxfunxml2yamlzip

Getting Started with mpindex
What is the MPI? | Installation | The workflow at a glance | Step 1: Define your MPI specifications | What goes in a specification file? | Using the built-in Global MPI specification | Using your own specification file | Step 2: Prepare your data | The two built-in datasets | Step 3: Compute the MPI | The main function: compute_mpi() | Disaggregating by a subgroup | The step-by-step alternative | Step 4: Explore the results | Understanding the output | The headline MPI | Indicator contributions | Headcount ratios | The deprivation matrix | Step 5: Save results to Excel | Quick-reference script

Last update: 2026-10-04
Started: 2023-09-09

Migrating to mpindex 0.3.x
1. Argument names no longer carry a . prefix | 2. mpi_specs is now required — no more global option | 3. use_global_mpi_specs() is deprecated — use global_mpi_specs() | 4. .save_as_global_options is deprecated and no-ops | 5. compute_mpi() has a new signature — deprivations replaces .deprivation_profile | 6. .collapse replaced by collapse_fn | 7. save_mpi() — removed arguments | 8. Default names_separator changed | 5. aggregation removed from define_mpi_specs() — use by in compute_mpi() | Quick migration checklist

Last update: 2026-10-04
Started: 2026-10-04

Survey-Weighted MPI
Why survey weights matter | Installation | Setup | Simple random sample (weights only) | Option A — pass column names directly | Option B — pre-built svydesign object | Adding standard errors and confidence intervals | Disaggregation by subgroup | Comparing weighted vs. unweighted | Step-by-step workflow | Saving survey-weighted output to Excel

Last update: 2026-10-04
Started: 2026-06-08