The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Child Health » Using svy: tab
Re: Using svy: tab [message #8420 is a reply to message #8401] Mon, 26 October 2015 14:42 Go to previous messageGo to previous message
Trevor-DHS is currently offline  Trevor-DHS
Messages: 787
Registered: January 2013
Senior Member
1) Neither variable v022 nor v023 have been set in the Uganda DHS 2011 dataset. In appendix A of the report it can be seen that the strata were urban and rural areas in each region, so you can set v022 and v023 as follows:

egen strata = group(v024 v025)
replace v022 = strata
replace v023 = strata

Then run the svyset and svy:tab commands to produce the results.

2) You should use the dataset that matches the unit of analysis that you wish to use. If you are looking at child health, I expect that you will want to analyze children under the age of 5, in which case you should work with the children's recode (KR) file.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Age in months: Missing values
Next Topic: Running a regression with the KR file
Goto Forum:
  


Current Time: Thu Mar 28 17:54:04 Coordinated Universal Time 2024