migration.inequality | R Documentation |

Measures the distance from an expected distribution:

*I_{MI} = \frac{ ∑_i ∑_{j \neq i} | M_{ij} - M_{ij}' | }{2} *

migration.inequality(m, expected = c("equal", "weighted"))

`m` |
migration matrix |

`expected` |
type of expected distribution |

A number between 0 and 1 where 1 shows greater inequality.

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

data(migration.hyp) migration.inequality(migration.hyp) migration.inequality(migration.hyp, expected = 'weighted') data(migration.world) migration.inequality(migration.world)

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.