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: How do I identify whether an individual is related to another individual in my dataset?
From
Nick Cox <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: How do I identify whether an individual is related to another individual in my dataset?
Date
Fri, 7 Mar 2014 12:44:26 +0000
Often discussed on this list. See
http://www.stata.com/support/faqs/data-management/creating-variables-recording-properties/
and references to that in the archive.
Nick
[email protected]
On 7 March 2014 12:36, Dimitri Silva <[email protected]> wrote:
> Dear Statalisters,
>
> I need to identify whether a child is the son/daughter of a woman living in a given household, and I have the following information:
>
> (i) hhkey - identifies a household in my dataset;
> (ii) line_no - identifies an individual within household;
> (iii) mother - equals 0 if a child's mother does not live in the household and equals line_no if the mother of this child lives in the household.
>
> Hence, I have enough information to tell whether a woman is the mother of child living the household. How can I put this information in the mother's line?
>
> Thank you very much for any help.
>
> Dimitri.
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/faqs/resources/statalist-faq/
> * http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/