The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Kenya » Sample size Kenya DHS 2014
Re: Sample size Kenya DHS 2014 [message #12834 is a reply to message #12831] Thu, 20 July 2017 11:25 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3214
Registered: February 2013
Senior Member
Following is a response from Senior DHS Stata Specialist, Tom Pullum:

In this survey, about half of the households were randomly selected for more thorough data collection. The selection is indicated by hv027 in the PR file, "household selected for male interview". hv027 has the same value for everyone in the same household. The FGC questions were only asked in the households with hv027=1.

I merged the IR and PR files in order to copy hv027 onto the women's files, and then cross-tabulated g102 and hv027, showing the "missing" cases. These are actually "Not Applicable" cases. Below I will paste the Stata lines and the table.

use e:\DHS\DHS_data\IR_files\KEIR70FL.dta, clear
keep v001 v002 v003 g102
sort v001 v002 v003
save e:\DHS\scratch\KEtemp.dta, replace


use e:\DHS\DHS_data\PR_files\KEPR70FL.dta, clear
keep hv001 hv002 hvidx hv027 
rename hv001 v001
rename hv002 v002
rename hvidx v003
sort v001 v002 v003
merge v001 v002 v003 using e:\DHS\scratch\KEtemp.dta
tab _merge
keep if _merge==3



index.php?t=getfile&id=764&private=0
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Health Insurance Data.
Next Topic: Creating panel
Goto Forum:
  


Current Time: Tue Dec 24 00:14:04 Coordinated Universal Time 2024