Volume 28 - Article 38 | Pages 1093-1144

A Stata module for computing fertility rates and TFRs from birth histories: tfr2

By Bruno Schoumaker

Print this page  Twitter


Date received:22 Jun 2012
Date published:29 May 2013
Word count:9780
Keywords:birth history, Demographic and Health Survey, fertility, Poisson regression, Stata, total fertility rate, trends
Additional files:short syntaxes tfr2 (zip file, 4 kB)
 tfr2 (1.2.1) (zip file, 17 kB)


Background: Since the 1970s, birth history data have become widely available, thanks to the World Fertility survey and the Demographic and Health Surveys programs. Despite their wide availability, these data remain under-exploited. Computation, even of simple indicators (fertility rates, total fertility rates, mean age at childbearing) and their standard errors, is not direct with such data, and other types of analysis (fertility differentials, reconstruction of fertility trends et cetera) may also involve reorganization of data sets and statistical modeling that present a barrier to the use of birth history data.

Objective: This paper presents a Stata software module (tfr2) that was prepared to analyze birth history data in a user-friendly and flexible way. It is designed to be used primarily with DHS data, but can also be used easily with birth histories from other sources. Three types of analysis are performed by tfr2: (1) the computation of age-specific fertility rates and TFRs, as well as their standard errors, (2) the reconstruction of fertility trends, and (3) the estimation of fertility differentials (rate ratios).

Methods: The tfr2 module is composed of two parts: (1) a Stata command to transform birth history data into a table of births and exposure (tabexp), and (2) a Poisson regression model to compute fertility rates, fertility trends and fertility differentials from a table of births and exposure (produced by tabexp).

Comments: One can obtain tfr2 free of charge. It will work with Stata 10 and more recent versions of Stata.

Author's Affiliation

Bruno Schoumaker - Université Catholique de Louvain, Belgium [Email]

Other articles by the same author/authors in Demographic Research

» Reconstructing trends in international migration with three questions in household surveys: Lessons from the MAFE project
Volume 32 - Article 35

Most recent similar articles in Demographic Research

» Two period measures for comparing the fertility of marriage and cohabitation
Volume 32 - Article 14    | Keywords: fertility, total fertility rate

» Recent fertility patterns of Finnish women by union status: A descriptive account
Volume 28 - Article 14    | Keywords: fertility, total fertility rate

» On the impossibility of inferring cohort fertility measures from period fertility measures
Volume 5 - Article 2    | Keywords: fertility, total fertility rate

» Earnings and first birth probability among Norwegian men and women 1995-2010
Volume 33 - Article 38    | Keywords: fertility

» The effects of wealth, occupation, and immigration on epidemic mortality from selected infectious diseases and epidemics in Holyoke township, Massachusetts, 1850−1912
Volume 33 - Article 36    | Keywords: Poisson regression


»Volume 28





Similar Articles



Jump to Article

Volume Page
Volume Article ID