The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » Replicating vaccination rate
Replicating vaccination rate [message #2678] Wed, 06 August 2014 22:13 Go to next message
owraza is currently offline  owraza
Messages: 37
Registered: December 2013
Location: Nebraska, US
Member
I want to reproduce vaccination rates that DHS provide in FRQ file. Please have a look in uploaded file as a sample, can you help me with stata commands.
Regards
Re: Replicating vaccination rate [message #2686 is a reply to message #2678] Thu, 07 August 2014 11:42 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3199
Registered: February 2013
Senior Member
The FRQs are a one-way table of unweighted frequencies (the FRWs are weighted frequencies). The unweighted frequencies can be produced using this simple Stata command: tab1 v107 v113, miss.

Please note that everything in the DHS reports have been weighted by v005. To get the weighted frequency distributions, please use:
tab1 v107 v113 [aweight=v005/1000000], miss

Thanks
Previous Topic: Setting up pooled DHS data as panel
Next Topic: Extracting Zimbabwe households with at least 1 birth in last 2 years
Goto Forum:
  


Current Time: Sun Nov 24 23:15:45 Coordinated Universal Time 2024