The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » Infant data(less then 1 yr) from Children data
Re: Infant data(less then 1 yr) from Children data [message #1670 is a reply to message #1471] Wed, 26 March 2014 09:32 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3199
Registered: February 2013
Senior Member
Following is another response from Shea Rutstein.

Use the SPSS .sav file, which is in KEBR52SV.zip. Then use SELECT IF (MIDX=1) to select only the last born children who have maternal data (M vars). To create the dichotomous variable for infant mortality use RECODE B7 (0 THRU 11=1) (ELSE=0) INTO INFMORT. Remember that children born less than a year prior to the survey have not been fully exposed to the risk of infant mortality (i.e. censored) and so will have a lower . To avoid this bias, create a variable to filter out children born less than 12 months prior to the survey date. Use COMPUTE INFEXP=0. And IF (V008-B3>11 AND V008<60) INFEXP=0. Then use FILTER BY INFEXP.

You can then tabulate by using CROSSTABS TABLES=INFMORT BY M2A or other variable of interest. You could also use MEANS TABLES=INFMORT BY M2A.

One hint: To get the infant mortality rate per 1000, just use COMPUTE INFMORT=1000*INFMORT before doing the MEANS procedure.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Multilevel modelling (ML)
Next Topic: Combined men/women/hiv dataset
Goto Forum:
  


Current Time: Mon Nov 25 08:57:35 Coordinated Universal Time 2024