Linking parents to children [message #2591] |
Fri, 18 July 2014 11:51 |
nnalo
Messages: 5 Registered: July 2014
|
Member |
|
|
Hello,
I am working with DHS 2013, Nigeria data set. I am having trouble linking the parents education level with the children from the household member recode. How do I identify the parents that have children aged 5-15 years.
I have already generated a new variable for mother's age and father's age using the mother's line number and father's line number.
i.e
sort hhid hvidx
>
> Next, generate variables with the mother's and father's age.
>
> . by hhid: gen mage = hv105[hv112]
> . by hhid: gen fage = hv105[hv114]
Thank you.
|
|
|