Learn R Programming

migration.indices (version 0.3.1)

migration.weighted.gini.in: 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{ \sum_j G^I_j \frac{\sum_j M_{ij}}{\sum_{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

  • M. Bell, M. Blake, P. Boyle, O. Duke-Williams, P. Rees, J. Stillwell and G. Hugo (2002) Cross-National Comparison of Internal Migration. Issues and Measures. Journal of the Royal Statistical Society. Series A (Statistics in Society) 165, 435--464

See Also

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

Examples

Run this code
# NOT RUN {
data(migration.hyp)
migration.weighted.gini.in(migration.hyp)   # 0.1222222
migration.weighted.gini.in(migration.hyp2)  # 0.05238095
# }

Run the code above in your browser using DataLab