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]

st: Labeling different kinds of missing observations


From   Rituparna Basu <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: Labeling different kinds of missing observations
Date   Thu, 19 Apr 2012 18:10:57 +0000

Hello Statalist scholars,


I am trying to generate a variable that will indicate missing BEFORE FIRST YEAR of OBSERVATION and missing AFTER FIRST YEAR of OBSERVATION.
Here is a sample of the data:

ID  Y1  Y2  Y3  Y4  Y5  Y6  Y7
1    .      .      x    x     x     x   x
2    .     x      .    x     x     x   x
3    .      .      x    x    .     x   x
4    .      x     .    x     x     .   x
5    x     x     .   x      x     x  .

Any advice is very much appreciated!  

Thank you so much for your time!

Regards,

RB

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