Skip to contents

LocationQuotient: (e_ri / e_r) / (e_i / e) for a regions x industries matrix (REAT::locq); method = "difference" gives e_ri/e_r - e_i/e. KrugmanIndex: K = sum |x_i/sum(x) - r_i/sum(r)| and Hoover K/2. LqGini: Gini of location quotients (REAT::gini.spec). HerfindahlIndex: HHI, its normalised form, 1/H and the concentration ratio CR_k. Identical to the Python arm morie.fn.econgeo.

Usage

LocationQuotient(E, method = "ratio")

KrugmanIndex(x, ref)

LqGini(x, ref)

HerfindahlIndex(x, k = 4)

Arguments

E

Regions x industries employment matrix.

method

"ratio" or "difference".

x, ref

Employment vectors.

k

Number of largest units in CR_k.

Value

Matrix, numeric or list.

References

Krugman, P. (1991). Geography and Trade. MIT Press.

Wieland, T. (2019). REAT: A regional economic analysis toolbox for R. REGION 6(3), R1-R57.

Examples

LocationQuotient(rbind(c(10, 30), c(30, 30)))
#>       [,1]      [,2]
#> [1,] 0.625 1.2500000
#> [2,] 1.250 0.8333333
KrugmanIndex(c(10, 30, 60), c(30, 30, 40))$K
#> [1] 0.4
LqGini(c(10, 30, 60), c(30, 30, 40))
#> [1] 0.2745098