View source: R/Standardization_AMPI.R
Standardization_AMPI | R Documentation |
This is a function that standardized the data with Adjusted Maziotta-Pareto index with positive or negative polarity
Standardization_AMPI(data, pol = "pos")
data |
dataframe with rows = observations and columns = quantitative variables |
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 of normalized data
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")
Standardization_AMPI=Standardization_AMPI(Education)
print(Standardization_AMPI)
#----With negative polarity
Standardization_AMPI_neg=Standardization_AMPI(Education,"neg")
print(Standardization_AMPI_neg)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.