Learn R Programming

acid (version 1.1)

frac.ranks: Fractional Ranks

Description

This function computes fractional ranks which are required for the S-Gini coefficient.

Usage

frac.ranks(x, w = NULL)

Arguments

x
a vector with sorted income values.
w
a vector of weights.

Value

  • returns the fractional ranks.

References

van Kerm, P. (2009): sgini - Generalized Gini and Concentration coefficients (with factor decomposition) in Stata', CEPS/INSTEAD, Differdange, Luxembourg.

See Also

sgini , sgini.den