hachman {EconGeo}R Documentation

Compute the Hachman index from regions - industries matrices

Description

This function computes the Hachman index from regions - industries matrices. The Hachman index indicates how closely the industrial distribution of a region resembles the one of a more global economy (nation, world). The index varies between 0 (extreme dissimilarity between the region and the more global economy) and 1 (extreme similarity between the region and the more global economy)

Usage

hachman(mat)

Arguments

mat

An incidence matrix with regions in rows and industries in columns

Value

A vector of Hachman index values indicating the similarity between the industrial distribution of a region and a more global economy

Author(s)

Pierre-Alexandre Balland p.balland@uu.nl

See Also

location_quotient_avg

Examples

## 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
hachman(mat)

[Package EconGeo version 2.0 Index]