Learn R Programming

IC2 (version 1.0-1)

calcSConc: Concentration Index

Description

Computes the concentration index for a vector, ranked by another vector.

Usage

calcSConc(x, y, w = NULL, param = 2)

Arguments

x
Numeric vector with non-negative values.
y
Numeric vector used for the ranking of vector x.
w
Numeric vector of sampling weigths (optional).
param
Parameter specifying the concentration index (must be strictly positive).

Value

A list of class "ICI" with components:
ineq
a list with components SConc (value of concentration index) and param (value of parameter).
nas
a list with NA counts, including components xNA, yNA, wNA and totalNA.

References

Kakwani N.C. (1977) Measurement of Tax Progressivity: An International Comparison. The Economic Journal, 87(345), pp. 71-80.

O'Donnell O., van Doorslaer E., Wagstaff A., Lindelow M. (2008) Analyzing Health Equity Using Household Survey Data. World Bank, 220 p.

See Also

curveConcent

Examples

Run this code
data(hhbudgets)

calcSConc(hhbudgets[, "transporte"], hhbudgets[,"ingreso"], param=0.5)
summary(hhbudgets[,"mantenimiento"])
calcSConc(hhbudgets[,"mantenimiento"], hhbudgets[,"ingreso"], w=hhbudgets[,"factor"])

Run the code above in your browser using DataLab