fs_order: Fuzzy monetary poverty estimation (Step 1)

fs_orderR Documentation

Fuzzy monetary poverty estimation (Step 1)

Description

Detects and inverts deprivation items for FS

Usage

fs_order(data, vec_order)

Arguments

data

a data-set of n columns with the considered items

vec_order

a vector of length n with TRUE or FALSE. True if the order of the variable is to be inverted, False otherwise

Value

A data.frame with the same item of data with inverted order for those with vec_order==TRUE

References

Betti, G., Gagliardi, F., Lemmi, A., & Verma, V. (2015). Comparative measures of multidimensional deprivation in the European Union. Empirical Economics, 49(3), 1071-1100.

Betti, G., Gagliardi, F., & Verma, V. (2018). Simplified Jackknife variance estimates for fuzzy measures of multidimensional poverty. International Statistical Review, 86(1), 68-86.

Examples


#Create data

data=data.frame("X"=rep(c(1,2,3,4),20), "Y"=rep(c(7,8,9,1),20))

#Crete vec_order

vec_order=c(TRUE,FALSE)

fs_order(data=data, vec_order)


FuzzyPovertyR documentation built on Oct. 3, 2024, 5:06 p.m.