conc: Concentration Measures

Description Usage Arguments Details Value References See Also Examples

Description

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

Usage

1
2
3
4
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.

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.

Value

the value of the concentration measure

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

1
2
3
4
5
6
# 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")

Example output

[1] 0.1840812
[1] 0.1859051

ineq documentation built on May 2, 2019, 7:29 a.m.

Related to conc in ineq...