The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Other countries » Issues with Honduran DHS dataset 2011-12 (Adjusting for survey design in R)
Re: Issues with Honduran DHS dataset 2011-12 [message #18990 is a reply to message #18986] Tue, 31 March 2020 09:32 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3035
Registered: February 2013
Senior Member
Following is another response from DHS Research & Data Analysis Director, Tom Pullum:

Your weighted total is 13% less than the unweighted total. That's plausible. I looked at the file and it appears that the weighted total is indeed about that much less than the unweighted total, although I have different counts. This happens when fertility is different in the under-sampled areas than it is in the over-sampled areas. You then get a bigger discrepancy for the child file than for the woman file.

I believe you are trying to relate stunting to domestic violence. Right? There's an easier way to construct your data file. After opening the IR file, run these Stata lines:


keep v001 v002 v003 v005 d005 hw70_*
keep if d005<.

reshape long hw70_, i(v001 v002 v003) j(bidx)
rename *_ *
drop if hw70==.
gen stunted=0 if hw70<600
replace stunted=1 if hw70<-200

You will want many more variables in the "keep" line, including the stratification variable, but these lines will give you a child file for all the children whose mother was in the same household and was given the DV module.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DHS surveys for Malawi 2004/2010/2015-2016
Next Topic: DHS Haiti 2016-17
Goto Forum:
  


Current Time: Fri Apr 19 23:21:56 Coordinated Universal Time 2024