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: Creating a variable which collects info on other members
From
Vincenzo Carrieri <[email protected]>
To
[email protected]
Subject
st: Creating a variable which collects info on other members
Date
Sat, 7 May 2011 14:13:24 +0200
Dear Statalisters,
I need to create a variable which collects the information on another
household member.
In particular, I have a variable weight (var name) for each individual
and a dummy variable which is equal to one if the person is married
with the head of household (the head of household is identified by a
dummy variable relpar (var name) which is equals to one when the
person is head of houseold).
I need to create a variable that for each head of household collects
the weight of his wife (or husband).
How can I do this on stata?
Any help is appreciated,
Vincenzo
*
* 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/