Full text
47,511 characters
· extracted from
preprint-html
· click to expand
Advancing Woman-Centered Global Health Simulations: Improved Accuracy Through Detailed Demographic Modelling in FPsim | medRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-P4HH5NV'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search Advancing Woman-Centered Global Health Simulations: Improved Accuracy Through Detailed Demographic Modelling in FPsim Emily Driano , Paula Sanz-Leon , Robyn Stuart , Michelle O’Brien , Marita Zimmermann doi: https://doi.org/10.1101/2025.09.17.25336008 Emily Driano 1 Institute for Disease Modeling, Bill and Melinda Gates Foundation , 500 5th Ave N, Seattle, WA 98109 Find this author on Google Scholar Find this author on PubMed Search for this author on this site Paula Sanz-Leon 1 Institute for Disease Modeling, Bill and Melinda Gates Foundation , 500 5th Ave N, Seattle, WA 98109 Find this author on Google Scholar Find this author on PubMed Search for this author on this site Robyn Stuart 2 Gender Equality Division Data & Insights Team, Bill and Melinda Gates Foundation , 500 5th Ave N. Seattle, WA 98109 Find this author on Google Scholar Find this author on PubMed Search for this author on this site Michelle O’Brien 1 Institute for Disease Modeling, Bill and Melinda Gates Foundation , 500 5th Ave N, Seattle, WA 98109 Find this author on Google Scholar Find this author on PubMed Search for this author on this site Marita Zimmermann 1 Institute for Disease Modeling, Bill and Melinda Gates Foundation , 500 5th Ave N, Seattle, WA 98109 Find this author on Google Scholar Find this author on PubMed Search for this author on this site For correspondence: marita.zimmermann{at}gatesfoundation.org Abstract Full Text Info/History Metrics Data/Code Preview PDF Abstract Background FPsim is an agent-based model designed to simulate individual family planning (FP) behaviors and outcomes, capturing biological and behavioral heterogeneity among women. The initial release of the model enabled users to estimate the impact of new contraceptive technologies and interventions, but it lacked key contextual factors—particularly those linked to women’s socioeconomic status—that influence contraceptive dynamics. In this work, we enhanced FPsim by incorporating additional demographic attributes, including education level, wealth quintile, and urban/rural residence. These attributes influence, and are influenced by, contraceptive behaviors, allowing for a more nuanced simulation of family planning outcomes. Methods The key enhancements to the FPsim model are/were: (1) refining the behavioral algorithms that determine a woman’s probability of contraceptive uptake, method choice, and—importantly—the duration a woman remains on a given method, and (2) integrating additional social and demographic factors to better reflect real-world contraceptive choice. We added demographic attributes of education, urban/rural residence, and wealth quintile. By capturing how social context influences duration and switching behavior, FPsim v2.0 better reflects real-world contraceptive trajectories and heterogeneity across population subgroups. Contribution FPsim v2.0 advances a more comprehensive and person-centered approach to modeling FP behaviors. The new model embeds additional social and demographic diversity into individual agent profiles, offering the ability to simulate more tailored and effective interventions. Further validation in diverse settings is necessary to generalize these findings and maximize the model’s utility. Background Increasingly, researchers and policymakers in family planning (FP) have attempted to broaden the goals of family planning programs beyond health outcomes. For example, FP offers young girls and adolescent women the ability to avoid pregnancy during school years, and to achieve their educational goals. Additional understanding of the social and demographic drivers of FP and its consequences can give us greater insight into how global health programs can better meet women’s needs. In this manuscript, we present the methodology we use, including both statistical modeling and agent-based model parameterization, to extend the family planning simulator (FPsim) as a step toward more granular modeling for global health programming. FPsim is an agent-based model designed to simulate individual family planning (FP) behaviors and outcomes( 13 ). This model incorporates biological and behavioral heterogeneity among women, capturing life events such as contraceptive use, pregnancy, and fertility outcomes. Leveraging demographic data, FPsim provides a detailed understanding of FP dynamics at the individual and aggregate levels, offering valuable insights into the potential effectiveness of interventions, such as introducing new contraceptive technologies. By simulating diverse and realistic individual trajectories, FPsim aids researchers and policymakers in understanding and improving family planning strategies on both local and global scales. However, the initial release of FPsim had a key limitation in that the outcomes of family planning were limited to mCPR and maternal health impacts. This manuscript describes the enhancements we introduced to resolve this limitation by incorporating the broader impacts of family planning on her life. This work was undertaken as a part of the Family Planning Impact Consortium (FP-Impact), which aims to conduct a research, modeling and dissemination project centered on how support for women’s family planning intentions provides a path to women’s empowerment and economic development. In this paper, we describe the methodology used to implement FPsim v2.0, an improved version of the agent-based model which includes improved estimation of contraceptive use. We used a calibration of the model to a Kenya-like setting for this analysis. Methods Model structure FPsim is an open-source agent-based model that can be calibrated for various contexts, with initial implementations in Senegal and ongoing development for Kenya and Ethiopia 1 . Agent-based models (ABMs) are rule-based computational models, in which researchers can simulate cohorts of individual agents and run hypothetical simulated scenarios. Agents are faced with decisions and events throughout their life course, most of which are decided probabilistically. In FPsim, each woman begins with her own individual underlying biological fecundity. They can then experience sexual debut, sexual activity, contraceptive choice, conception, abortion, miscarriage, stillbirth, a live birth, infant mortality, and/or maternal mortality. Agents encounter these events with different probabilities based on data from the context, and for most events, broken down into age and time period. For instance, the probability of experiencing infant mortality will be higher in high mortality areas, will decline over time as we see health systems improve in the context, and will be relatively higher for our youngest mothers( 13 ). In brief, the core components of the model – fecundability and contraceptive choice, are represented individually and probabilistically, following age-specific patterns observed in demographic data and prospective cohort studies. Each agent goes through a series of individualized, data-driven, probabilistic decisions each time step related to pregnancy and contraceptive choice ( Figure 1 ). Download figure Open in new tab Figure 1. Decision map displaying contraception and pregnancy-related events in FPsim. Reading from the top, each agent in each timestep is checked for live status, and if alive, is checked for pregnancy status. If pregnant, the agent enters the pregnancy and childbirth module. If not, she continues on by checking if she is postpartum and if she was previously using contraception. She then walks through a series of decisions to determine if she will start or stop using contraception. If she is sexually active, she is eligible for conception. Data source FPsim v2.0 leverages multiple sources of data for calibration. The key data source for this analysis and for the enhancements described in this study is the Kenya Performance Monitoring for Action (PMA) data( 14 ). PMA is a nationally representative survey completed annually. Survey participants are women aged 15 to 49 who are asked about their background, birth histories, family planning methods, fertility preferences, community norms, aspirations, intentions, empowerment, and more. The survey is based on a multi-stage cluster design with urban-rural counties as strata. Households are randomly sampled within each representative geographical cluster. Beginning in 2019, PMA implemented a panel design embedded within the cross-sectional surveys, allowing for longitudinal analysis. We used three years of longitudinal data from 2019, 2020, and 2021. Where we used data from two timepoints, as described in the functions below, we combined data from 2019 to 2020 and 2020 to 2021. Demographic attributes added to FPsim v2.0 To implement the model improvements described below, we added three new demographic attributes to FPsim v2.0: level of education, place of residence (urban/rural), and wealth quintile. All three attributes were initialized based on the distribution by age in the 2022 Kenya Demographic and Health Survey (DHS) for ages 15-49. Wealth quintile and residential setting were constant over the lifetime, while the level of education progressed over time. Upon entering the model, each woman is assigned an education goal based on the distribution of years of education obtained by women over age 20 (assumed to have completed education) in the 2022 Kenya DHS, stratified by place of residence. Starting at age 6, she continues gaining one year of education each year until she reaches her objective, unless she has an interruption. This can either be a temporary disruption (interruption) due to pregnancy, or a permanent disruption (dropout) based on DHS age-parity dropout probabilities. We assumed all women still in school would have their education interrupted during pregnancy. The probability of dropping out was based on Kenya PMA data from 2019-2021. This was calculated by finding the percentage of all women who had a pregnancy while still in school who stopped schooling within a year of the birth. This percentage was stratified by age and parity (1 vs 2+). For those who do not drop out, the mechanism to resume education is tied to postpartum duration. If a woman interrupts her education due to pregnancy, and has not dropped out, she will go back to school 9 months after delivery (half the 6-month postpartum duration). While qualitative and case-study research on the burden of adolescent pregnancy in Kenya is compelling( 15 ), we do not yet have data on this mechanism of return, or the duration of absence. This approximation was instead informed by the re-entry criterion for learners aged < 18 from Kenya’s National School Re-entry Guidelines that pregnant learners shall re-enter school six months after delivery, and at the beginning of the next calendar year. Contraceptive use We implemented contraceptive use as a three-step process in the model: decide if a woman is using contraception, 2) if so, which method she will use, and 3) for that method, how long she will use it. Probability of using contraception One of the most important aspects of the model is determining if a woman is using contraception. We implemented two different versions of a function for determining her probability of using contraception at that time, each with increasing levels of complexity. Each function is a survey-weighted GLMs with a quasi-binomial family. The model user can select which of the functions to use based on the data available and the research question. The probability of using contraception is first assessed at the time of her sexual debut. It is then reassessed if she has reached the end of her time on a method (described in further detail below). Additionally, the probability of contraception is assessed at 1 month postpartum, and, if she does not start using a method then, again at 6 months postpartum. These postpartum functions have the same form as the non-postpartum functions but are parameterized using data from women at the time postpartum. Therefore, for each of the functions described below, three sets of coefficients are produced and implemented as FPsim v2.0 model inputs, 1-month postpartum, 6-months postpartum, and not postpartum. Simple choice function ( eq. 1 ) The covariate for this function was age group (15-18, 19-20, 21-25, 26-35, and 36+). We parameterized this function using PMA data, but it could be calculated using more widely available datasets such as the DHS for future model calibrations. Detailed choice function ( eq. 2 ) The covariates for this function were: ⍰ Age, implemented continuously with a cubic spline with knots at age 25 and 0 ⍰ Previous contraceptive use, with an interaction with age ⍰ Parity, implemented as number of live births ⍰ Education, implemented as highest grade completed ⍰ Urban/rural ⍰ Wealth quintile We parameterized this function using PMA data, but it could be calculated using more widely available datasets such as the demographic and Health Survey (DHS) for future model calibrations. Resulting coefficient estimates for each of these modules can be found in the Appendix. We evaluated fit of the models from each function model using a calibration plot ( Figure 2 ). Observed proportions of women using contraception were compared to predicted probabilities for contraceptive use. Models indicated good agreement between predicted and actual outcomes. Download figure Open in new tab Figure 2. Calibration plots for simple logistic regression models across postpartum time subsets. Predicted probabilities compared to observed proportions for two models predicting current contraceptive use among women who are not currently postpartum: a simple predictive model using only age and prior contraceptive use (blue), and a more detailed demographic prediction model (yellow). Predicted probabilities were grouped into deciles, and for each bin, the mean predicted probability is plotted against the observed frequency of contraceptive use. The dashed diagonal line represents perfect calibration. We adjust the probability of using contraception based on a time trend to account for population level changes in social norms and policies that we cannot capture in this individual model. To do this, we add a covariate to each of the functions for the time trend value * year / base year, where the time trend value is calculated as the average linear change in the contraceptive prevalence rate in Kenya from the base year. Method choice If a woman does begin to use contraception, she selects which method to use based on data from the contraceptive calendar in the 2022 Kenya DHS. The contraceptive calendar tracks which contraceptive method a woman is using, if any, for each month for up to 5 years prior to the survey. The calendar data was reformatted to represent which method a woman was using in each month, stratified by age group and which method she was using in the previous month. For 1-month postpartum, 6-months postpartum, and not postpartum, we produced age and previous method stratified method mix probabilities, which are used to select the method ( Figure 3 ). While we would ideally stratify by further demographic factors, the sample size is not large enough to allow for further stratification. Download figure Open in new tab Figure 3. Method selection. When a woman is eligible chooses to start using contraception based on her individualized probability of using a method, she selects the specific method based on these percentages from the Kenya 2022 DHS, stratified by age group and which method she is switching from. Time on method Once a method is selected, or a woman decides not to use a method, she is assigned a time on that method, or a time on no method, as relevant. These times are based on accelerated failure time models using the contraceptive calendar data from the 2022 Kenya DHS. In this case, we use the 2022 Kenya DHS to increase our sample size. Method-specific failure times are more computationally intensive to calculate than simple annual probabilities, and we determined a need for a larger sample size to allow the models to converge. For each woman in the data, we identified the first time she switched a method from one month to the next. From when she switched to that method, we then counted how many months she continued to use that method, up until the end of the contraceptive calendar. We then fit accelerated failure time models for each method and compared several distributions: exponential, Weibull, log-logistic, log-normal, Gompertz, and gamma. The models included age groups as a factor to understand its impact on the time to discontinuation. Model fit was assessed by plotting fitted survival curves against the empirical survival data and selecting the distribution with the lowest AIC. We then produced coefficients and 95% pointwise confidence bands from the model with the best fitting distribution for each method and implemented them as parameters in FPsim v2.0. These parameters are used to produce a probability distribution function ( Figure 4 ) to select an individualized time on method (or no method). Download figure Open in new tab Figure 4. Fitted accelerated failure time models for expected time on each contraceptive method. Each panel is a contraceptive method, colors are the Kaplan-Meier curves for each method, and black lines are the fitted model with the distribution listed on the bottom left, which was selected due to lowest AIC. Download figure Open in new tab Figure 5. Plots of CPR (contraceptive prevalence rate) and TFR (total fertility rate) calibration targets over time. Black lines represent empirical data sources—UN Data Portal estimates for CPR (top) and World Bank estimates for TFR (bottom). Blue lines show FPsim 2.0 simulation outputs from the Detailed Choice model, calibrated to a Kenya-like setting. These plots highlight the model’s ability to reproduce historical trends and project future trajectories in CPR and TFR, demonstrating strong alignment with observed data from the mid-2000s onward. Calibration Calibration of agent-based models to data is a crucial step to produce results that inform public health policy( 18 ). FPsim users can perform both manual and automatic calibration with the option to weigh the calibration targets that are most important for their work. The automatic calibration process takes in any parameter and optimizes it to reduce mismatch between a given simulation and data provided. Most commonly, FPsim calibrations aim to reduce mismatch for age-specific fertility rates, contraceptive prevalence, and contraceptive method mix. Because the model incorporates many free parameters that rely on theoretical assumptions where data are scarce, the process of calibration often involves adjustment of these free parameters within a plausible bound. For instance, biological fecundability is an age-specific pattern in FPsim, but we also recognize that individual heterogeneity is a critical component in understanding fertility in a population. Because we do not have enough data on individual-level heterogeneity, nor do we fully understand the underlying mechanisms that produce more or less fecundability for individuals beyond genetic makeup, we use free parameters to adjust fecundability for each individual based on a random multiplier. Thus, some individuals will always have higher than average fecundability for their age, and some individuals will always have lower fecundability for their age. The upper and lower bounds on this individual heterogeneity are free parameters, which can be adjusted during the calibration process. The FPsim v2.0 calibration to a Kenya-like setting includes key fertility and family planning calibration targets. We used an iterative calibration process for the FPsim v2.0 model, beginning with the least complex contraceptive choice model, “Simple Choice,” before progressing to the more complex “Detailed Choice.” The detailed choice module introduced additional covariates and refinements to align the model with observed trends in contraceptive prevalence rate (CPR), total fertility rate (TFR), method mix, age-specific fertility rate (ASFR), age at first birth, and birth spacing. These parameters served as primary calibration targets. To ensure a robust assessment of each model calibration, we implemented a systematic approach that accounts for both scale differences across calibration targets and variability in model outputs. Specifically, we conducted 30 independent model runs using different random seeds to capture stochastic variation in the simulation. For each calibration target—Age-Specific Fertility Rate (ASFR), Total Fertility Rate (TFR), Contraceptive Prevalence Rate (CPR), Method Mix, Age at First Birth (AFB), and Birth Spacing, we applied Z-score normalization to both the model oututs and empirical data. This step was essential to standardize metrics with different scales, ensuring that no single target disproportionately influenced the overall calibration assessment. Following normalization, we computed the Mean Squared Error (MSE) between the model and observed data for each calibration target across the 30 model runs. We then averaged these MSE values per calibration target to obtain a representative measure of model performance for each metric. Finally, we computed the mean and standard deviation of the MSEs across all calibration targets, yielding an overall accuracy score. This approach enables a comprehensive evaluation of model fit, balancing the contributions of multiple demographic and behavioral indicators while quantifying uncertainty in the model’s predictive performance. Calibration of the “Simple Choice” Model Adjustments and enhancements during this phase of calibration included: Refinement of free parameters: Calibration focused on adjusting free parameters to best fit the data (see Table 1 for specific parameters used). Incorporation of a CPR time trend term: The parameters prob_use_year, prob_use_trend_par , and prob_use_intercept (see Table 1 ) were incorporated into the logistic function as the base year, trend value, and offset parameter to use for probability of contraceptive use. The function was redefined as: These terms were also added as contraceptive module free parameters and were instrumental in calibrating the model by fine-tuning CPR trends. Addition of ‘ ever_used’ (contraception) as a predictor for probability of using contraception: The initial version of the “simple choice” model did not include previous use of contraception in the probability calculation. It was added at this phase of model development. This addition helped address the underrepresentation of implants and injectables by increasing the likelihood of long-acting method use among women with prior contraceptive use. Incorporation of method weights: Method weights were introduced as free parameters to scale the probabilities of choosing each contraceptive method. These weights were re-normalized to ensure they did not directly translate into disproportionate likelihoods. View this table: View inline View popup Table 1. Free parameters used to iteratively calibrate the model. To identify discrepancies in contraceptive prevalence rate (CPR) trends and refine model calibration, we used age-stratified plots of CPR and method mix, which allowed for a detailed comparison of modeled versus observed contraceptive use patterns across different age groups. Additionally, comparing contraceptive access to new users was instrumental in diagnosing potential mismatches between the supply of contraception and uptake dynamics. These visual diagnostics helped pinpoint specific areas where the model deviated from empirical data, guiding parameter adjustments to improve overall alignment. Calibration of the “Detailed Choice” Model The initial free parameters and enhancements were carried over from the final “Simple Choice” calibration described above. Similar figures were used for visualization and troubleshooting, with the addition of covariate plots. Adjustments and enhancements during this phase of calibration included: Refinement of free parameters: Calibration focused on adjusting free parameters to best fit the data (see Table 1 for specific parameters used). This included the modification of the exposure_correction_age free parameter, which accounted for residual pregnancy and live birth exposure by age. This adjustment greatly improved the alignment of age-specific fertility rates (ASFR) with observed data, particularly by addressing the elevated rates in older age groups, which could not be resolved through adjustments to exposure_correction_parity alone. Addition of interaction term between age and ever use of contraception: This interaction proved essential for improving CPR results, producing reasonable trends after a 5-year burn-in period. Results Calibration Performance The calibration of the “Simple Choice” model resulted in the following measurement, based on the targets aforementioned: Overall MSE Score: 0.2927 ± 0.5138 , with the following MSE values per target: View this table: View inline View popup Download powerpoint The calibration of the “Detailed Choice” model resulted in the following measurement, based on the targets aforementioned: Overall MSE Score: 0.0868 ± 0.0625 , with the following MSE values per target: View this table: View inline View popup Download powerpoint Model Fit and Utility The model results in Figure 6 demonstrate a strong overall calibration across key demographic and reproductive health indicators, with an overall MSE score of 0.0868 ± 0.0625 for the Detailed Choice model, indicating a close alignment with observed data. Download figure Open in new tab Figure 6. Calibration results for FPsim 2.0 using the Detailed Choice model in a Kenya-like setting. The model was calibrated to multiple demographic and reproductive health indicators, including contraceptive use, fertility, and birth ages/spacing. Each panel compares FPsim outputs (blue) against empirical data (black or gray) from sources such as PMA, DHS, UN, and the World Bank. The panels show model alignment with method mix, method use, contraceptive prevalence rate (CPR), total fertility rate (TFR), age-specific fertility rates (ASFR), birth spacing distributions, and age at first birth. Collectively, these outputs demonstrate strong model fit across key behavioral and demographic indicators, supporting the model’s validity for simulating complex family planning and empowerment dynamics in the Kenyan context. Age-Specific Fertility Rate (ASFR) (MSE = 0.089) and Contraceptive Prevalence Rate (CPR) (MSE = 0.098) are well captured, reflecting the model’s ability to accurately reproduce fertility trends and contraceptive use patterns. Similarly, the contraceptive method mix shows an exceptionally low MSE (0.0045), suggesting precise modeling of contraceptive preferences. Birth spacing (MSE = 0.0137) and age at first birth (MSE = 0.134) exhibit strong agreement with empirical data, reinforcing the model’s robustness in capturing reproductive behavior. Overall, the calibration results indicate that the model effectively reproduces key demographic and behavioral trends. The strong fit across most targets highlights the model’s reliability in simulating broader population dynamics. Discussion Advancing Person-Centered Family Planning Modeling In this study, we significantly enhanced FPsim, an agent-based model for FP, by incorporating additional demographic metrics such as educational attainment, wealth, and urbanity. These improvements aimed to provide a more nuanced, person-centered understanding of FP behaviors and outcomes. We demonstrated the feasibility and utility of these enhancements through an application of the model to a Kenya-like setting, leveraging data from the Kenya PMA surveys. Methodological Innovations The methodological enhancements presented in this paper contribute to the field of agent-based modeling in several ways. First, by moving from an annual probability of using contraception framework to a multifactorial, time-specific probability model, we align FPsim v2.0 more closely with real-world contraceptive use patterns. This approach allows for more precise estimation of method duration and switching behaviors, which are crucial for understanding the effectiveness and satisfaction with different contraceptive methods. Second, the implementation of individualized time-on-method distributions based on empirical data represents a methodological innovation that improves the model’s realism and predictive accuracy. This refinement acknowledges the diverse experiences of women using different contraceptive methods and allows for more tailored policy recommendations. Lastly, the incorporation of individual-level demographic attributes—such as education, wealth, and urbanicity—substantially improved the model’s ability to replicate observed patterns in contraceptive use and fertility. These features enable the model to more accurately reflect the heterogeneity of real-world experiences and behaviors, particularly in settings marked by social and economic disparities. Policy and Programmatic Implications The practical implications of these model enhancements are substantial. By providing a more detailed and accurate simulation of FP behaviors, FPsim v2.0 can inform more effective and context-specific FP policies and programs. For instance, understanding the factors that influence contraceptive discontinuation can help design interventions that address these barriers, ultimately reducing unintended pregnancies and improving reproductive health outcomes. Policymakers can use FPsim v2.0 to test hypothetical scenarios and identify strategies that not only increase contraceptive prevalence but also enhance women’s decision-making autonomy and economic opportunities. In that way, FPsim v2.0 can be used to demonstrate the broader social and economic impacts of family planning programming. Model Limitations and Future Directions Despite these advancements, several limitations must be acknowledged. The reliance on PMA data, while robust, may not capture all relevant factors influencing FP behaviors. Future iterations of FPsim could benefit from integrating additional data sources and exploring other dimensions not included in the current model. Additionally, while the model’s calibration to a Kenya-like setting demonstrates its applicability, further validation and calibration in other contexts are necessary to ensure its generalizability. Expanding the model’s applicability to other countries and regions with distinct cultural, socioeconomic, and policy environments will enhance its utility and relevance. Insights and Learnings from the Calibration Process The iterative calibration process highlighted how systematically incorporating demographic detail improved model fit and interpretability. Starting with simpler modules—like the “Simple Choice” model—enabled us to isolate and resolve structural misalignments in key outcomes such as contraceptive prevalence rate (CPR) and age-specific fertility rates (ASFR). Once baseline alignment was achieved, layering in additional covariates like wealth quintile, urban residence, and educational attainment consistently improved alignment with observed subgroup trends, confirming their critical role in shaping reproductive behavior. Additionally, the calibration process highlighted the importance of free parameters in capturing heterogeneity in biological and behavioral factors. The inclusion of free parameters to adjust fecundability and exposure was crucial in aligning contraceptive prevalence rate (CPR) and age-specific fertility rates (ASFR) with observed trends. The use of free parameters like exposure_correction_parity and exposure_correction_age further emphasized the need to account for age- and parity-specific variations in reproductive behavior, particularly in addressing discrepancies in older age groups. Integrating covariate-specific plots for troubleshooting (e.g., parity, urban residence, and educational attainment over time) was instrumental in diagnosing trends and refining parameterization. This iterative visualization approach not only facilitated calibration but also improved transparency and model interpretability. Overall, the iterative calibration process allowed for a gradual incorporation of complexity while ensuring robust alignment with empirical data. This approach highlighted the value of modular calibration, visualization, and targeted parameter adjustments in building a reliable and interpretable agent-based model for family planning. Conclusions The enhancements introduced in FPsim v2.0 represent a significant step toward a more holistic and person-centered approach to modeling family planning behaviors and outcomes. By incorporating additional dimensions of social and economic context – such as education, wealth, and urban residence – into the simulation framework as well as refining the estimation of method duration and switching behaviors, FPsim now captures the diversity of real-world contraceptive experiences with greater precision and nuance. These improvements not only increase the model’s empirical fidelity but also expand its relevance for addressing equity and access in reproductive health. As a result, FPsim v2.0 offers a robust and flexible tool for researchers, policymakers, and program designers seeking to understand and address the complex drivers of contraceptive use and discontinuation. As we continue to refine FPsim, it holds great potential to inform more effective, equitable, and context-specific family planning strategies worldwide. Data Availability All data referenced in this paper are publicly available. https://dhsprogram.com/data/ https://www.pmadata.org/data Footnotes emily.driano{at}gatesfoundation.org , pmsl.academic{at}gmail.com , robyn.s{at}gmail.com , michelle.obrien{at}gatesfoundation.org Data Availability Statement All data used in this study are publicly available. Demographic and Health Survey (DHS) data are available from the DHS Program ( https://dhsprogram.com ), World Bank indicators are accessible at the World Bank Open Data portal ( https://data.worldbank.org ), and Performance Monitoring for Action (PMA) data are available at https://www.pmadata.org/ . The code for the FPsim model is publicly available on Github at https://github.com/fpsim/fpsim ; version v2.0.0 was used to generate these model results. ↵ 1 Code, documentation, and tutorials are openly available at fpsim.org References 1. Senderowicz L. Contraceptive Autonomy: Conceptions and Measurement of a Novel Family Planning Indicator . Stud Fam Plann [Internet] . 2020 Jun 1 [cited 2024 Sep 11 ]; 51 ( 2 ): 161 – 76 . Available from: https://pubmed-ncbi-nlm-nih-gov.offcampus.lib.washington.edu/32358789/ OpenUrl 2. Rothschild CW , Bulama A , Odeh R , Chika-Igbokwe S , Njogu J , Tumlinson K , et al. Preferencealigned fertility management among married adolescent girls in Northern Nigeria: assessing a new measure of contraceptive autonomy . BMJ Glob Health [Internet] . 2024 May 16 [cited 2025 Jun 30 ]; 9 ( 5 ): e013902 . Available from: https://pmc-ncbi-nlm-nih-gov.offcampus.lib.washington.edu/articles/PMC11103226/ OpenUrl 3. Al Riyami A , Afifi M , Mabry RM . Women’s Autonomy, Education and Employment in Oman and their Influence on Contraceptive Use . Reprod Health Matters [Internet] . 2004 [cited 2024 May 22 ]; 12 ( 23 ): 144 – 54 . Available from: https://www.tandfonline.com/doi/abs/10.1016/S0968-8080%2804%2923113-5 OpenUrl 4. John NA , Tsui AO , Roro M. Quality of Contraceptive Use and Women’s Paid Work and Earnings in Peri-Urban Ethiopia . Fem Econ [Internet] . 2020 Jan 2 [cited 2024 May 22 ]; 26 ( 1 ): 23 – 43 . Available from: https://www.tandfonline.com/doi/abs/10.1080/13545701.2019.1632471 OpenUrl 5. Blackstone SR . WOMEN’S EMPOWERMENT, HOUSEHOLD STATUS AND CONTRACEPTION USE IN GHANA . J Biosoc Sci [Internet] . 2017 Jul 1 [cited 2024 May 22 ]; 49 ( 4 ): 423 – 34 . Available from: https://www.cambridge.org/core/journals/journal-of-biosocial-science/article/abs/womens-empowerment-household-status-and-contraception-use-in-ghana/AC205264D2A8AD6FD658BAF5183F3182 OpenUrl 6. Tiruneh FN , Chuang KY , Ntenda PAM , Chuang YC . Factors associated with contraceptive use and intention to use contraceptives among married women in Ethiopia . Women Health [Internet] . 2016 Jan 2 [cited 2024 May 22 ]; 56 ( 1 ): 1 – 22 . Available from: https://www.tandfonline.com/doi/abs/10.1080/03630242.2015.1074640 OpenUrl 7. Islam AZ , Mondal MdNI , Khatun MtL , Rahman MdM , Islam MdR , Mostofa MdG , et al. Prevalence and Determinants of Contraceptive use among Employed and Unemployed Women in Bangladesh . Int J MCH AIDS [Internet] . 2016 [cited 2024 May 22 ]; 5 ( 2 ): 92 . Available from: /pmc/articles/PMC5187648/ OpenUrl 8. Family Planning & Contraceptives Access | Bill & Melinda Gates Foundation [Internet] . [cited 2024 Mar 8 ]. Available from: https://www.gatesfoundation.org/our-work/programs/gender-equality/family-planning 9. UNFPA . Family planning [Internet] . [cited 2024 Mar 8 ]. Available from: https://www.unfpa.org/family-planning 10. Sameera Al Tuwaijri , Seemeen Saadat . Family Planning: Investing in women’s health and empowerment to build human capital [Internet] . 2018 [cited 2024 Mar 8 ]. Available from: https://blogs.worldbank.org/health/family-planning-investing-women-s-health-and-empowerment-build-human-capital 11. Yaya S , Uthman OA , Ekholuenetale M , Bishwajit G. Women empowerment as an enabling factor of contraceptive use in sub-Saharan Africa: A multilevel analysis of cross-sectional surveys of 32 countries . Reprod Health [Internet] . 2018 Dec 20 [cited 2024 May 20 ]; 15 ( 1 ): 1 – 12 . Available from: https://reproductive-health-journal.biomedcentral.com/articles/10.1186/s12978-018-0658-5 OpenUrl 12. O’Brien ML , Zimmermann M , Eitmann L , Chao DL , Proctor JL . Contraceptive Adoption and Changes in Empowerment in Kenya, Nigeria, and Senegal . Stud Fam Plann . 2023 Dec 1; 54 ( 4 ): 609 – 23 . OpenUrl PubMed 13. ↵ O’Brien ML , Valente A , Kerr CC , Proctor JL , Noori N , Root ED , et al. FPsim: an agent-based model of family planning . npj Women’s Health . 2023 Oct 18; 1 ( 1 ). 14. ↵ Zimmerman L , Olson H , Tsui A , Radloff S. PMA2020: Rapid Turn-Around Survey Data to Monitor Family Planning Service and Practice in Ten Countries . Stud Fam Plann [Internet] . 2017 Sep 1 [cited 2024 Sep 11 ]; 48 ( 3 ): 293 – 303 . Available from: https://pubmed-ncbi-nlm-nih-gov.offcampus.lib.washington.edu/28885679/ OpenUrl 15. ↵ Mumah JN , Mulupi S , Wado YD , Ushie BA , Nai D , Kabiru CW , et al. Adolescents’ narratives of coping with unintended pregnancy in Nairobi’s informal settlements . PLoS One [Internet] . 2020 Oct 1 [cited 2025 Jun 30 ]; 15 ( 10 ): e0240797 . Available from: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0240797 OpenUrl 16. Raj A. Women and girls’ health agency: Operationalizing the “Can-Act-Resist” of the women’s empowerment process . EClinicalMedicine [Internet] . 2020 Mar 1 [cited 2024 Sep 11 ]; 20 . Available from: http://www.thelancet.com/article/S2589537020300316/fulltext 17. Cardona C , Williams A , Gummerson E , Ahmed S , Anglewicz P. Measuring Women’s Economic Empowerment in the Democratic Republic of Congo, Kenya, Nigeria, and Burkina Faso . Fem Econ . 2024 ; 18. ↵ Hazelbag CM , Dushoff J , Dominic EM , Mthombothi ZE , Delva W. Calibration of individual-based models to epidemiological data: A systematic review . PLoS Comput Biol [Internet] . 2020 May 1 [cited 2024 Sep 11 ]; 16 ( 5 ): e1007893 . Available from: https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1007893 OpenUrl 19. ICF . Demographic and Health Surveys (various) . The DHS Program [Internet] . Available from: https://dhsprogram.com 20. World Bank . World Development Indicators . World Bank Open Data [Internet] . Available from: https://data.worldbank.org 21. Performance Monitoring for Action (PMA ). PMA Data [Internet] . Available from: https://www.pmadata.org/ View the discussion thread. Back to top Previous Next Posted September 18, 2025. Download PDF Data/Code Email Thank you for your interest in spreading the word about medRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following Advancing Woman-Centered Global Health Simulations: Improved Accuracy Through Detailed Demographic Modelling in FPsim Message Subject (Your Name) has forwarded a page to you from medRxiv Message Body (Your Name) thought you would like to see this page from the medRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share Advancing Woman-Centered Global Health Simulations: Improved Accuracy Through Detailed Demographic Modelling in FPsim Emily Driano , Paula Sanz-Leon , Robyn Stuart , Michelle O’Brien , Marita Zimmermann medRxiv 2025.09.17.25336008; doi: https://doi.org/10.1101/2025.09.17.25336008 Share This Article: Copy Citation Tools Advancing Woman-Centered Global Health Simulations: Improved Accuracy Through Detailed Demographic Modelling in FPsim Emily Driano , Paula Sanz-Leon , Robyn Stuart , Michelle O’Brien , Marita Zimmermann medRxiv 2025.09.17.25336008; doi: https://doi.org/10.1101/2025.09.17.25336008 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Sexual and Reproductive Health Subject Areas All Articles Addiction Medicine (567) Allergy and Immunology (863) Anesthesia (297) Cardiovascular Medicine (4411) Dentistry and Oral Medicine (443) Dermatology (380) Emergency Medicine (606) Endocrinology (including Diabetes Mellitus and Metabolic Disease) (1505) Epidemiology (15205) Forensic Medicine (30) Gastroenterology (1119) Genetic and Genomic Medicine (6574) Geriatric Medicine (666) Health Economics (994) Health Informatics (4511) Health Policy (1365) Health Systems and Quality Improvement (1608) Hematology (537) HIV/AIDS (1263) Infectious Diseases (except HIV/AIDS) (15903) Intensive Care and Critical Care Medicine (1103) Medical Education (620) Medical Ethics (144) Nephrology (666) Neurology (6573) Nursing (345) Nutrition (998) Obstetrics and Gynecology (1139) Occupational and Environmental Health (954) Oncology (3319) Ophthalmology (968) Orthopedics (369) Otolaryngology (420) Pain Medicine (435) Palliative Medicine (129) Pathology (662) Pediatrics (1689) Pharmacology and Therapeutics (691) Primary Care Research (710) Psychiatry and Clinical Psychology (5422) Public and Global Health (9205) Radiology and Imaging (2191) Rehabilitation Medicine and Physical Therapy (1367) Respiratory Medicine (1191) Rheumatology (593) Sexual and Reproductive Health (709) Sports Medicine (529) Surgery (709) Toxicology (99) Transplantation (288) Urology (265) (function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'9fea3d22e82506db',t:'MTc3OTI2ODU0Nw=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.