The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Mortality » Mortality history before birth of index child
Mortality history before birth of index child [message #14140] Fri, 23 February 2018 01:00 Go to next message
kajori is currently offline  kajori
Messages: 6
Registered: May 2017
Location: Mumbai, India
Member
Hi,
I would like to calculate the mortality history before nth child of a mother.


A. B C D E
1 3 1 0 1
1 2 2 1 0
1 1 3 0 0
2 5 1 0 3
2 4 2 1 2
2 3 3 0 2
2 2 4 1 1
2 1 5 1 0

Suppose, this is the data set. where
A= Mother id
B=Bord
C=Bidx
D=Mortality status
E=Mortality burden


I wish to calculate E. Please suggest how could I do that in stata.
Thanks in advance.
Re: Mortality history before birth of index child [message #14769 is a reply to message #14140] Fri, 04 May 2018 09:59 Go to previous message
Trevor-DHS is currently offline  Trevor-DHS
Messages: 805
Registered: January 2013
Senior Member
You post no explanation of what E means. What do codes 0, 1, 2, 3 mean here. Is this the number of prior deaths? I suggest you post the code that you have produced so far, and request how to modify the code to produce your variable of interest.
Previous Topic: Early Childhood mortality in Myanmar
Next Topic: survival analysis
Goto Forum:
  


Current Time: Fri Dec 27 15:46:41 Coordinated Universal Time 2024