The DHS Program User Forum - RDF feed
https://userforum.dhsprogram.com/index.php
Calculation of Sex ratio at birth and chld sex ratio using DHS survey
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=18373&th=8477#msg_18373
How to calculate sex ratio at birth and child sex ratio using DHS survey in STATA?]]>Santosh882019-11-21T06:46:39-00:00Re: Calculation of Sex ratio at birth and chld sex ratio using DHS survey
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=18385&th=8477#msg_18385
We now have repositories of code written in Stata and SPSS available on Github. Please reference these code repositories as a resource for code for matching or calculating DHS indicators. The code repositories can be found at:<br />
<br />
<a href="https://github.com/DHSProgram/DHS-Indicators-Stata" style="font-size:8pt">https://github.com/DHSProgram/DHS-Indicators-Stata</a><br />
<a href="https://github.com/DHSProgram/DHS-Indicators-SPSS" style="font-size:8pt">https://github.com/DHSProgram/DHS-Indicators-SPSS</a><br /><br />
]]>Liz-DHS2019-11-21T15:00:44-00:00Re: Calculation of Sex ratio at birth and chld sex ratio using DHS survey
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=18386&th=8477#msg_18386
Thank you for the source, but they have not provided the STATA syntax for calculating sex ratio at birth and child sex ratio using DHS survey.It would be helpful for me if there would be STATA syntax for calculating the same.

Thanking You
]]>Santosh882019-11-21T15:50:32-00:00Re: Calculation of Sex ratio at birth and chld sex ratio using DHS survey
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=18387&th=8477#msg_18387
The Guide to DHS Statistics?]]>Liz-DHS2019-11-21T16:08:06-00:00Re: Calculation of Sex ratio at birth and chld sex ratio using DHS survey
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=18388&th=8477#msg_18388
I have already checked the The Guide to DHS statistics but I Could not found. ]]>Santosh882019-11-21T16:18:54-00:00Re: Calculation of Sex ratio at birth and chld sex ratio using DHS survey
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=18390&th=8477#msg_18390
Quote:

The easiest way to do this is with the KR file, which includes all births in the five years before the interview, regardless of whether the child survived. The sex of the child is given by b4 (1=boy, 2=girl). You can just do "tab b4 [iweight=v005/1000000]" to get the distribution. You can select on a specific calendar year, for example, if you want. You can get the sex ratio by recoding b4 into a 0/1 variable and using logit regression. The standard sex ratio in demography is the ratio of boys to girls times 100. The following lines will give the ratio of boys to girls: "gen male=1; replace male=0 if b4==2; logit male [pweight=v005], or". The odds ratio given as the constant in this logit regression is the sex ratio (after you multiply it by 100). In biology the sex ratio is usually proportion female, which you get from the tabulation.

]]>Liz-DHS2019-11-21T19:17:52-00:00Re: Calculation of Sex ratio at birth and chld sex ratio using DHS survey
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=18393&th=8477#msg_18393
Thank you so much for providing the code, I got the solution.

Thanking you]]>Santosh882019-11-22T07:02:46-00:00Re: Calculation of Sex ratio at birth and chld sex ratio using DHS survey
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=26064&th=8477#msg_26064
Can you also provide the ratio to calculate number of females per 1000 males?]]>Kanika2023-02-03T12:27:12-00:00