Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Problems in generetaing a variable


From   "Matteo T." <matteot@gawab.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Problems in generetaing a variable
Date   Thu, 05 Feb 2009 09:08:39 GMT

Hi,

I'm trying to understand how to solve a particular data mangement problem.

I have a dataset containing groups (SESSION) of couples and singles. Each
record within a group is made of several variables; among them: SESSION, ID
(the unique identifier whithin each group); AGE and PARTNER. PARTNER is
either missing or is the ID of another person of the same group.

What I am trying to achieve is to create the self-explanatory variable 
AGE_PARTNER.
Any suggestion? Thanks in advance for your help.


-----------------------------------------------------------------------------------------------------------------------
Send big files for free. Simple steps. No registration.
Visit now http://www.nawelny.com
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index