The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Other countries » Zambia 2013-14 DHS
Zambia 2013-14 DHS [message #9493] Mon, 04 April 2016 10:42 Go to next message
arisb is currently offline  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"
Re: Zambia 2013-14 DHS [message #9919 is a reply to message #9493] Mon, 06 June 2016 11:54 Go to previous message
Liz-DHS
Messages: 1516
Registered: February 2013
Senior Member
Dear User,
Do you still need assistance with this post?
Thanks you!
Previous Topic: Missing Data in Indonesia DHS 2012
Next Topic: Palestine
Goto Forum:
  


Current Time: Thu Mar 28 08:57:43 Coordinated Universal Time 2024