Learn R Programming

EconGeo (version 2.0)

spec_coeff: Compute the Hoover coefficient of specialization from regions - industries matrices

Description

This function computes the Hoover coefficient of specialization from regions - industries matrices. The higher the coefficient, the greater the regional specialization. This index is closely related to the Krugman specialisation index.

Usage

spec_coeff(mat)

Value

A vector representing the Hoover coefficient of specialization for each region. The values in the vector indicate the degree of regional specialization, with higher values indicating greater specialization.

Arguments

mat

An incidence matrix with regions in rows and industries in columns

Author

Pierre-Alexandre Balland p.balland@uu.nl

References

Hoover, E.M. and Giarratani, F. (1985) An Introduction to Regional Economics. 3rd edition. New York: Alfred A. Knopf (see table 9-4 in particular)

See Also

krugman_index

Examples

Run this code
## generate a region - industry matrix
set.seed(31)
mat <- matrix(sample(0:100, 20, replace = TRUE), ncol = 4)
rownames(mat) <- c("R1", "R2", "R3", "R4", "R5")
colnames(mat) <- c("I1", "I2", "I3", "I4")

## run the function
spec_coeff(mat)

Run the code above in your browser using DataLab