Hi,
I have the following data structure:
The variable "Father" indicating the id of the father of a particular child. How can I construct the variable "Age_Father" that records the age of father for each of the children that matched with their father.
Thanks so much.
I have the following data structure:
Household | ID | Age | Father | Age_Father |
1 | 1 | 46 | . | . |
1 | 2 | 52 | . | . |
1 | 3 | 20 | 2 | . |
2 | 1 | 36 | . | |
2 | 2 | 15 | 1 | . |
Thanks so much.
Comment