fpsim / fpsim

FPsim: Family Planning Simulator
MIT License
3 stars 5 forks source link

Implement new parameter and people attribute "intent_to_use" #242

Open pausz opened 5 months ago

pausz commented 5 months ago

Update rule

mzimmermann-IDM commented 1 month ago

@pausz after seeing your comment about intent_coef.csv, I realized I don't think we have implemented this yet! So I think this is where it will apply. The intent_to_use is determined by the parameters in that function, so it's dependent on age, parity, education, wealth, urban/rural, and fertility_intent.

MObrien-IDM commented 1 month ago

@pausz Is this resolved with your new PR?

pausz commented 1 month ago

@MObrien-IDM This has not been implemented yet. PR #346 implements fertility intent (#337).

mzimmermann-IDM commented 3 weeks ago

This is one of the issues that we will have to complete before finishing the empowerment module. This is only applicable for women NOT currently using contraction. This can be initiated based on this csv of intent to use contraception by age. https://github.com/fpsim/fpsim/blob/Kenya_empowerment_DHS/fpsim/locations/kenya/contra_intent.csv. @pausz does this make sense?

For the update rule, this will be update once a year on her birthday based on a function of fertility intent, intent to use contraception in the previous year, age, parity, edu, wealth, and urban/rural. Coefficients are here: https://github.com/fpsim/fpsim/blob/Kenya_empowerment_DHS/fpsim/locations/kenya/intent_coef.csv @robynstuart can you help with this part?