Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: converting snapshot data into duration format


From   Patricia Vera Rojas <pverarojas@yahoo.es>
To   statalist@hsphsun2.harvard.edu
Subject   st: converting snapshot data into duration format
Date   Sun, 22 May 2005 07:52:29 +0200 (CEST)

Statalist,

I have:

id    date
X   20jan2000
X   22jan2000
X   24jan2000
X   25jan2000

When I SNAPSPAN it, I get:

id    date0      date1
X      .       20jan2000
X   20jan2000  22jan2000
X   22jan2000  24jan2000
X   24jan2000  25jan2000

But by this way, when I STSET it, I lose the first observation (because of the missing), how can I
do it?

Thanks,
Patricia



		
______________________________________________ 
Renovamos el Correo Yahoo! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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