Simulation of international migration with individual preferences and immigration quota: Data and code
Description
The folder contains a dataset and code for the revised version of the report Simulation of international migration with individual preferences and immigration quota. QuantMig Deliberable D2.4. January 2022.
The R code files are in the folder "Code". The file Macro_code.R contains the code related to Section 3 of the QuantMig report, "The multiregional model with preferences and restrictions: the macrosystem". The file Micro_code.R contains the code related to Section 4 of report, "Simulation of microsystems: random walk".
The folder "Package" contains the R package GlobalMig (v 0.0.3) and the manual GlobalMig_0.0.3.pdf, as well as the underlying R package Biograph (v 2.0.6). The GlobalMig package includes the data file World6.RData, which are the data for the system of six world regions. The instructions for installing the packages are in the file Install_local.pdf.
For the simulation of individual behaviour as virtual population of 10,000 individuals is defined. The individual data are in the object produced by the Agents() function. Since the sample is taken from the entire population, the number of migrants is very small. For publication, a sample population of 1 million people will be defined, as in QuantMig Deliverable D2.4 of January 2022. The sample size is specified as an argument (npop) of the Agents() function. It can easily be changed.
Erratum: In file Micro_code.R, please ignore code lines 160-188, which are linked to an illustrative example, unrelated to the simulation of international migration.
Files
QuantMig D2.4 Simulation of Migration - Zenodo deposit.zip
Files
(326.5 kB)
Name | Size | Download all |
---|---|---|
md5:1609a03afc10926a88b546f9725f1c04
|
326.5 kB | Preview Download |
Additional details
Related works
- Is supplement to
- http://quantmig.eu/res/files/QuantMig%20D2.4%20Formatted.pdf (URL)
References
- Willekens, F (2022) Simulation of international migration with individual preferences and immigration quota. QuantMig Project Deliverable D2.4. Southampton: University of Southampton.
Subjects
- Methods; Agent-based modeling; Forecasts, projections and scenarios
- https://migrationresearch.com/taxonomies