Hi, I currently have data that is structured at an individual level but is provided by the household. I was looking to convert this from a long to a wide format. So instead, it would report observations for each identifier (i.e., household) are presented in a single row. However, I also have many individual-level variables such as age, gender, health, qualification and so on.
I tried the following:
reshape wide gender age birthyear ... , i(pidp) j(hidp)
Where pidp is the individual identifier and hidp is the household identifier. Any help in doing this would be appreciated
I tried the following:
reshape wide gender age birthyear ... , i(pidp) j(hidp)
Where pidp is the individual identifier and hidp is the household identifier. Any help in doing this would be appreciated
Comment