Simulation of Populations by Sampling Waiting-Time Distributions
Builds a Virtual Population in a Single Step
Generates Individual Fertility Histories
Mean Ages at Death and Probabilities of Surviving to Selected Ages, by...
Reads Data from the HMD and HFD into R
Builds a Multi-Generation Virtual Population from demographic paramete...
Retrieves Period Mortality and Fertility Rates from HMD and HFD for a ...
Retrieves Cohort Data from the HMD and HFD and Obtains Cohort Rates
Computes Cumulative Hazard at Duration t under a Piecewise Exponential...
Generates Individual Lifespan(s)
Simple Partner Search Simulation
The Function for which the Root is Sought.
Draws Waiting Times from a Piecewise-Exponential Distribution.
Generic Function to Generate Single Life History
Constructs a virtual population from fertility and mortality rates for any country, calendar year and birth cohort in the Human Mortality Database <https://www.mortality.org> and the Human Fertility Database <https://www.humanfertility.org>. Fertility histories are simulated for every individual and their offspring, producing a multi-generation virtual population.