methods#

Contraceptive methods

Idea:

A method selector should be a generic class (an intervention?). We want the existing matrix-based method and the new duration-based method to both be instances of this.

Classes

Method

ContraPars

ContraceptiveChoice

RandomChoice

Randomly choose a method of contraception

SimpleChoice

Simple choice model where method choice depends on age and previous method.

StandardChoice

Default contraceptive choice module.

Functions

make_methods

make_method_list

make_contra_pars

Shortcut for making a new instance of ContraPars