mcmsupply

MCMSupply Package

https://github.com/hannahcomiskey/mcmsupply

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org, zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.4%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

MCMSupply Package

Basic Info
Statistics
  • Stars: 2
  • Watchers: 1
  • Forks: 3
  • Open Issues: 1
  • Releases: 8
Created over 4 years ago · Last pushed over 2 years ago
Metadata Files
Readme License

README.md

mcmsupply

mcmsupply is a R package that enables users to estimate the public and private sector contributions to the modern contraceptive method market supplies over time in low- and middle-income countries. mcmsupply uses Bayesian hierarchical models, combined with cross-method correlations to maximise the precision of model estimates, even in data-sparse settings. This R package has functionality for users to estimate an individual country's market supply shares or run more complex multi-country models. The data and JAGS models are available at the national and subnational administration levels. Lastly, there is functionality available for users to supply custom datasets if they wish.

Zenodo link

DOI

Installation

The package can be installed by cloning this repository git clone https://github.com/hannahcomiskey/mcmsupply.git and then running devtools::install()

or using the R command install.packages("mcmsupply")

Motivation

Quantifying the public/private sector supply of contraceptive methods within countries is vital for effective and sustainable family planning (FP) delivery. In many low and middle-income countries (LMIC), measuring the contraceptive supply source often relies on Demographic Health Surveys (DHS). However, many of these countries carry out the DHS approximately every 3-5 years and do not have recent data beyond 2015/16. Our objective in estimating the set of related contraceptive supply-share outcomes (proportion of modern contraceptive methods supplied by the public/private sectors) is to take advantage of latent attributes present in dataset to produce annual, country-specific estimates and projections with uncertainty. We propose a Bayesian, hierarchical, penalized-spline model with multivariate-normal spline coefficients to capture cross-method correlations. Our approach offers an intuitive way to share information across countries and sub-continents, model the changes in the contraceptive supply share over time, account for survey observational errors and produce probabilistic estimates and projections that are informed by past changes in the contraceptive supply share as well as correlations between rates of change across different methods. These results will provide valuable information for evaluating FP program effectiveness. To the best of our knowledge, it is the first model of its kind to estimate these quantities.

Keywords: Bayesian, family planning, splines, correlation, hierarchical, time-series

Citation and link to the national contraceptive method supply share model paper

Comiskey, Hannah, Alkema, Leontine, and Cahill, Niamh. "Estimating the proportion of modern contraceptives supplied by the public and private sectors using a Bayesian hierarchical penalized spline model." arXiv preprint arXiv:2212.03844 (2022).

https://arxiv.org/abs/2212.03844

mcmsupply R package website

R-CMD-Check status

<!-- badges: start --> R-CMD-check <!-- badges: end -->

Owner

  • Name: Hannah Comiskey
  • Login: hannahcomiskey
  • Kind: user

GitHub Events

Total
  • Issue comment event: 1
  • Fork event: 1
Last Year
  • Issue comment event: 1
  • Fork event: 1

Packages

  • Total packages: 1
  • Total downloads:
    • cran 252 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 4
  • Total maintainers: 1
cran.r-project.org: mcmsupply

Estimating Public and Private Sector Contraceptive Market Supply Shares

  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 252 Last month
Rankings
Forks count: 21.5%
Stargazers count: 28.2%
Dependent packages count: 28.3%
Average: 31.5%
Dependent repos count: 36.9%
Downloads: 42.5%
Last synced: 11 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.5.0 depends
  • R2jags * depends
  • doMC * depends
  • foreach * depends
  • geodata * depends
  • runjags * depends
  • sf * depends
  • spdep * depends
  • tidybayes * depends
  • tidyverse * depends
  • knitr * suggests
  • rmarkdown * suggests
  • testthat >= 3.0.0 suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action v4.4.1 composite
  • actions/checkout v3 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml actions
  • actions/checkout v3 composite
  • actions/upload-artifact v3 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite