Hi,
I have individual-level data.
Everyone has a unique personal ID called "IDPERSON", and I've also created a variable called "motherid" which is the IDPERSON of an individual's mother (if they are in the dataset).
How can I create a variable e.g. Mother_Age, which would be the age of someone's mother? (there is an age variable in the dataset).
Thank you!
I have individual-level data.
Everyone has a unique personal ID called "IDPERSON", and I've also created a variable called "motherid" which is the IDPERSON of an individual's mother (if they are in the dataset).
How can I create a variable e.g. Mother_Age, which would be the age of someone's mother? (there is an age variable in the dataset).
Thank you!
Comment