Learn R Programming

migration.indices (version 0.3.1)

migration.weighted.gini.out: Migration-weighted Out-migration Gini Index

Description

The Migration-weighted Out-migration Gini Index is a weighted version of the Out-migration Field Gini Index (migration.gini.out) "according to the zone of destination's share of total migration and the mean of the weighted values is computed as": $$MWG^O = \frac{ \sum_i G^O_i \frac{\sum_j M_{ij}}{\sum_{ij} M_{ij}}}{n}$$

Usage

migration.weighted.gini.out(m, mgo = migration.gini.out(m))

Arguments

m

migration matrix

mgo

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.weighted.gini.in migration.weighted.gini.mean

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

Examples

Run this code
# NOT RUN {
data(migration.hyp)
migration.weighted.gini.out(migration.hyp)   # 0
migration.weighted.gini.out(migration.hyp2)  # 0.02083333
# }

Run the code above in your browser using DataLab