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 #1756 is a reply to message #1755] Wed, 02 April 2014 12:32 Go to previous messageGo to previous message
malayaka is currently offline  malayaka
Messages: 18
Registered: March 2014
Member
Hi RHS,

Thank you for your reply!

The actual variable, meaning the weight variable? So it will look like this:

use v005 v012 v013 v101 v102 v106 v149 v155 v190 v212 v313 v384a v384b v384c v501 v502 v511 v613 v714 v717 v731 v739 v763a v463z using "/Users/malayaka/Desktop/MWIR61FL.DTA
generate wgt = v005/1000000

tab v005 [iweight=wgt]

I tried running this and I still got the same slightly off results. Yes, the DHS site indicated iweight instead of pweight.

Does it matter that I "extracted" the variables instead of using the entire dataset? I only have STATA IC, so I cannot accommodate all variables.

Thank you again for your ongoing help.
 
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: Sat May 11 10:21:50 Coordinated Universal Time 2024