Title: | Computation of Multidimensional Poverty Index (MPI) |
---|---|
Description: | Computing package for Multidimensional Poverty Index (MPI) using Alkire-Foster method. Given N individuals, each person has D indicators of deprivation, the package compute MPI value to represent the degree of poverty in a population. The inputs are 1) an N by D matrix, which has the element (i,j) represents whether an individual i is deprived in an indicator j (1 is deprived and 0 is not deprived), and 2) the deprivation threshold. The main output is the MPI value, which has the range between zero and one. MPI value is approaching one if almost all people are deprived in all indicators, and it is approaching zero if almost no people are deprived in any indicator. Please see Alkire S., Chatterjee, M., Conconi, A., Seth, S. and Ana Vaz (2014) <doi:10.35648/20.500.12413/11781/ii039> for The Alkire-Foster methodology. |
Authors: | Kittiya Kukiattikun [aut, cre], Chainarong Chainarong [aut] |
Maintainer: | Kittiya Kukiattikun <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.1.0 |
Built: | 2025-03-06 03:18:10 UTC |
Source: | https://github.com/cran/MPI |
Multidimensional Poverty Index using Alkire-Foster (AF) method computes in parallel mode.
AF_Par(df, g = NULL, w = NULL, k = 1)
AF_Par(df, g = NULL, w = NULL, k = 1)
df |
A poverty data frame |
g |
A column name will be used to divide data into groups. When the value is NULL, the entire data is not separated into groups.(default as NULL) |
w |
An indicator weight vectors (default as 1) |
k |
A poverty cut-off. If an aggregate value of indicators of a specific person is above or equal the value of k, then this person is considered to be a poor.(default as 1) |
returns a list
of list
contains
groupname |
A Grouped value from column input 'g' |
total |
Number of population in each group |
poors |
Number of deprived people in each group |
H |
Head count ratio, the proportion of the population that is multidimensionally deprived calculated by dividing the number of poor people with the total number of people. |
A |
Average deprivation share among poor people, by aggregating the proportion of total deprivations each person and dividing by the total number of poor people. |
M0 |
Multidimensional Poverty Index (MPI) |
DimentionalContribution |
|
pov_df |
poverty data frame associated with each group. |
# Run this function ## Not run: output <- MPI::AF_Par(df = MPI::examplePovertydf, g = "Region") ## End(Not run)
# Run this function ## Not run: output <- MPI::AF_Par(df = MPI::examplePovertydf, g = "Region") ## End(Not run)
Multidimensional Poverty Index using Alkire-Foster (AF) method computes in sequential mode
AF_Seq(df, g = NULL, w = NULL, k = 1)
AF_Seq(df, g = NULL, w = NULL, k = 1)
df |
A poverty data frame |
g |
A column name will be used to divide data into groups. When the value is NULL, the entire data is not separated into groups.(default as NULL) |
w |
An indicator weight vectors (default as 1) |
k |
A poverty cut-off. If an aggregate value of indicators of a specific person is above or equal the value of k, then this person is considered to be a poor.(default as 1) |
returns a list
of list
contains
groupname |
A Grouped value from column input 'g' |
total |
Number of population in each group |
poors |
Number of deprived people in each group |
H |
Head count ratio, the proportion of the population that is multidimensionally deprived calculated by dividing the number of poor people with the total number of people. |
A |
Average deprivation share among poor people, by aggregating the proportion of total deprivations each person and dividing by the total number of poor people. |
M0 |
Multidimensional Poverty Index (MPI) |
DimentionalContribution |
|
pov_df |
poverty data frame associated with each group. |
# Run this function output <- MPI::AF_Seq(df = MPI::examplePovertydf, g = "Region")
# Run this function output <- MPI::AF_Seq(df = MPI::examplePovertydf, g = "Region")
A simulation poverty data frame
examplePovertydf
examplePovertydf
A data frame with 30 rows of individuals and 17 variables:
The first 16 variables are deprivation indicators where any indicators is equal to 1 means deprived and 0 means not deprived.
Access.to.health.care
Child.Mortality
Access.to.clean.source.of.water
Access.to.an.improve.sanatation
Electricity
Asset.ownership
Cooking.Fuel
Housing.Materials
School.lag
School.attendance
Years.of.education
The last variable is simulated region from France (forth-level administrative division).
Region