The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Mortality » mortality analysis (determinants of mortality)
Re: mortality analysis [message #15978 is a reply to message #15976] Sun, 14 October 2018 11:43 Go to previous messageGo to previous message
memon_suma@yahoo.com
Messages: 15
Registered: April 2018
Member
What I tried to do was define an infant mortality variable according to the following stata codes;

gen infantm=1 if b5==0 and b7<12
replace infantm=0 if infantm==.

I am not sure if I am going right about it.
Secondly, if I have to do the analysis for 5 years preceding the survey, how do I truncate the data?
I used the following code;

keep if b2>2008

I am also not sure if this is the right way to go about it.

Any help in making me start my analysis quickly will be highly appreciated.
 
Read Message
Read Message
Read Message
Previous Topic: SAS MACRO COMMAND FOR DHS_U5M
Next Topic: Infant Mortality
Goto Forum:
  


Current Time: Thu May 16 17:57:33 Coordinated Universal Time 2024