The Own-Children Method of fertility estimation – the devil is in the detail Ian M. Timæus -------------------------------------------------------------------------------- The coefficients in Table 1 were produced using an R script (oRphanhood.R) and version 4.0.4 of R. Both figures were produced using Stata (version 13.0 or above): Figure 1 - DevilishFig1.do Figure 2 - Devilish.do The scripts are also available from a GitHub repository which contains further documentation of the code: https://github.com/BugBunny/oRphanhood The Demographic and Health Surveys (DHS) data files used to produce Figure 1 of the paper are available from the DHS website to researchers who register for dataset access: https://www.dhsprogram.com/Data/ The following 'flat' DHS individual recode files were analyzed: Azerbaijan 2006 - AZIR52FL Cameroon 2004 - CMIR44FL Egypt 2005 - EGIR51FL Haiti 2005 - HTIR52FL India 2005 - IAIR52FL Peru 2004 - PEIR51FL Philippines 2008 - PHIR52FL Senegal 2005 - SNIR4HFL Tanzania 2004 - TZIR4QFL Figure 1 was produced using the following variables: v005 - Sample weight v013 - Five-year age group b5 - Child is alive? b8 - Child's age b16 - Child's line number in the household member file The 1900 and 1910 United States and 2000 and 2010 Zambia sample census files used to produce Figure 2 of the paper are available to registered users from the IPUMS-USA and IPUMS-International websites: https://usa.ipums.org/usa/ https://international.ipums.org/international/ Figure 2 was produced using the following variables: country - Country year - Census year serial - Household number pernum - Household member number perwt - Individual weight sex - Sex age - Age in years momloc - Mother's pernum stepmom - (Natural mothers are coded 0) chborn - Children ever-born to women (N.B. +1 in the US census files) chsurv - Children still living (N.B. +1 in the US census files) --------------------------------------------------------------------------------