The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Reproductive Health » Afghanistan DHS (about sample )
Re: Afghanistan DHS [message #24531 is a reply to message #24530] Fri, 27 May 2022 03:17 Go to previous messageGo to previous message
schoumaker is currently offline  schoumaker
Messages: 65
Registered: May 2013
Location: Belgium
Senior Member
Hello,
This is due to the fact that you are weighting both the numerator and the denominator with awfactt.
You can try the syntax below.
Best,
Bruno


****

use AFIR71FL.DTA, clear
keep if v012>=15 & v012<=19
gene teenmom=0
replace teenmom=1 if v213==1|bidx_01==1
replace awfactt=awfactt/100
gene teenmom_prop=teenm/awfactt // divides each observation by the all-women factor
tabstat teenmom_prop [aw=v005*awfactt]


tabstat teenmom_prop [aw=v005*awfactt], by(v012) // by age


*** you will need to adapt the all women factor for comparisons by urban-rural, education etc.






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
Previous Topic: Information on whether a birth was preterm ?
Next Topic: Indonesian DHS - Unintended pregnancy
Goto Forum:
  


Current Time: Sun Sep 1 17:21:17 Coordinated Universal Time 2024