alan-turing-institute / vivarium_population_spenser

Vivarium microsimulation tools used to model population evolution with the SPENSER project
GNU General Public License v3.0
3 stars 0 forks source link

Feature/27 compute migration rate #32

Closed crangelsmith closed 4 years ago

crangelsmith commented 4 years ago

Closes #27

Function that computes rates as the ratio between the observed migration value and the total population (for a given age, gender, region and ethnicity).

This function should work for both the emigration and immigration rates, important for #28 and #29.

kasra-hosseini commented 4 years ago

@crangelsmith All good! Thanks for the PR.