View source: R/linear_aggregation_MPI.R
linear_aggregation_MPI | R Documentation |
The Mazziotta–Pareto index (MPI) is a composite index for summarizing a set of individual indicators that are assumed to be not fully substitutable. It is based on a non-linear function which, starting from the arithmetic mean of the normalized indicators, introduces a penalty for the units with unbalanced values of the indicators
linear_aggregation_MPI(data, pol = "pos")
data |
dataframe with rows = observations and columns = quantitative |
pol |
polarity if not selected is positive, otherwise write neg (see details) |
The ‘polarity’ of an indicator is the sign of the relation between the indicator and the phenomenon to be measured ( + if the indicator represents a dimension considered positive and - otherwise)
It returns a dataframe with rows = observations and column = composite indicator
De Muro P., Mazziotta M., Pareto A. (2011), "Composite Indices of Development and Poverty: An Application to MDGs", Social Indicators Research, Volume 104, Number 1, pp. 1-18
data("Education")
Indicator=linear_aggregation_MPI(Education)
print(Indicator)
#----With negative polarity
Indicator_neg=linear_aggregation_MPI(Education,"neg")
print(Indicator_neg)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.