Learn R Programming

migration.indices (version 0.3.1)

migration.weighted.gini.mean: Migration-weighted Mean Gini Index

Description

The Migration-weighted Mean Gini Index is simply the average of the Migration-weighted In-migration (migration.weighted.gini.in) and the Migration-weighted Out-migration (migration.weighted.gini.out) Gini Indices: $$MWG^A = \frac{MWG^O + MWG^I}{2}$$

Usage

migration.weighted.gini.mean(m, mwgi, mwgo)

Arguments

m

migration matrix

mwgi

optionally passed (precomputed) Migration-weighted In-migration Gini Index

mwgo

optionally passed (precomputed) Migration-weighted Out-migration Gini Index

Value

This combined index results in a number between 0 and 1 where 0 means no spatial focusing and 1 shows maximum focusing.

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.out

Examples

Run this code
# NOT RUN {
data(migration.hyp)
migration.weighted.gini.mean(migration.hyp)  # 0.06111111
migration.weighted.gini.mean(migration.hyp2) # 0.03660714
# }

Run the code above in your browser using DataLab