https://github.com/cjabradshaw/humanfertility

R code to reproduce models testing for cross-national human fertility patterns relative to underlying drivers

https://github.com/cjabradshaw/humanfertility

Science Score: 36.0%

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

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 8 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.2%) to scientific vocabulary

Keywords

contraception family-planning family-planning-services fertility human-fertility human-population infant-mortality mortality population religion socio-economics
Last synced: 5 months ago · JSON representation

Repository

R code to reproduce models testing for cross-national human fertility patterns relative to underlying drivers

Basic Info
  • Host: GitHub
  • Owner: cjabradshaw
  • License: gpl-3.0
  • Language: R
  • Default Branch: main
  • Homepage:
  • Size: 4.51 MB
Statistics
  • Stars: 1
  • Watchers: 3
  • Forks: 1
  • Open Issues: 0
  • Releases: 4
Topics
contraception family-planning family-planning-services fertility human-fertility human-population infant-mortality mortality population religion socio-economics
Created over 4 years ago · Last pushed about 1 year ago
Metadata Files
Readme License

README.md

Human fertility models

DOI

contraception

R code to reproduce models testing for cross-national human fertility patterns relative to underlying drivers

code updated December 2022

R code accompanies the following paper:

Bradshaw, CJA, C Perry, M Judge, CM Saraswati, J Heyworth, PN Le Souëf. 2023. Lower infant mortality, lower household size, and more access to contraception reduce fertility in low- and middle-income nations. PLoS One doi:10.1371/journal.pone.0280260

Pre-print (out-of-date) also available here.

Abstract

Although average contraceptive use has increased globally in recent decades, an estimated 222 million (26%) of women of child-bearing age worldwide face an unmet need for family planning — defined as a discrepancy between fertility preferences and contraception practice, or failing to translate desires to avoid pregnancy into preventative behaviours and practices. While many studies have reported relationships between availability/quality of contraception and family planning, infant mortality, and fertility, these relationships have not been evaluated quantitatively across a broad range of low- and middle-income countries. Using publicly available data from 64 low- and middle-income countries, we collated test and control variables in six themes: (i) availability of family planning, (ii) quality of family planning, (iii) female education, (iv) religion, (v) mortality, and (vi) socio-economic conditions. We predicted that higher nation-level availability/quality of family-planning services and female education reduce average fertility, whereas higher infant mortality, great household size (a proxy for population density), and religious adherence increase it. Given the sample size, we first constructed general linear models to test for relationships between fertility and the variables from each theme, from which we retained those with the highest explanatory power within a final general linear model set to determine the partial correlation of dominant test variables. We also applied boosted regression trees, generalised least-squares models, and generalised linear mixed-effects models to account for non-linearity and spatial autocorrelation. On average among all countries, we found the strongest associations between fertility and infant mortality, household size, and access to any form of contraception. Higher infant mortality and household size increased fertility, whereas greater access to any form of contraception decreased it fertility. Female education, home visitations by health workers, quality of family planning, and religious adherence all had weak, if any, explanatory power. Our models suggest that decreasing infant mortality, ensuring sufficient housing to reduce household size, and increasing access to contraception will have the greatest effect on decreasing global fertility. We thus provide new evidence that progressing the United Nation’s Sustainable Development Goals for reducing infant mortality can be accelerated by increasing access to family planning.


Prof Corey J. A. Bradshaw
Global Ecology | Partuyarta Ngadluku Wardli Kuu, Flinders University, Adelaide, Australia
August 2022
e-mail

Scripts

  • main script humanFertilityGitHubV3.R includes all data preparation and modelling steps
  • newlmerAIC_tables3.R (source file)
  • r.squared.R (source file)

Data

All data sourced from the following online databases: (i) Demographic and Health Surveys, (ii) Family Planning Effort Index, (iii) Multiple Indicator Cluster Surveys, (iv) National Composite Index on Family Planning, (v) World Bank, (vi) World Inequality Database, and (vii) World Health Organization Global Health Observatory, Association of Religion Data Archives. - basedata.update.csv = main input data - matmort.update.csv = maternal mortality data - pop.yr.update.csv = national population data - continent.country2.csv = naming file necessary for data merging

Requires the following R libraries

lme4, Hmisc, ggplot2, plotly, nlme, car, dismo, gbm, rgeos, rworldmap, rworldxtra, rcompanion, SpatialEpi, ggridges, dplyr, ggpubr, plyr, fields, ncf, AICcmodavg, modEvA, VIM, mice. ggstatsplot

Flinders University logo     Future Child Health logo GEL logoUWA logo

Owner

  • Name: Corey Bradshaw
  • Login: cjabradshaw
  • Kind: user
  • Location: Adelaide, South Australia
  • Company: Flinders University

Matthew Flinders Professor of Global Ecology @GlobalEcologyFlinders @CABAH

GitHub Events

Total
  • Push event: 13
  • Pull request event: 2
Last Year
  • Push event: 13
  • Pull request event: 2