Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

st: Labeling different kinds of missing observations

From   Rituparna Basu <>
To   "" <>
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!



*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index