The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » HELP!: Analysis on youth-specific age group only
Re: HELP!: Analysis on youth-specific age group only [message #1770 is a reply to message #1767] Wed, 02 April 2014 14:20 Go to previous messageGo to previous message
user-rhs is currently offline  user-rhs
Messages: 132
Registered: December 2013
Senior Member
malayaka wrote on Wed, 02 April 2014 13:51

However, I ran the generate wgt = v005/1000000 command at the very beginning, yet I still have the unweighted figures.


You need to specify the weights for each command, otherwise Stata will assume SRS and not weight it. You can do this either by typing [iweight=wgt] within each command, or using the -svyset- with -svy- prefix that I wrote about in my previous post.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Missing data
Next Topic: browsing data
Goto Forum:
  


Current Time: Sun Nov 24 19:29:22 Coordinated Universal Time 2024