The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Fertility » Calculation of Sex ratio at birth and chld sex ratio using DHS survey (How to calculate sex ratio at birth and child sex ratio using DHS survey in STATA)
Re: Calculation of Sex ratio at birth and chld sex ratio using DHS survey [message #18390 is a reply to message #18388] Thu, 21 November 2019 14:17
 Liz-DHS Messages: 1516Registered: February 2013 Senior Member
A response from Dr. Tom Pullum:
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.

 Calculation of Sex ratio at birth and chld sex ratio using DHS survey By: Santosh88 on Thu, 21 November 2019 01:46 Re: Calculation of Sex ratio at birth and chld sex ratio using DHS survey By: Liz-DHS on Thu, 21 November 2019 10:00 Re: Calculation of Sex ratio at birth and chld sex ratio using DHS survey By: Santosh88 on Thu, 21 November 2019 10:50 Re: Calculation of Sex ratio at birth and chld sex ratio using DHS survey By: Liz-DHS on Thu, 21 November 2019 11:08 Re: Calculation of Sex ratio at birth and chld sex ratio using DHS survey By: Santosh88 on Thu, 21 November 2019 11:18 Re: Calculation of Sex ratio at birth and chld sex ratio using DHS survey By: Liz-DHS on Thu, 21 November 2019 14:17 Re: Calculation of Sex ratio at birth and chld sex ratio using DHS survey By: Santosh88 on Fri, 22 November 2019 02:02 Re: Calculation of Sex ratio at birth and chld sex ratio using DHS survey By: Kanika on Fri, 03 February 2023 07:27
 Previous Topic: Son preference Next Topic: Error in computing TFR from DHS.rates package
Goto Forum:

Current Time: Wed Apr 24 18:25:46 Coordinated Universal Time 2024