Creating an unbalanced panel [message #18416] |
Tue, 26 November 2019 09:35 |
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!
|
|
|