Simulation of a population of adults with Gompertz distribution
Source:R/population_simulation.R
pop.sim.gomp.Rd
In many instances, it is useful to calculate with a population with known parameters. To generate a population with realistic characteristics is less obvious than it seems. We operate here with the Gompertz distribution which provides a reasonable approximation of human mortality for adult mortality, that is for the ages >= 15 years. The user has to specify either the parameter b or the modal age M. The modal age M is particular useful as it provides an intuitive understanding of the resulting age distribution. In both instances, the second parameter a is generated by the regression formula found by Sasaki and Kondo 2016. If neither is given, a population with random parameters realistic for pre-modern times is generated.