The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in SPSS » computation of sex composition
Re: computation of sex composition [message #8572 is a reply to message #8399] Tue, 17 November 2015 10:00 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3214
Registered: February 2013
Senior Member
Following is a response from Senior DHS Stata Specialist, Tom Pullum:


In the IR files, all cases are women, except that in the AIDS Indicator Surveys, the IR file includes both men and women, with codes aidsex=1 and aidsex=2, respectively. In the MR files, all the cases are men.

In the PR files, sex is given by hv104, which is 1 for males and 2 for females. In the KR and BR files, sex is given by b4, which is 1 for boys and 2 for girls.

To get the sex composition in a PR file, for example, enter "tab hv104" for the unweighted distribution. Enter "tab hv104 [iweight=hv005/1000000]" for the weighted distribution.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Decoding Calendar Data provided in DHS in SPSS
Next Topic: About Merging Data file
Goto Forum:
  


Current Time: Fri Dec 20 14:56:48 Coordinated Universal Time 2024