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 #27281 is a reply to message #27280] Thu, 13 July 2023 03:19 Go to previous messageGo to previous message
schoumaker is currently offline  schoumaker
Messages: 66
Registered: May 2013
Location: Belgium
Senior Member
Hello,

Thank you for your useful feedback. I checked the 2006 Pakistan report to replicate the published results (FR200, Table 4.3).

Here is the code that gives exactly the same results as those published in the report.

gene awfac_cons=100 // creating an artificial all women factor
gene v509c=v509-1 // removing one month from the date of first union
tfr2, entry(v509c) awf(awfac_cons), if v501==1 // for the total
tfr2, entry(v509c) awf(awfac_cons), if v501==1 & v025==2 // in rural areas
tfr2, entry(v509c) awf(awfac_cons), if v501==1 & v025==1 // in urban areas
tfr2, entry(v509c) awf(awfac_cons), if v501==1 & v026==0 // in major city
tfr2, entry(v509c) awf(awfac_cons), if v501==1 & v025==1 & v026!=0 // in other urban


So, the differences with the previous code are that:

1. the rates are computed among currenttly married women (v501==1)
2. the date of marriage is changed to the previous month.

I need to check why in the date of first union needs to be changed for the results to match perfectly. But in this way you will be able to replicate the results, and use the same approach with more recent data to look at trends in marital fertility.

Best regards.

Bruno








Bruno Schoumaker
Centre for Demographic Research
Université catholique de Louvain
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PDHS 2017-18: MEDIAN AGE AT FIRST BIRTH
Next Topic: DSMFR Duration-specific marital fertility rates and TMFR
Goto Forum:
  


Current Time: Sat Dec 7 18:46:05 Coordinated Universal Time 2024