Here it is provided a package for estimating multidimensional poverty measures based on the Alkire-Foster method which mirrors the estimation procedures of the original mpitb Stata package.
You can install the development version of mpitbR from GitHub or installing it from CRAN.
# Install the package from CRAN
install.packages("mpitbR")
# Install the latest version of the package from Github
devtools::install_github("girelaignacio/mpitbR")
A short example:
# Here we use the same synthetic household survey-like dataset from the Stata package example
data <- subset(syn_cdta)
data <- na.omit(data)
# Define the survey structure
svydata <- survey::svydesign(id=~psu, weights = ~weight, strata = ~stratum, data = data)
# mpitb set command
# First we define the indicators with their dimensions names (d1,d2,d3) as a list
indicators <- list(d1 = c("d_nutr","d_cm"),
d2 = c("d_satt","d_educ"),
d3 = c("d_elct","d_sani","d_wtr","d_hsg","d_ckfl","d_asst"))
# Set the multidimensional poverty measurement project
set <- mpitb.set(svydata, indicators = indicators, name = "myname", desc = "pref. desc")
# mpitb est command
# Estimate!
est <- mpitb.est(set, c(20, 33), over = c("area","region"),
tvar = "t", cotyear = "year")
Please cite this package if used in publications:
Girela, Ignacio (2024). mpitbR: Calculate Alkire-Foster Multidimensional Poverty Measures. R package version 1.0.0, https://CRAN.R-project.org/package=mpitbR.
A BibTeX entry for LaTeX users is
@Manual{mpitbRpkg,
title = {mpitbR: Calculate Alkire-Foster Multidimensional Poverty Measures},
author = {Ignacio Girela},
year = {2025},
note = {R package version 1.0.1},
url = {https://CRAN.R-project.org/package=mpitbR},
}
This project is licensed under the GPL (>= 3)
For exploring the package’s basic functionalities, please refer to the documentation and the vignette. Furthermore, you can refer to this draft document submitted to the R Journal, which has not undergone peer review
Contributions are welcome! Please open an issue or submit a pull request
Please, do not hesitate to contact me!
Ignacio Girela (📧 [email protected])