Hi, I am struggling with dealing the split household's observation. I have 3 rounds of household panel data. Households split after round 1 survey. For ex: in round 1, HH id is 3 . Then this HH gets split in round 2 as 3.1, 3.2. Then in round 3 these split again as 3.11, 3.12 and 3.21, 3.22.
I would like to keep only HH id with *.1 and *.11 (the main HH from baseline).
I was trying to execute the command : keep if HHid == *.1 | HHid == *.11
but this command is not working and i am struggling. It would be really helpful if anyone could give me an insight of it. Thank you!
I would like to keep only HH id with *.1 and *.11 (the main HH from baseline).
I was trying to execute the command : keep if HHid == *.1 | HHid == *.11
but this command is not working and i am struggling. It would be really helpful if anyone could give me an insight of it. Thank you!
Comment