The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Ethiopia » Calculating Timing of First PNC check up from EDHS 2011
Re: Calculating Timing of First PNC check up from EDHS 2011 [message #10227 is a reply to message #10204] Mon, 11 July 2016 11:14 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3110
Registered: February 2013
Senior Member
Following is a response from Senior DHS Stata Specialist, Tom Pullum:


Don't confuse m51 and m71. m51 refers to the mother's checkup and m71 to the child's checkup. m51 is the variable used in table 9.9.

The following lines will give a match with the indicator in table 9.9 (for the total sample). m51 is a three-column code, with 1 in the first column for hours, 2 in the first column for days, 3 in the first column for weeks. Columns 2-3 give the completed number of units. For example, m51=305 is five completed weeks, which is equivalent to 41 completed days. To understand this variable it helps to list its distribution and its label, which is also called me51.

set more off
label list m51
tab m51 if v008-b3<24 & bidx==1,m

gen time=.
replace time=1 if m51<104
replace time=2 if m51>=104 & m51<=123
replace time=3 if m51>=124 & m51<=202
replace time=4 if m51>=203 & m51<=206
replace time=5 if (m51>=207 & m51<=241) | (m51>=301 & m51<=305)
replace time=8 if m51==199 | m51==299 | m51==399 | m51==998 | m51==999
replace time=9 if time==.

label define time 1 "<4 hours" 2 "4-23 hours" 3 "1-2 days" 4 "3-6 days" 5 "7-41 days" 8 "dk" 9 "none"
label values time time
label variable time "Woman's time to postnatal care"

tab time
tab time if v008-b3<24 & bidx==1 [iweight=v005/1000000]

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Weights not allowed for Model analysis??
Next Topic: Replicate Weighted/Unweighted Number of Children
Goto Forum:
  


Current Time: Thu Jul 11 15:33:45 Coordinated Universal Time 2024