The DHS Program User Forum       Discussions regarding The DHS Program data and results
Home » Topics » Fertility » Variable for Age-Specific Fertility Rate
Variable for Age-Specific Fertility Rate Thu, 18 May 2017 13:41
 pndagu263 Messages: 11Registered: November 2016 Location: South Africa Member
Dear Statalisters

I want to analyse potential sources of the differences in total fertility rates (TFRs) between two DHS surveys for Zimbabwe, 2005 and 2010. I aim to apply the decomposition method by Oaxaca-Blinder to identify contributions to fertility change.

I had initially planned to conduct the decomposition using the mvdcmp programme by Powers et al. (2011) using as my outcome variable children ever born (v201). The problem with v201 however, is that it is not age standardised and therefore not an optimal indicator for total fertility rate. In fact, average children ever born is higher in the Zimbabwe DHS2005-06 compared to ZDHS2010-11 whereas the ASFR and TFR estimates are higher in 2010-11 compared to 2005-06 survey. My intention now is to use age-specific fertility rate (ASFR) as a proxy for TFR as my dependent variable given that it is age standardised.

My question then is that how can I generate in STATA a variable for ASFR for single-year age groups (v012) in DHS. I tried the following;

For exposure [person-years];
gen top = v008 - 1
gen bot = v008 - 36
gen turn15 = v011 + 180
replace bot = turn15 if turn15 > bot
drop if bot>top

gen agebot = int( ((bot+top)/2 - v011)/12)
gen expo= top - bot + 1

Then for events [since I'm not well versed with looping];
gen birth1=0
replace birth1=1 if b3_01!=.

gen birth2=0
replace birth2=1 if b3_02!=.

gen birth3=0
replace birth3=1 if b3_03!=. I did this upto birth20 then generated variable for births by summing birth1 to birth20. However, deriving an ASFR indicator from here is not working out well.

I am aware of tfr2 which computes single-year age-group ASFRs through the tabexp command. My problem is that I want to generate a variable in the dataset which assigns by age (v012) an estimate of the ASFR that I will be able to use as an outcome variable in decomposition analysis.

I thank you in advance for your assistance.

Best regards,

Pedzisai Ndagurwa

[Updated on: Thu, 18 May 2017 13:44]

Report message to a moderator

Re: Variable for Age-Specific Fertility Rate [message #13102 is a reply to message #12447] Wed, 20 September 2017 13:57
 kbietsch Messages: 12Registered: November 2015 Location: Washington, DC USA Member
What I have done in the past for decomposition of fertility rates is to create my birth count for individual women(usually in the last 3 years, the same cut off as TFR), create my exposure (usually 3 years, less for teenagers). Then I do a decomposition of a Poisson regression, with births as my outcome, and offset with exposure. I include dummy variables for ages groups, then you will be able to see the differences in the composition of the age groups, as well as the differences in rates. I use the mvdcmp package.
Re: Variable for Age-Specific Fertility Rate [message #13103 is a reply to message #13102] Wed, 20 September 2017 14:15
 pndagu263 Messages: 11Registered: November 2016 Location: South Africa Member
Thank you for the response. I will take your advice on board
 Previous Topic: Unwanted pregnancy Next Topic: unwanted births_v367 Pakistan DHS 2013
Goto Forum:

Current Time: Fri Jun 22 03:23:32 Eastern Daylight Time 2018