The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » India » Query for a gender variable (NFHS-5)
Query for a gender variable [message #29207] Fri, 10 May 2024 12:31 Go to next message
Radhika is currently offline  Radhika
Messages: 2
Registered: May 2024
Member
I need to find the gender of the respondent under NFHS-5 dataset. From IR file i could easily locate respondent's current age and other socio demogrpahic characteristics but I am unable to find the gender of the respondent. There are variable v151 which tells the sex of household head or sex of household member. Please guide on how can i obtain the gender of the respondent.
Re: Query for a gender variable [message #29236 is a reply to message #29207] Mon, 13 May 2024 18:06 Go to previous messageGo to next message
AkhilK28 is currently offline  AkhilK28
Messages: 19
Registered: February 2022
Member
Use hv104 in PR file

. tab hv104

     sex of |
  household |
     member |      Freq.     Percent        Cum.
------------+-----------------------------------
       male |  1,410,154       49.58       49.58
     female |  1,433,580       50.41       99.99
transgender |        183        0.01      100.00
------------+-----------------------------------
      Total |  2,843,917      100.00

Re: Query for a gender variable [message #29360 is a reply to message #29207] Thu, 06 June 2024 05:18 Go to previous messageGo to next message
typicalodds is currently offline  typicalodds
Messages: 2
Registered: June 2024
Member
To find the gender of the respondent in the NFHS-5 (National Family Health Survey-5) dataset, specifically in the IR (Individual Recode) file, you can use the following variable:

Variable: v013

This variable, "v013", represents the sex (gender) of the respondent

Locate the "v013" variable in the IR file of the NFHS-5 dataset.
The values for this variable are:
1 = Male
2 = Female
So, to determine the gender of the respondent, you can check the value of the "v013" variable for each record (respondent) in the dataset. A value of 1 indicates the respondent is male, and a value of 2 indicates the respondent is female.
Re: Query for a gender variable [message #29361 is a reply to message #29360] Thu, 06 June 2024 08:11 Go to previous message
Radhika is currently offline  Radhika
Messages: 2
Registered: May 2024
Member
Thank you for your response . But on searching "v013" in the IR file , i get the following results :
use "C:\NFHS_5\NFHS_5_Data\IAIR7EFL.DTA"

. tab v013

age in |
5-year |
groups | Freq. Percent Cum.
------------+-----------------------------------
15-19 | 122,480 16.91 16.91
20-24 | 118,700 16.39 33.31
25-29 | 118,379 16.35 49.65
30-34 | 101,049 13.95 63.61
35-39 | 98,068 13.54 77.15
40-44 | 81,380 11.24 88.39
45-49 | 84,059 11.61 100.00
------------+-----------------------------------
Total | 724,115 100.00


Still looking to find the gender variable.
Thanks
Previous Topic: NFHS-1 Weight for Age Missing for 4 States in HW File
Next Topic: Blood Pressure and Glucose Variables - India
Goto Forum:
  


Current Time: Thu Sep 5 06:18:31 Coordinated Universal Time 2024