Zambia 2013-14 DHS [message #9493] |
Mon, 04 April 2016 10:42 |
arisb
Messages: 4 Registered: March 2015
|
Member |
|
|
I am having issues recreating table 13.13 Pregnant women counselled and tested for HIV
I have tried using both v828 and v841 for receiving results (since I am not sure whether it specific to receiving results during ANC visit or another point) but neither way are matching the totals. My code is:
gen birthlast2=v008-b3_01
recode birthlast2 (0/23=1) (24/max=0)
lab def birthlast 0 "no births" 1 "yes in last 2"
lab val birthlast2 birthlast
lab var birthlast2 "last birth in the past 2 years"
gen hivtcanc=9999 if birthlast==1
replace hivtcanc=0 if birthlast==1&v840==1&v841==0
replace hivtcanc=1 if birthlast==1&v840==1&v841==1&v855==0| v855==8
replace hivtcanc=2 if birthlast==1&v840==1&v841==1&v855==1
lab def hivtcanc 0 "tested during anc but did not receive results" 1 " tested, received results but no pt coun" 2 "tested, received results and counselling"
|
|
|