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 #27284 is a reply to message #27282] Thu, 13 July 2023 04:11 Go to previous messageGo to previous message
schoumaker is currently offline  schoumaker
Messages: 65
Registered: May 2013
Location: Belgium
Senior Member
Hello,

You can change the number of years preceding the survey with the 'length' option.

For instance

tfr2, entry(v509c) awf(awfac_cons) len(5), if v501==1 // for the total

will compute rates for the 5 years preceding the survey.

You can also use calendar years instead of years preceding the survey, with the option cy.

tfr2, entry(v509c) awf(awfac_cons) len(5) cy, if v501==1 // for the total

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: Sun Jun 23 11:45:45 Coordinated Universal Time 2024