I have a dataset that has household ID and individual ID. But the problem is individual ID is unique upto a household, which means if hhid is 1, under that ID, if there are four family members, individual ID is 1 to for and if hhid is 2 with three individuals, individual ID goes from 1 to 3 within that hhid, and so on.
I want to create a individual ID that encompasses the whole dataset so that each observation has a unique individual ID, but I have no idea how to. Can someone help me out? Thanks
I want to create a individual ID that encompasses the whole dataset so that each observation has a unique individual ID, but I have no idea how to. Can someone help me out? Thanks