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: Recoding with values of the next spell
From
Kai Huang <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: Recoding with values of the next spell
Date
Sun, 26 May 2013 19:37:25 +0000
Dear all,
I have a spell dataset with some missing values of variables as follows:
ID Start End Y
766 1987 1988 1
766 1988 1990 .
766 1990 1994 0
768 1988 1991 1
768 1991 1993 0
769 1987 1994 .
769 1994 1995 1
If the missing values can be recoded with values of those of the next chronological spell, are there any commands in STATA which can support doing such task? Thank you very much in advance.
Best regards,
Kai Huang
*
* 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/