The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » India » Correct Survey codes for State Level Variables - NFHS5 (Correct weight variable to be used for analysing state level variables)
Correct Survey codes for State Level Variables - NFHS5 [message #31761] Thu, 05 February 2026 14:32
dnameispaone is currently offline  dnameispaone
Messages: 22
Registered: February 2019
Member
Hello Everone,


I am analysing NFHS-5 data, my variables of interest (mainly variable s323: "Times used emergency contraception in last 12 months") are from the State module in Stata 17.0. I was wondering what the correct survey codes are for this and other variables included in the State module.

Are the below codes correct?

gen weight = v005/1000000
gen psu = v021
gen strata = v023

* DESCRIBING THE SURVEY DESIGN

svyset psu [pw = weight], strata(strata) singleunit(centered)


There are two variables given in the State module:

variable sweight "Sample weight (6 decimals) (state level)"
variable sdweight "Domestic violence weight (6 decimals) (state level)"


Which of these two variables is to be used? and what would be the correct 'svyset' command to analyse the variables included in Stata module





Previous Topic: Individual-level anthropometric variables for men NFHS 5
Goto Forum:
  


Current Time: Thu May 14 00:26:56 Coordinated Universal Time 2026