The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Child Health » Sex and survival of preceding child
Sex and survival of preceding child [message #14721] Wed, 02 May 2018 06:09 Go to next message
rahul is currently offline  rahul
Messages: 5
Registered: May 2018
Location: Mumbai
Member
How to generate 'sex of preceding child' and 'survival of preceding child' variables in STATA using the kid file for any country?
Re: Sex and survival of preceding child [message #14723 is a reply to message #14721] Wed, 02 May 2018 09:44 Go to previous messageGo to next message
Liz-DHS
Messages: 1516
Registered: February 2013
Senior Member
Dear User,
Please state which data set(s)and survey year(s) are part of your analysis. Share your code and look at the following resources: The Guide to DHS Statistics https:// dhsprogram.com/publications/publication-dhsg1-dhs-questionna ires-and-manuals.cfm, The Standard Recode Manual https:// dhsprogram.com/publications/publication-DHSG4-DHS-Questionna ires-and-Manuals.cfm, Using Datasets for Analysis https://dhsprogram.com/data/Using-Datasets-for-Analysis.cfm and a series of videos to help guide you with your analysis https://blog.dhsprogram.com/dhsdataintro/. The IUPMS website is also a great resource: https://www.idhsdata.org/idhs/ For specific assistance with Stata, please visit: http://www.cpc.unc.edu/research/tools/data_analysis/statatutorial You may also want to search the forum for keywords which might help guide your analysis. After reviewing these resources, if you still have a question, please feel free to post again. Thank you!

[Updated on: Wed, 02 May 2018 09:49]

Report message to a moderator

Re: Sex and survival of preceding child [message #14724 is a reply to message #14723] Wed, 02 May 2018 09:54 Go to previous messageGo to next message
rahul is currently offline  rahul
Messages: 5
Registered: May 2018
Location: Mumbai
Member
I am using India DHS 2015-16, IAKR71FL (kid) file.
Re: Sex and survival of preceding child [message #14871 is a reply to message #14724] Thu, 10 May 2018 10:40 Go to previous messageGo to next message
Liz-DHS
Messages: 1516
Registered: February 2013
Senior Member
Dear User,
Can you please share your code?
Thank you!
Re: Sex and survival of preceding child [message #15397 is a reply to message #14871] Thu, 12 July 2018 02:08 Go to previous messageGo to next message
rahul is currently offline  rahul
Messages: 5
Registered: May 2018
Location: Mumbai
Member
I am using KID file from NFHS-4 (India) data. B4 and b5 are sex and survival of child variables respectively. I am not able to construct sex and survival of preceding child using mother's caseid and midx variables. I want to construct a sex of preceding variable in such a way that how many boys had the previous girl siblings and vice versa. Similarly how many dead children had previous alive siblings and vice vesra.
Re: Sex and survival of preceding child [message #15465 is a reply to message #15397] Wed, 25 July 2018 05:47 Go to previous message
HanR is currently offline  HanR
Messages: 19
Registered: March 2013
Location: Netherlands
Member
Dear User,

It seems you are using the "Children's recode", which is based upon the maternity section (MIDX) of the standard recode. This is children born in the 5 years preceding the survey (in general). Please try using the birth recode instead where you would use the caseid variable and the birth column number (BIDX) to try and retrieve a previous birth.

Success.
Previous Topic: Antibiotic use for ARI Nepal 2011 (using stata)
Next Topic: weighting child data
Goto Forum:
  


Current Time: Fri Nov 8 23:38:10 Coordinated Universal Time 2024