concstats_palma {concstats}R Documentation

Palma ratio

Description

Palma ratio

Usage

concstats_palma(x, na.rm = TRUE)

Arguments

x

A non-negative numeric vector.

na.rm

A logical vector that indicates whether NA values should be excluded or not. Must be either TRUE or FALSE. The default is TRUE. If set to FALSE the computation yields NA if NA values are present.

Details

concstats_palma measures the ratio of inequality (normally used with income inequality) of the top 10 percent to the bottom 40 percent.

Value

A single numeric measure.

References

Palma, J. G. (2006). "Globalizing Inequality: 'Centrifugal' and 'Centripetal' Forces at Work", DESA Working Paper No. 35.

Examples

# a vector of market shares
x <- c(0.4, 0.2, 0.25, 0.1, 0.05)
concstats_palma(x)
# a vector with NA values
x <- c(0.4, 0.2, 0.25, 0.1, 0.05, NA)
concstats_palma(x, na.rm = FALSE)


[Package concstats version 0.1.6 Index]