The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Kenya » KDHS 2014 - Table 2.10 Birth registration of children under age five
KDHS 2014 - Table 2.10 Birth registration of children under age five [message #28193] Tue, 28 November 2023 05:19 Go to next message
sokiya is currently offline  sokiya
Messages: 76
Registered: May 2017
Location: Nairobi
Senior Member
I am using the codes below to replicate the results in table 2.10 Birth registration of children under age five
use "KEPR71FL.dta", clear
ta hv140 [aw=hv005/1000000] if hv102 == 1

but the results are different, Any help will be appreciated.
Re: KDHS 2014 - Table 2.10 Birth registration of children under age five [message #28196 is a reply to message #28193] Tue, 28 November 2023 11:46 Go to previous messageGo to next message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3043
Registered: February 2013
Senior Member
Following is a response from Senior DHS staff member, Tom Pullum:

The Stata line to match the indicator in table 2.10 is this: "tab hv140 [iweight=hv005/1000000] if hv102 == 1 & hv105<5,m" . There are two differences from what you were using. First, you should use iweight rather than aweight. I NEVER use aweights in Stata, except for some means with EMW surveys and aw factors. Second, you need to add ", m". I would not have expected any NA cases, but there ARE some (probably an incorrect use of the NA code). You then get the following distribution, which is the basis of the columns in table 2.10.

/index.php?t=getfile&id=2222&private=0
  • Attachment: T2_10.png
    (Size: 9.42KB, Downloaded 77 times)
Re: KDHS 2014 - Table 2.10 Birth registration of children under age five [message #28303 is a reply to message #28196] Mon, 11 December 2023 09:59 Go to previous message
sokiya is currently offline  sokiya
Messages: 76
Registered: May 2017
Location: Nairobi
Senior Member
Thanks so much for the guidance and sorry for the late reply
Previous Topic: KDHS 2022: Table 11.13.3 Nutritional status of men age 2049
Next Topic: Average number of school years
Goto Forum:
  


Current Time: Sat Apr 27 03:49:51 Coordinated Universal Time 2024