Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Joe Canner <jcanner1@jhmi.edu> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | RE: st: How do I identify whether an individual is related to another individual in my dataset? |
Date | Fri, 7 Mar 2014 13:25:17 +0000 |
In addition, more or less this exact question was asked and answered recently: http://www.stata.com/statalist/archive/2013-12/msg00240.html -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Nick Cox Sent: Friday, March 07, 2014 7:44 AM To: statalist@hsphsun2.harvard.edu Subject: Re: st: How do I identify whether an individual is related to another individual in my dataset? 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 njcoxstata@gmail.com On 7 March 2014 12:36, Dimitri Silva <dimitrisilva@hotmail.com> 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/ * * 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/