The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Fertility » Using tfr2 to Calculate age specific marital fertility rate
Re: Using tfr2 to Calculate age specific marital fertility rate [message #13562 is a reply to message #13561] Sun, 19 November 2017 02:36
 schoumaker Messages: 63Registered: May 2013 Location: Belgium Senior Member

for non-marital fertility rates:

You are right, the reported time period is not correct.

You should specify that the rates are to be estimated only if dates>entry. You will get the same rates, but the time period will be correct. I had not anticipated this use of tfr2 - and I will correct it in a further version.

tfr2 if dates>entry, entry(entry) dates(dates)

If you get the message "maximum number of iterations exceded", this is probably because there are no events in some age groups. tfr2 uses Poisson regression and will run into this kind of problems with small samples.

You could use tabexp

tabexp if dates>entry, entry(entry) dates(dates) rates

You will get the number of events, exposure, and rates in each age groups (computed by dividing events by exposure).

if you find the number of events is 0 in th upper age groups, you could restrict you analyses with tfr2 to a smaller age range (for instance 15-39).

For instance

tfr2 if dates>entry, entry(entry) dates(dates) mina(15) maxa(39)

For marital fertility rates, When you select v501==1 | v502==2, check if these categories refer to women in union.

Best,

Bruno

Bruno Schoumaker
Centre for Demographic Research
Université catholique de Louvain

 Using tfr2 to Calculate age specific marital fertility rate By: Michaelo on Fri, 17 November 2017 00:31 Re: Using tfr2 to Calculate age specific marital fertility rate By: Michaelo on Sat, 18 November 2017 09:35 Re: Using tfr2 to Calculate age specific marital fertility rate By: schoumaker on Sat, 18 November 2017 15:31 Re: Using tfr2 to Calculate age specific marital fertility rate By: Michaelo on Sat, 18 November 2017 21:18 Re: Using tfr2 to Calculate age specific marital fertility rate By: schoumaker on Sun, 19 November 2017 02:36 Re: Using tfr2 to Calculate age specific marital fertility rate By: Michaelo on Tue, 21 November 2017 03:14 Re: Using tfr2 to Calculate age specific marital fertility rate By: Mercysh on Tue, 27 August 2019 08:58 Re: Using tfr2 to Calculate age specific marital fertility rate By: schoumaker on Tue, 27 August 2019 13:11 Re: Using tfr2 to Calculate age specific marital fertility rate By: Mercysh on Thu, 29 August 2019 05:34 Re: Using tfr2 to Calculate age specific marital fertility rate By: Mercysh on Mon, 30 September 2019 04:21 Re: Using tfr2 to Calculate age specific marital fertility rate By: schoumaker on Mon, 30 September 2019 07:26 Re: Using tfr2 to Calculate age specific marital fertility rate By: Mercysh on Wed, 02 October 2019 04:57 Re: Using tfr2 to Calculate age specific marital fertility rate By: schoumaker on Wed, 02 October 2019 13:04 Re: Using tfr2 to Calculate age specific marital fertility rate By: Mercysh on Thu, 03 October 2019 03:47 Re: Using tfr2 to Calculate age specific marital fertility rate By: Mercysh on Thu, 03 October 2019 07:39 Re: Using tfr2 to Calculate age specific marital fertility rate By: schoumaker on Thu, 03 October 2019 07:45 Re: Using tfr2 to Calculate age specific marital fertility rate By: Mercysh on Thu, 03 October 2019 08:22 Re: Using tfr2 to Calculate age specific marital fertility rate By: Mercysh on Thu, 10 October 2019 11:03 Re: Using tfr2 to Calculate age specific marital fertility rate By: waqas on Tue, 11 July 2023 05:37 Re: Using tfr2 to Calculate age specific marital fertility rate By: schoumaker on Wed, 12 July 2023 07:46 Re: Using tfr2 to Calculate age specific marital fertility rate By: waqas on Thu, 13 July 2023 00:38 Re: Using tfr2 to Calculate age specific marital fertility rate By: schoumaker on Thu, 13 July 2023 03:19 Re: Using tfr2 to Calculate age specific marital fertility rate By: waqas on Thu, 13 July 2023 03:57 Re: Using tfr2 to Calculate age specific marital fertility rate By: schoumaker on Thu, 13 July 2023 04:11 Re: Using tfr2 to Calculate age specific marital fertility rate By: waqas on Thu, 13 July 2023 04:52
 Previous Topic: PDHS 2017-18: MEDIAN AGE AT FIRST BIRTH Next Topic: DSMFR Duration-specific marital fertility rates and TMFR
Goto Forum:

Current Time: Mon Feb 26 09:31:09 Coordinated Universal Time 2024