demographics#

Methods and functions related to basic demographics such as urban and age at first partnership.

Classes

DeathPars

Parameters for the deaths module.

Deaths

Subclass of ss.Deaths to handle FPsim's specific mortality implementation Use of this is optional, and FPsim should run with the base class as well.

Functions

get_partnership_init_vals

Get initial distribution of age at first partnership from location-specific data

init_partnership_states

Initialize partnership status and expected age at first partnership by rural/urban status

make_death_pars

Shortcut for making a new instance of ContraPars