Package: mpindex 0.3.0

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, <doi:10.1016/j.jpubeco.2010.11.006>). 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.0.tar.gz
mpindex_0.3.0.zip(r-4.7)mpindex_0.3.0.zip(r-4.6)mpindex_0.3.0.zip(r-4.5)
mpindex_0.3.0.tgz(r-4.6-any)mpindex_0.3.0.tgz(r-4.5-any)
mpindex_0.3.0.tar.gz(r-4.7-any)mpindex_0.3.0.tar.gz(r-4.6-any)
mpindex_0.3.0.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:

4.99 score 5 stars 13 scripts 162 downloads 7 exports 90 dependencies

Last updated from:ad3a3c91c9. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK165
source / vignettesOK160
linux-release-x86_64OK170
macos-release-arm64OK100
macos-oldrel-arm64OK106
windows-develOK105
windows-releaseOK99
windows-oldrelOK92
wasm-releaseOK133

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 | Further reading

Last update: 2026-06-14
Started: 2023-09-09

Migrating to mpindex 0.3.0
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() | 9. Minimum R version bumped to 4.1.0 | Quick migration checklist

Last update: 2026-06-14
Started: 2026-06-08

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-06-14
Started: 2026-06-08