demographics

demographics

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

Classes

Name Description
DeathPars Parameters for the deaths module.
Deaths Subclass of ss.Deaths to handle FPsim’s specific mortality implementation

DeathPars

demographics.DeathPars(**kwargs)

Parameters for the deaths module.

Deaths

demographics.Deaths(pars=None, **kwargs)

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

Name Description
make_death_pars Shortcut for making a new instance of ContraPars

make_death_pars

demographics.make_death_pars()

Shortcut for making a new instance of ContraPars