Related Experiment Video
Updated: Mar 12, 2026

An R-Based Landscape Validation of a Competing Risk Model
Published on: September 16, 2022
bayesTFR: An R Package for Probabilistic Projections of the Total Fertility Rate
Hana Ševčíková1, Leontine Alkema2, Adrian E Raftery3
1Center for Statistics and the Social Sciences, University of Washington, Box 354322, Seattle, WA 98195-4322, USA.
Abstract:
The bayesTFR package for R provides a set of functions to produce probabilistic projections of the total fertility rate (TFR) for all countries. In the model, a random walk with drift is used to project the TFR during the fertility transition, using a Bayesian hierarchical model to estimate the parameters of the drift term. The TFR is modeled with a first order autoregressive process during the post-transition phase. The computationally intensive part of the projection model is a Markov chain Monte Carlo algorithm for estimating the parameters of the drift term. This article summarizes the projection model and describes the basic steps to generate probabilistic projections, as well as other functionalities such as projecting aggregate outcomes and dealing with missing values.
Related Concept Videos
Distributions to Estimate Population Parameter
Population Growth
Statistical Methods for Analyzing Epidemiological Data
Biostatistics: Overview
Discrete variables are...
Applications of Life Tables
Estimating Population Standard Deviation

