| Literature DB >> 33842844 |
Gregory Guranich1, Niamh Cahill2, Leontine Alkema1.
Abstract
The global Family Planning Estimation model (FPEM) combines a Bayesian hierarchical model with country-specific time trends to yield estimates of contraceptive prevalence and unmet need for family planning for countries worldwide. In this paper, we introduce the R package fpemlocal that carries out the estimation of family planning indicators for a single population, for example, for a single country or smaller area. In this implementation of FPEM, all non-population-specific parameters are fixed at outcomes obtained in a prior global FPEM run. The development of this model was motivated by the demand for computational efficiency, without loss of model accuracy, when estimates and projections from FPEM were needed only for a single country. We present use cases to produce estimates for a single population of women by union status or all women based on package-provided data bases and user-specified data. We also explain how to aggregate estimates across multiple populations. The R package forms the basis of the Track20 Family Planning Estimation Tool to monitor trends in family planning indicators for the FP2020 initiative. Fpemlocal is available from: https://github.com/AlkemaLab/fpemlocal. Copyright:Entities:
Keywords: Family Planning estimation tool; global versus local model fitting
Year: 2021 PMID: 33842844 PMCID: PMC8008158 DOI: 10.12688/gatesopenres.13211.1
Source DB: PubMed Journal: Gates Open Res ISSN: 2572-4754
Figure 1. A flowchart to illustrate the relation between global and local FPEM.
Figure taken from New , distributed with a CC BY license.
Argument descriptions for function fit_fp_c.
| Argument | Data type | Description |
|---|---|---|
| surveydata_filepath | Character | Path to survey data. Survey data should be a .csv. When left NULL, the function
|
| division_numeric_code | Numeric | A numeric code associated with the country. This code will determine the
|
| is_in_union | Character | Specify the union status of women. Options are in-union, not-in-union, and all
|
| first_year | Numeric | The first year of model estimates returned. The model will be fit to all data,
|
| last_year | Numeric | The last year of model estimates returned. The model will be fit to all data,
|
Figure 2. Function calls for use case 1.1, estimating family planning indicators for in_union or not_in_union women for Afghanistan (country numeric code 4) with an illustration of a plot for modern contraceptive prevalence estimates over time from the function plot_fp_c.
Results are shown for Afghanistan. Light purple shaded area represents 95% credible intervals and the dark purple area represents 80% credible intervals.
Figure 3. Function calls and illustrative output for use case 1.2: Estimating FP indicators for married women with custom user data.
Figure 4. Function calls and illustrative output for use case 2: Estimating FP indicators for all women.
Figure 5. Function calls and illustrative output for use case 3: Aggregating multiple fits and obtaining aggregate estimates.