The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Other countries » Any Anaemia Ghana DHS 2022 (I got a different value)
Re: Any Anaemia Ghana DHS 2022 [message #30661 is a reply to message #30656] Wed, 15 January 2025 11:27 Go to previous messageGo to previous message
Janet-DHS is currently offline  Janet-DHS
Messages: 932
Registered: April 2022
Senior Member
Following is a response from DHS staff member, Tom Pullum:

I believe the problem is that your results are not actually weighted. If you use svyset, then you should have "svy: tab....".

Another easy way to get weighted tables is "tab A B [iweight=v005/1000000]".

A minor point: with pweights, as in the svyset command, you do not need to divide v005 by 1000000. Whenever you use pweight, the weights are automatically normalized to have a mean of 1. You can confirm this by comparing the results from two runs, one in which you divide by 1000000 and one in which you do not. For iweight, you DO need to divide by 1000000.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PDHS 2017-18 Table 4.3: Age at first Marriage Table
Next Topic: Wealth Quintiles for Malawi DHS 2000
Goto Forum:
  


Current Time: Fri Jan 24 01:59:51 Coordinated Universal Time 2025