Dual of the Herfindahl-Hirschman Index
Usage
concstats_hhi_d(x, na.rm = TRUE)
Arguments
- x
A non-negative numeric vector.
- na.rm
A logical vector that indicates whether NA
values should
be excluded or not. Must be either TRUE
or FALSE
. The default
is TRUE
.
If set to FALSE
the computation yields NA
if the vector
contains NA
values.
Value
A single numeric measure in decimal form.
Details
concstats_hhi_d
is the dual of the HHI index, which indicates
the percentage which represents the fraction of the banks that do not have
market participation.
References
Chang, E. J., Guerra, S. M., de Souza Penaloza, R. A. & Tabak,
B. M. (2005) Banking concentration: the Brazilian case. In Financial
Stability Report. Brasilia: Banco Central do Brasil, 4: 109-129.
Examples
# a vector of market shares
x <- c(0.35, 0.4, 0.05, 0.1, 0.06, 0.04)
concstats_hhi_d(x)
#> [1] 0.4448146
# a vector with NA values
x <- c(0.4, 0.2, 0.25, 0.1, 0.05, NA)
concstats_hhi_d(x, na.rm = FALSE)
#> [1] NA