migration.weighted.gini.inR Documentation

Migration-weighted In-migration Gini Index

Description

The Migration-weighted In-migration Gini Index is a weighted version of the In-migration Field Gini Index (migration.gini.in) "according to the zone of destination's share of total migration and the mean of the weighted values is computed as":

MWG^I = \frac{ ∑_j G^I_j \frac{∑_j M_{ij}}{∑_{ij} M_{ij}}}{n}

Usage

migration.weighted.gini.in(m, mgi = migration.gini.in(m))

Arguments

m

migration matrix

mgi

optionally passed (precomputed) Migration In-migration Gini Index

References

See Also

migration.gini migration.gini.in migration.weighted.gini.out migration.weighted.gini.mean

Examples

data(migration.hyp)
migration.weighted.gini.in(migration.hyp)   # 0.1222222
migration.weighted.gini.in(migration.hyp2)  # 0.05238095