The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » India » Creating an unbalanced panel
Creating an unbalanced panel [message #18416] Tue, 26 November 2019 09:35 Go to previous message
Niranjana is currently offline  Niranjana
Messages: 13
Registered: October 2019
Member
Hi,

I am working with the Individual modules of NFHS I-IV. I want to create an unbalanced panel where the woman enters the panel at the time of her marriage and exits at the time of interview also containing birth history data among other variables. Basically, I want the following

indvID Year Ageatbirth Child_id Date of Birth Birth_order
1 1981 25 1 4/3/1981 1
1 1983 27 2 12/15/1983 2
1 1985 29 3 11/1/1985 3
2 1980 22 1 1/1/1980 1
2 1984 26 2 3/1/1984 2


Do I simply reshape the data to get the result? Thanks!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Appending multiple waves of the NFHS annd PSU codes
Next Topic: NFHS III and IV comparability of slum and non-slum data among 8 major cities, India
Goto Forum:
  


Current Time: Thu Mar 28 21:22:21 Coordinated Universal Time 2024