Unable to recreate numbers from DHS Final Survey [message #5598] |
Sun, 14 June 2015 11:38 |
duke2015
Messages: 27 Registered: March 2015 Location: United States
|
Member |
|
|
Hi there,
I am interested in recreating the table on disposal of child stools from Uganda 2011 DHS final report. The variable is v465 from the children's recode and is asked about the youngest child in the household. First, I used this code for the survey adjustments:
egen strata=group(v024 v025)
gen sampwt=v005/1000000
svyset v021 [pweight=sampwt], strata(strata) singleunit(centered)
When I run svy: tab v465, my proportion estimates are a bit different from what is stated in the DHS final report. Do you have any explanation for this discrepancy?
Many thanks!
|
|
|
|
Re: Unable to recreate numbers from DHS Final Survey [message #6695 is a reply to message #5623] |
Mon, 29 June 2015 10:32 |
duke2015
Messages: 27 Registered: March 2015 Location: United States
|
Member |
|
|
Thank you!
If I am looking to run a regression predicting child HAZ from this variable, will this coding in Stata 13 work for the svy adjustment?:
egen strata=group(v024 v025)
gen sampwt=v005/1000000
svyset v021 [pweight=sampwt], strata(strata) singleunit(centered)
Thanks in advance!
|
|
|
|
|
|
|
Re: Unable to recreate numbers from DHS Final Survey [message #8492 is a reply to message #8491] |
Tue, 03 November 2015 13:19 |
luke
Messages: 4 Registered: November 2015 Location: Baltimore MD
|
Member |
|
|
Sure. This works for most countries I am using then you will see a way to handle the exception for Uganda:
gen psu = hv021
gen strata = hv022
replace strata = hv024 if (hv000=="UG6" ) // Uganda 6 has no strata. Sampled clusters from UNHS 2010 clusters, which were stratified according to region.
gen sampwt = hv005/1000000
svyset psu [pw = sampwt], strata(strata)
BTW I incorrectly wrote UNHS as Uganda National Health Survey in my last message. The H is for Household.
|
|
|