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.
|
|
|