migration.weighted.gini.mean | R Documentation |

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}*

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

`m` |
migration matrix |

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

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

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

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

`migration.weighted.gini.in`

`migration.weighted.gini.out`

data(migration.hyp) migration.weighted.gini.mean(migration.hyp) # 0.06111111 migration.weighted.gini.mean(migration.hyp2) # 0.03660714

migration.indices documentation built on June 13, 2022, 5:08 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.