Hi Statalist community,
I'm new so I'm not sure if this is posted in the right section (sorry if it's not).
I'm currently working with a panel dataset (HILDA), and need to identify the household head for each household within each period (wave). The household id (hhid) is randomised across each wave, and I define the household head as the individual (labelled xwaveid, kept same across all waves) with the highest income (say, lincome) within that household. Can anyone give me some hints on how to code for that?
I've looked everywhere. Thanks in advance.
Huan
I'm new so I'm not sure if this is posted in the right section (sorry if it's not).
I'm currently working with a panel dataset (HILDA), and need to identify the household head for each household within each period (wave). The household id (hhid) is randomised across each wave, and I define the household head as the individual (labelled xwaveid, kept same across all waves) with the highest income (say, lincome) within that household. Can anyone give me some hints on how to code for that?
I've looked everywhere. Thanks in advance.
Huan
Comment