Title: | Migration indices |
---|---|
Description: | This package provides various indices, like Crude Migration Rate, different Gini indices or the Coefficient of Variation among others, to show the (un)equality of migration. |
Authors: | Lajos Bálint <[email protected]> and Gergely Daróczi <[email protected]> |
Maintainer: | Gergely Daróczi <[email protected]> |
License: | AGPL-3 |
Version: | 0.3.0 |
Built: | 2025-01-23 02:37:59 UTC |
Source: | https://github.com/daroczig/migration.indices |
The Aggregated System-wide Coefficient of Variation is simply the sum of the Aggregated In-migration (migration.acv.in
) and the Aggregated Out-migration Coefficient of Variation (migration.acv.out
).
migration.acv(m)
migration.acv(m)
m |
migration matrix |
A number where a higher () shows more spatial focus.
Andrei Rogers and Stuart Sweeney (1998) Measuring the Spatial Focus of Migration Patterns. The Professional Geographer 50, 232–242
migration.cv.in
migration.cv.out
migration.acv.in
migration.acv.out
data(migration.hyp) migration.acv(migration.hyp) # 0.3333333 migration.acv(migration.hyp2) # 0.375
data(migration.hyp) migration.acv(migration.hyp) # 0.3333333 migration.acv(migration.hyp2) # 0.375
The Aggregated In-migration Coefficient of Variation is the weighted average of the In-migration Coefficient of Variation (migration.cv.in
).
migration.acv.in(m)
migration.acv.in(m)
m |
migration matrix |
A number where a higher () shows more spatial focus.
Andrei Rogers and Stuart Sweeney (1998) Measuring the Spatial Focus of Migration Patterns. The Professional Geographer 50, 232–242
migration.cv.in
migration.cv.out
migration.acv.out
migration.acv
data(migration.hyp) migration.acv.in(migration.hyp) # 0.3333333 migration.acv.in(migration.hyp2) # 0.25
data(migration.hyp) migration.acv.in(migration.hyp) # 0.3333333 migration.acv.in(migration.hyp2) # 0.25
The Aggregated Out-migration Coefficient of Variation is the weighted average of the Out-migration Coefficient of Variation (migration.cv.out
).
migration.acv.out(m)
migration.acv.out(m)
m |
migration matrix |
A number where a higher () shows more spatial focus.
Andrei Rogers and Stuart Sweeney (1998) Measuring the Spatial Focus of Migration Patterns. The Professional Geographer 50, 232–242
migration.cv.in
migration.cv.out
migration.acv.in
migration.acv
data(migration.hyp) migration.acv.out(migration.hyp) # 0 migration.acv.out(migration.hyp2) # 0.125
data(migration.hyp) migration.acv.out(migration.hyp) # 0 migration.acv.out(migration.hyp2) # 0.125
Crude Migration Rate
migration.cmr(m, PAR, k = 100)
migration.cmr(m, PAR, k = 100)
m |
migration matrix |
PAR |
population at risk (estimated average population size) |
k |
scaling constant (set to |
percentage (when k=100
)
Philip Rees, Martin Bell, Oliver Duke-Williams and Marcus Blake (2000) Problems and Solutions in the Measurement of Migration Intensities: Australia and Britain Compared. Population Studies 54, 207–222
data(migration.world) migration.cmr(migration.world, 6e+9)
data(migration.world) migration.cmr(migration.world, 6e+9)
The Migration Connectivity Index measures "the proportion of the total number of potential interregional flows which are not zero":
where is 0 if the flow from
to
is zero and let it be 1 otherwise.
migration.connectivity(m)
migration.connectivity(m)
m |
migration matrix |
A number between 0 and 1 where zero shows no connections between regions.
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.connectivity(migration.hyp) data(migration.world) migration.connectivity(migration.world)
data(migration.hyp) migration.connectivity(migration.hyp) data(migration.world) migration.connectivity(migration.world)
As "the coefficient of variation is defined as the standard deviation to mean ratio of a distribution", the In-migration Coefficient of Variation is computed by dividing the standard deviation (with the nominator being instead of
) of the in-migration flows by the mean.
migration.cv.in(m)
migration.cv.in(m)
m |
migration matrix |
A numeric vector of standardized values where a higher () shows more spatial focus.
Andrei Rogers and Stuart Sweeney (1998) Measuring the Spatial Focus of Migration Patterns. The Professional Geographer 50, 232–242
migration.cv.out
migration.acv.in
migration.acv.out
migration.acv
## Not run: data(migration.hyp) migration.cv.in(migration.hyp) # 0.2000000 0.5000000 0.3333333 migration.cv.in(migration.hyp2) # 0.2000000 0.0000000 0.4285714 ## End(Not run)
## Not run: data(migration.hyp) migration.cv.in(migration.hyp) # 0.2000000 0.5000000 0.3333333 migration.cv.in(migration.hyp2) # 0.2000000 0.0000000 0.4285714 ## End(Not run)
As "the coefficient of variation is defined as the standard deviation to mean ratio of a distribution", the Out-migration Coefficient of Variation is computed by dividing the standard deviation (with the nominator being instead of
) of the out-migration flows by the mean.
migration.cv.out(m)
migration.cv.out(m)
m |
migration matrix |
A numeric vector of standardized values where a higher () shows more spatial focus.
Andrei Rogers and Stuart Sweeney (1998) Measuring the Spatial Focus of Migration Patterns. The Professional Geographer 50, 232–242
migration.cv.in
migration.acv.in
migration.acv.out
migration.acv
## Not run: data(migration.hyp) migration.cv.out(migration.hyp) # 0 0 0 migration.cv.out(migration.hyp2) # 0.00 0.25 0.00 ## End(Not run)
## Not run: data(migration.hyp) migration.cv.out(migration.hyp) # 0 0 0 migration.cv.out(migration.hyp2) # 0.00 0.25 0.00 ## End(Not run)
The Migration Effectiveness Index "measures the degree of (a)symmetry or (dis)equilibrium in the network of interregional migration flows":
where is the total inflows to zone
and
is the total outflows from zone
.
migration.effectiveness(m)
migration.effectiveness(m)
m |
migration matrix |
A number between 0 and 100 where the higher number shows an efficient mechanism of population redistribution.
Martin Bell and Salut Muhidin (2009) Cross-National Comparisons of Internal Migration. Research Paper. UNDP. http://hdr.undp.org/en/reports/global/hdr2009/papers/HDRP_2009_30.pdf
data(migration.hyp) migration.effectiveness(migration.hyp) data(migration.world) migration.effectiveness(migration.world)
data(migration.hyp) migration.effectiveness(migration.hyp) data(migration.world) migration.effectiveness(migration.world)
This migration field diagram makes easy to visualize both direction of migration. E.g. points above the diagonal "are outward redistributors, while those below that line are inward redistributors."
migration.field.diagram(m, method = c("gini", "acv"), title = "Migration field diagram", xlab = "Out-migration", ylab = "In-migration")
migration.field.diagram(m, method = c("gini", "acv"), title = "Migration field diagram", xlab = "Out-migration", ylab = "In-migration")
m |
migration matrix |
method |
measurement of in and out-migration |
title |
plot title |
xlab |
label for x axis |
ylab |
label for y axis |
Source code was adopted from Michael Ward and Kristian Skrede Gleditsch (2008) Spatial Regression Models. Thousand Oaks, CA: Sage. http://privatewww.essex.ac.uk/~ksg/code/srm_enhanced_code_v5.R with the permission of the authors.
Case study and use case: Andrei Rogers and Stuart Sweeney (1998) Measuring the Spatial Focus of Migration Patterns. The Professional Geographer 50, 232–242
## Not run: data(migration.world) par(mfrow = c(2, 1)) migration.field.diagram(migration.world) migration.field.diagram(migration.world, method = 'acv') ## End(Not run)
## Not run: data(migration.world) par(mfrow = c(2, 1)) migration.field.diagram(migration.world) migration.field.diagram(migration.world, method = 'acv') ## End(Not run)
This is a wrapper function computing all the following Gini indices:
Total Flows Gini Index (migration.gini.total
)
Rows Gini Index (migration.gini.row
)
Standardized Rows Gini Index (migration.gini.row.standardized
)
Columns Gini Index (migration.gini.col
)
Standardized Columns Gini Index (migration.gini.col.standardized
)
Exchange Gini Index (migration.gini.exchange
)
Standardized Exchange Gini Index (migration.gini.exchange.standardized
)
Out-migration Field Gini Index (migration.gini.out
)
Migration-weighted Out-migration Gini Index (migration.weighted.gini.out
)
In-migration Field Gini Index (migration.gini.in
)
Migration-weighted In-migration Gini Index (migration.weighted.gini.in
)
Migration-weighted Mean Gini Index (migration.weighted.gini.mean
)
migration.gini(m, corrected = TRUE)
migration.gini(m, corrected = TRUE)
m |
migration matrix |
corrected |
to use Bell et al. (2002) updated formulas instead of Plane and Mulligan (1997) |
List of all Gini indices.
David A. Plane and Gordon F. Mulligan (1997) Measuring Spatial Focusing in a Migration System. Demography 34, 251–262
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.gini.col
migration.gini.row
migration.gini.exchange
migration.gini.in
migration.gini.out
data(migration.hyp) migration.gini(migration.hyp) migration.gini(migration.hyp2)
data(migration.hyp) migration.gini(migration.hyp) migration.gini(migration.hyp2)
The Columns Gini index concentrates on the "relative extent to which the destination selections of in-migrations are spatially focused":
This implementation solves the above formula by computing the dist
matrix for each columns.
migration.gini.col(m)
migration.gini.col(m)
m |
migration matrix |
A number between 0 and 1 where 0 means no spatial focusing and 1 shows maximum focusing.
David A. Plane and Gordon F. Mulligan (1997) Measuring Spatial Focusing in a Migration System. Demography 34, 251–262
migration.gini.row
migration.gini.col.standardized
data(migration.hyp) migration.gini.col(migration.hyp) # 0.05555556 migration.gini.col(migration.hyp2) # 0.04166667
data(migration.hyp) migration.gini.col(migration.hyp) # 0.05555556 migration.gini.col(migration.hyp2) # 0.04166667
The standardized version of the Columns Gini Index (migration.gini.col
) by dividing that with the Total Flows Gini Index (migration.gini.total
):
As this index is standardized, it "facilitate comparisons from one period to the next" of the columns indices.
migration.gini.col.standardized(m, gini.total = migration.gini.total(m, FALSE))
migration.gini.col.standardized(m, gini.total = migration.gini.total(m, FALSE))
m |
migration matrix |
gini.total |
optionally pass the pre-computed Total Flows Gini Index to save computational resources |
A percentage range from 0% to 100% where 0% means that the migration flows are uniform, while a higher value indicates spatial focusing.
David A. Plane and Gordon F. Mulligan (1997) Measuring Spatial Focusing in a Migration System. Demography 34, 251–262
migration.gini.col
migration.gini.row.standardized
data(migration.hyp) migration.gini.col.standardized(migration.hyp) # 25 migration.gini.col.standardized(migration.hyp2) # 22.22222
data(migration.hyp) migration.gini.col.standardized(migration.hyp) # 25 migration.gini.col.standardized(migration.hyp2) # 22.22222
The Exchange Gini Index "indicates the contribution to spatial focusing represented by the net interchanges in the system":
This implementation solves the above formula by simply substracting the transposed matrix's values from the original one at one go.
migration.gini.exchange(m)
migration.gini.exchange(m)
m |
migration matrix |
A number between 0 and 1 where 0 means no spatial focusing and 1 shows maximum focusing.
David A. Plane and Gordon F. Mulligan (1997) Measuring Spatial Focusing in a Migration System. Demography 34, 251–262
migration.gini
migration.gini.exchange.standardized
data(migration.hyp) migration.gini.exchange(migration.hyp) # 0.05555556 migration.gini.exchange(migration.hyp2) # 0.04166667
data(migration.hyp) migration.gini.exchange(migration.hyp) # 0.05555556 migration.gini.exchange(migration.hyp2) # 0.04166667
The standardized version of the Exchange Gini Index (migration.gini.exchange
) by dividing that with the Total Flows Gini Index (migration.gini.total
):
As this index is standardized, it "facilitate comparisons from one period to the next" of the exchange indices.
migration.gini.exchange.standardized(m, gini.total = migration.gini.total(m, FALSE))
migration.gini.exchange.standardized(m, gini.total = migration.gini.total(m, FALSE))
m |
migration matrix |
gini.total |
optionally pass the pre-computed Total Flows Gini Index to save resources |
A percentage range from 0% to 100% where 0% means that the migration flows are uniform, while a higher value indicates spatial focusing.
David A. Plane and Gordon F. Mulligan (1997) Measuring Spatial Focusing in a Migration System. Demography 34, 251–262
migration.gini
migration.gini.exchange
data(migration.hyp) migration.gini.exchange.standardized(migration.hyp) # 25 migration.gini.exchange.standardized(migration.hyp2) # 22.22222
data(migration.hyp) migration.gini.exchange.standardized(migration.hyp) # 25 migration.gini.exchange.standardized(migration.hyp2) # 22.22222
The In-migration Field Gini Index is a decomposed version of the Columns Gini Index (migration.gini.col
) representing "the contribution of each region's columns to the total index" () (migration.gini.total
):
These Gini indices facilitates the direct comparison of different territories without further standardization.
migration.gini.in(m, corrected = TRUE)
migration.gini.in(m, corrected = TRUE)
m |
migration matrix |
corrected |
Bell et al. (2002) updated the formula of Plane and Mulligan (1997) to be |
A numeric vector with the range of 0 to 1 where 0 means no spatial focusing and 1 shows maximum focusing.
David A. Plane and Gordon F. Mulligan (1997) Measuring Spatial Focusing in a Migration System. Demography 34, 251–262
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.gini
migration.gini.out
migration.weighted.gini.in
data(migration.hyp) migration.gini.in(migration.hyp) # 0.2000000 0.5000000 0.3333333 migration.gini.in(migration.hyp2) # 0.2000000 0.0000000 0.4285714 migration.gini.in(migration.hyp, FALSE) # 0.1000000 0.2500000 0.1666667 migration.gini.in(migration.hyp2, FALSE) # 0.1000000 0.0000000 0.2142857
data(migration.hyp) migration.gini.in(migration.hyp) # 0.2000000 0.5000000 0.3333333 migration.gini.in(migration.hyp2) # 0.2000000 0.0000000 0.4285714 migration.gini.in(migration.hyp, FALSE) # 0.1000000 0.2500000 0.1666667 migration.gini.in(migration.hyp2, FALSE) # 0.1000000 0.0000000 0.2142857
The Out-migration Field Gini Index is a decomposed version of the Rows Gini Index (migration.gini.row
) representing "the contribution of each region's row to the total index" () (migration.gini.total
):
These Gini indices facilitates the direct comparison of different territories without further standardization.
migration.gini.out(m, corrected = TRUE)
migration.gini.out(m, corrected = TRUE)
m |
migration matrix |
corrected |
Bell et al. (2002) updated the formula of Plane and Mulligan (1997) to be |
A numeric vector with the range of 0 to 1 where 0 means no spatial focusing and 1 shows maximum focusing.
David A. Plane and Gordon F. Mulligan (1997) Measuring Spatial Focusing in a Migration System. Demography 34, 251–262
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.gini
migration.gini.in
migration.weighted.gini.out
data(migration.hyp) migration.gini.out(migration.hyp) # 0 0 0 migration.gini.out(migration.hyp2) # 0.000 0.25 0.000 migration.gini.out(migration.hyp, FALSE) # 0 0 0 migration.gini.out(migration.hyp2, FALSE) # 0.000 0.125 0.000
data(migration.hyp) migration.gini.out(migration.hyp) # 0 0 0 migration.gini.out(migration.hyp2) # 0.000 0.25 0.000 migration.gini.out(migration.hyp, FALSE) # 0 0 0 migration.gini.out(migration.hyp2, FALSE) # 0.000 0.125 0.000
The Rows Gini index concentrates on the "relative extent to which the destination selections of out-migrations are spatially focused":
This implementation solves the above formula by computing the dist
matrix for each row.
migration.gini.row(m)
migration.gini.row(m)
m |
migration matrix |
A number between 0 and 1 where 0 means no spatial focusing and 1 shows maximum focusing.
David A. Plane and Gordon F. Mulligan (1997) Measuring Spatial Focusing in a Migration System. Demography 34, 251–262
migration.gini.col
migration.gini.row.standardized
data(migration.hyp) migration.gini.row(migration.hyp) # 0 migration.gini.row(migration.hyp2) # 0.02083333
data(migration.hyp) migration.gini.row(migration.hyp) # 0 migration.gini.row(migration.hyp2) # 0.02083333
The standardized version of the Rows Gini Index (migration.gini.row
) by dividing that with the Total Flows Gini Index (migration.gini.total
):
As this index is standardized, it "facilitate comparisons from one period to the next of the rows" indices.
migration.gini.row.standardized(m, gini.total = migration.gini.total(m, FALSE))
migration.gini.row.standardized(m, gini.total = migration.gini.total(m, FALSE))
m |
migration matrix |
gini.total |
optionally pass the pre-computed Total Flows Gini Index to save computational resources |
A percentage range from 0% to 100% where 0% means that the migration flows are uniform, while a higher value indicates spatial focusing.
David A. Plane and Gordon F. Mulligan (1997) Measuring Spatial Focusing in a Migration System. Demography 34, 251–262
migration.gini.row
migration.gini.col.standardized
data(migration.hyp) migration.gini.row.standardized(migration.hyp) # 0 migration.gini.row.standardized(migration.hyp2) # 11.11111
data(migration.hyp) migration.gini.row.standardized(migration.hyp) # 0 migration.gini.row.standardized(migration.hyp2) # 11.11111
The Total Gini Index shows the overall concentration of migration with a simple number computed by comparing each cell of the migration matrix with every other cell except for the diagonal:
This implementation solves the above formula by a simple loop for performance issues to compare all values to the others at one go, although smaller migration matrices could also be addressed by a much faster dist
method. Please see the sources for more details.
migration.gini.total(m, corrected = TRUE)
migration.gini.total(m, corrected = TRUE)
m |
migration matrix |
corrected |
Bell et al. (2002) updated the formula of Plane and Mulligan (1997) to have |
A number between 0 and 1 where 0 means no spatial focusing and 1 shows that all migrants are found in one single flow.
David A. Plane and Gordon F. Mulligan (1997) Measuring Spatial Focusing in a Migration System. Demography 34, 251–262
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.gini.col
migration.gini.row
migration.gini.exchange
migration.gini.in
migration.gini.out
data(migration.hyp) migration.gini.total(migration.hyp) # 0.2666667 migration.gini.total(migration.hyp2) # 0.225 migration.gini.total(migration.hyp, FALSE) # 0.2222222 migration.gini.total(migration.hyp2, FALSE) # 0.1875
data(migration.hyp) migration.gini.total(migration.hyp) # 0.2666667 migration.gini.total(migration.hyp2) # 0.225 migration.gini.total(migration.hyp, FALSE) # 0.2222222 migration.gini.total(migration.hyp2, FALSE) # 0.1875
A small (3x3) hypotetical migration matrix.
migration matrix
David A. Plane and Gordon F. Mulligan (1997): Measuring Spatial Focusing in a Migration System. Demography 34, pp. 253
Andrei Rogers and Stuart Sweeney (1998) Measuring the Spatial Focus of Migration Patterns. The Professional Geographer 50, 232–242
This package provides various indices, like Crude Migration Rate, different Gini indices or the Coefficient of Variation among others, to show the (un)equality of migration.
Measures the distance from an expected distribution:
migration.inequality(m, expected = c("equal", "weighted"))
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)
data(migration.hyp) migration.inequality(migration.hyp) migration.inequality(migration.hyp, expected = 'weighted') data(migration.world) migration.inequality(migration.world)
where is the total inflows to zone
and
is the total outflows from zone
.
migration.rate(m, PAR)
migration.rate(m, PAR)
m |
migration matrix |
PAR |
population at risk |
Martin Bell and Salut Muhidin (2009) Cross-National Comparisons of Internal Migration. Research Paper. UNDP. http://hdr.undp.org/en/reports/global/hdr2009/papers/HDRP_2009_30.pdf
data(migration.world) migration.rate(migration.world, 6e+9)
data(migration.world) migration.rate(migration.world, 6e+9)
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":
migration.weighted.gini.in(m, mgi = migration.gini.in(m))
migration.weighted.gini.in(m, mgi = migration.gini.in(m))
m |
migration matrix |
mgi |
optionally passed (precomputed) Migration In-migration Gini Index |
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.gini
migration.gini.in
migration.weighted.gini.out
migration.weighted.gini.mean
data(migration.hyp) migration.weighted.gini.in(migration.hyp) # 0.1222222 migration.weighted.gini.in(migration.hyp2) # 0.05238095
data(migration.hyp) migration.weighted.gini.in(migration.hyp) # 0.1222222 migration.weighted.gini.in(migration.hyp2) # 0.05238095
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:
migration.weighted.gini.mean(m, mwgi, mwgo)
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
data(migration.hyp) migration.weighted.gini.mean(migration.hyp) # 0.06111111 migration.weighted.gini.mean(migration.hyp2) # 0.03660714
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":
migration.weighted.gini.out(m, mgo = migration.gini.out(m))
migration.weighted.gini.out(m, mgo = migration.gini.out(m))
m |
migration matrix |
mgo |
optionally passed (precomputed) Migration In-migration Gini Index |
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.mean
migration.gini
migration.gini.out
migration.weighted.gini.in
migration.weighted.gini.mean
data(migration.hyp) migration.weighted.gini.out(migration.hyp) # 0 migration.weighted.gini.out(migration.hyp2) # 0.02083333
data(migration.hyp) migration.weighted.gini.out(migration.hyp) # 0 migration.weighted.gini.out(migration.hyp2) # 0.02083333
Global (country-to-country) matrix of bilateral migrant stocks in 2000 with 226 economies involved.
migration matrix
World Bank (2010): Global Bilateral Migration Database. http://data.worldbank.org/data-catalog/global-bilateral-migration-database