Re: Afghanistan DHS [message #24540 is a reply to message #24530] |
Fri, 27 May 2022 12:51 ![Go to previous message Go to previous message](/theme/default/images/up.png) |
Janet-DHS
Messages: 810 Registered: April 2022
|
Senior Member |
|
|
Following is response from DHS Research & Data Analysis Director, Tom Pullum:
If you open the AF file for women (the IR file) and then enter the following lines, you will get .1207. This is a proportion. Multiply it by 100 and then round to the nearest tenth of a percent and you get 12.1, which is the desired number.
gen teenmom=0 if v013==1
replace teenmom=1 if (v201>=1 | v213==1) & v013==1
svyset [pw=v005], psu(v021) strata(v023) singleunit(centered)
gen awfact = awfactt/100
svy: ratio teenmom/awfact
|
|
|