ineq (version 0.2-13)

conc: Concentration Measures

Description

computes the concentration within a vector according to the specified concentration measure

Usage

conc(x, parameter = NULL, type = c("Herfindahl", "Rosenbluth"), na.rm = TRUE)
Herfindahl(x, parameter = 1, na.rm = TRUE) Rosenbluth(x, na.rm = TRUE)

Arguments

x
a vector containing non-negative elements
parameter
parameter of the concentration measure (if set to NULL the default parameter of the respective measure is used)
type
character string giving the measure used to compute concentration. must be one of the strings in the default argument (the first character is sufficient). defaults to "Herfindahl".
na.rm
logical. Should missing values (NAs) be removed prior to computations? If set to FALSE the computations yield NA.

Value

the value of the concentration measure

Details

conc is just a wrapper for the concentration measures of Herfindahl and Rosenbluth (Hall / Tiedemann / Rosenbluth). If parameter is set to NULL the default from the respective function is used.

References

F A Cowell: Measurement of Inequality, 2000, in A B Atkinson / F Bourguignon (Eds): Handbook of Income Distribution, Amsterdam,

F A Cowell: Measuring Inequality, 1995 Prentice Hall/Harvester Wheatshef,

M Hall / N Tidemann: Measures of Concentration, 1967, JASA 62, 162-168.

See Also

ineq, pov

Examples

Run this code
# generate vector (of sales)
x <- c(541, 1463, 2445, 3438, 4437, 5401, 6392, 8304, 11904, 22261)
# compute Herfindahl coefficient with parameter 1
conc(x)
# compute coefficient of Hall/Tiedemann/Rosenbluth
conc(x, type="Rosenbluth")

Run the code above in your browser using DataLab