ineq (version 0.1-1)

conc: Concentration Measures

Description

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

Usage

conc(x, parameter=1, type=c("Herfindahl", "Rosenbluth")) 

Herfindahl(x, parameter=1) Rosenbluth(x)

Arguments

x
a vector containing non-negative elements
parameter
parameter of the concentration measure
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".

Value

  • the value of the concentration measure

Details

conc is just a wrapper for the concentration measures of Herfindahl and Rosenbluth (Hall / Tiedemann / Rosenbluth) .

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