The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
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
::install_github("girelaignacio/mpitbR") devtools
A short example:
# Here we use the same synthetic household survey-like dataset from the Stata package example
<- subset(syn_cdta)
data <- na.omit(data)
data
# Define the survey structure
<- survey::svydesign(id=~psu, weights = ~weight, strata = ~stratum, data = data)
svydata
# mpitb set command
# First we define the indicators with their dimensions names (d1,d2,d3) as a list
<- list(d1 = c("d_nutr","d_cm"),
indicators 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
<- mpitb.set(svydata, indicators = indicators, name = "myname", desc = "pref. desc")
set
# mpitb est command
# Estimate!
<- mpitb.est(set, c(20, 33), over = c("area","region"),
est 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,
= {mpitbR: Calculate Alkire-Foster Multidimensional Poverty Measures},
title = {Ignacio Girela},
author = {2024},
year = {R package version 1.0.0},
note = {https://CRAN.R-project.org/package=mpitbR},
url }
This project is licensed under the GPL (>= 3)
For more detailed information, please refer to the documentation
IMPORTANT: A more detailed vignette on the usage of the package is under construction. Meanwhile, for exploring the package’s basic functionalities, you can refer to this submitted draft document, 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 (📧 ignacio.girela@unc.edu.ar)
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.