The DHS Program User Forum - RDF feed
https://userforum.dhsprogram.com/index.php
computation of sex composition
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=8379&th=4607#msg_8379
My question regarding, how to create sex composition variable using Kid file data, I want categories like 1. No sons and no daughters, 2. number of son greater than daughters, 3. number of son less than daughters and 4. equal number of sons and daughters.
so, please give suggestion on this]]>devraj2015-10-19T13:45:03-00:00Re: computation of sex composition
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=8386&th=4607#msg_8386
You need to count the number of boys and the number of girls for a given respondent using the variable B4 which is the sex of the child (more on the recode variables can be found in the DHS Recode Manual which can be downloaded from the www.DHSprogram.com website), then compare these two sums. The syntax will depend on the software you are using.
]]>Bridgette-DHS2015-10-21T16:49:58-00:00Re: computation of sex composition
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=8399&th=4607#msg_8399
Sorry, but I can't find any syntax or information about sex composition in DHS recode manual. If it is possible give some example with syntax using stata.]]>devraj2015-10-23T05:04:55-00:00Re: computation of sex composition
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=8572&th=4607#msg_8572
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.
]]>Bridgette-DHS2015-11-17T15:00:15-00:00