Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: generating parent variable in child level data
From
Shikha Sinha <[email protected]>
To
[email protected]
Subject
st: generating parent variable in child level data
Date
Sun, 7 Nov 2010 20:58:38 -0500
Dear all,
I have a household level data set in which each household has father,
mother, and child level data as row, something as the following:
hhid relation age education
1 father 40 8
1 mother 38 3
1 son 18 4
1 son 15 2
1 daughter 12 2
I wish to generate parent level variable (age, education) for every
children in the same household. Please suggest.
Thanks,
Shikha
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/