View source: R/linear_aggregation_AMPI.R
linear_aggregation_AMPI | R Documentation |
The Adjusted Mazziotta-Pareto Index (AMPI) is a composite index for summarizing a set of indicators that are assumed to be non-substitutable, i.e., all components must be balanced. It is based on a non-linear function which, starting from the arithmetic mean, introduces a penalty for the units with unbalanced values of the indicators
linear_aggregation_AMPI(data, pol = "pos")
data |
dataframe with rows = observations and columns = quantitative variables |
pol |
pol 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
Matteo Mazziotta & Adriano Pareto, 2018. "Measuring Well-Being Over Time: The Adjusted Mazziotta–Pareto Index Versus Other Non-compensatory Indices," Social Indicators Research: An International and Interdisciplinary Journal for Quality-of-Life Measurement, Springer, vol. 136(3), pages 967-976, April
data("Education")
Indicator=linear_aggregation_AMPI(Education)
print(Indicator)
#----With negative polarity
Indicator_neg=linear_aggregation_AMPI(Education,"neg")
print(Indicator_neg)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.