Bookmark and Share

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]

Re: st: Creating a variable which collects info on other members


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: Creating a variable which collects info on other members
Date   Sat, 7 May 2011 13:26:57 +0100

This is an FAQ. -search members, FAQ- in Stata.

Nick

On 7 May 2011, at 13:13, Vincenzo Carrieri <[email protected]> wrote:

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?

*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index