Learn R Programming

Indicator (version 0.1.3)

Standardization_AMPI: Standardization of data with Adjusted Maziotta-Pareto index

Description

This is a function that standardized the data with Adjusted Maziotta-Pareto index with positive or negative polarity

Usage

Standardization_AMPI(data, pol = "pos")

Value

It returns a dataframe of normalized data

Arguments

data

dataframe with rows = observations and columns = quantitative variables

pol

polarity if not selected is "positive"", otherwise write "neg" (see details)

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)

References

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

Examples

Run this code

data("Education")
Standardization_AMPI=Standardization_AMPI(Education)
print(Standardization_AMPI)

#----With negative polarity
Standardization_AMPI_neg=Standardization_AMPI(Education,"neg")
print(Standardization_AMPI_neg)

Run the code above in your browser using DataLab