Dear Stata users,
I am using the German Socio-economic panel data. I am using the following variables: persnr (which is the id of the individual), fatherpersnr (which is the father id of the individual, in this panel data some of the people surveyed in the household are parents and children) and birthcountry.
I would like to generate a new variable: fatherbirthcountry. I have been thinking on a strategy to solve this but nothing came to my mind. Could anyone please give me some help?
Thank you!
I am using the German Socio-economic panel data. I am using the following variables: persnr (which is the id of the individual), fatherpersnr (which is the father id of the individual, in this panel data some of the people surveyed in the household are parents and children) and birthcountry.
I would like to generate a new variable: fatherbirthcountry. I have been thinking on a strategy to solve this but nothing came to my mind. Could anyone please give me some help?
Thank you!
Comment