The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Weighting data » Adjusting weights on binary variables
Adjusting weights on binary variables [message #24165] Mon, 07 March 2022 15:17 Go to next message
Gigi is currently offline  Gigi
Messages: 3
Registered: February 2022
Member
Hello, my dependent variable is binary: stunting=1 if child is stunted =0 otherwise using Peru DHS. How do I weigh binary variables.
Thank you.
Re: Adjusting weights on binary variables [message #24170 is a reply to message #24165] Tue, 08 March 2022 06:54 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3202
Registered: February 2013
Senior Member


Following is a response from DHS Research & Data Analysis Director, Tom Pullum:

If you are using Stata, most commands allow you to include weights. The weight variable is v005, with a prefix "h" in the PR file and "m" in the MR file. There are different versions of the weight option. You will find many examples on the forum and with Stata "help".

Previous Topic: Calculating level weight for multicounty data - determining level of alpha to use
Next Topic: M_h data for Myanmar, M_h & M data for Pakistan
Goto Forum:
  


Current Time: Mon Dec 2 10:05:58 Coordinated Universal Time 2024