Oct 30, 2020

Public workspaceVivarium Population Spenser: Mortality protocol

  • 1The Alan Turing Institute
  • Vivarium Population Spenser
    Tech. support email: crangelsmith@turing.ac.uk
Icon indicating open access to content
QR code linking to this content
Protocol CitationCamila Rangel Smith, Kasra Hosseini 2020. Vivarium Population Spenser: Mortality protocol. protocols.io https://dx.doi.org/10.17504/protocols.io.bn79mhr6
License: This is an open access protocol distributed under the terms of the Creative Commons Attribution License,  which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited
Protocol status: Working
We use this protocol and it's working
Created: October 29, 2020
Last Modified: October 30, 2020
Protocol Integer ID: 44001
Abstract
Description of the steps followed by Vivarium Population Spenser library when running the Mortality module.

Divide the annual mortality rates for a given local authority by the number of time steps existing in a year.
For each time step:
Select all individuals in the sample that appear as "alive" and have an associated gender.
For these individuals, get the mortality rate given their age, gender, ethnicity and location and turn it into a probability.
Using random sampling and the mortality probability of the individuals, choose which individuals die in that time step. Change their status from "alive" to "dead".