mortality analysis [message #15976] |
Sat, 13 October 2018 16:08 |
memon_suma@yahoo.com
Messages: 15 Registered: April 2018
|
Member |
|
|
Hi,
I am trying to assess various determinants of infant mortality in the case of Pakistan.
I have exhaustively searched on the DHS user form about my query. I got great help from Trevor's comment on calculating the various mortality rates for Pakistan.
Now what I am more interested in is further analysis. I have to create a dummy for whether there is infant mortality or not. So here are some of my basic questions from DHS experts;
1. Please assure me that the file I'll be using is Birth Recode file?
2. How do I create a dummy for the stance of infant mortality, I mean I know how to create a dummy variable in STATA but what variables exactly I need to use here?
I am a lot lost and confused in starting my analysis. Any .do file in this regard will be considered a great source of help.
Awaiting response.
|
|
|
Re: mortality analysis [message #15978 is a reply to message #15976] |
Sun, 14 October 2018 11:43 |
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.
|
|
|
|