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

st: RE: converting snapshot data into duration format


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: converting snapshot data into duration format
Date   Sun, 22 May 2005 21:34:35 +0100

What information are you losing by what Stata does? 

Nick 
[email protected] 

Patricia Vera Rojas
 
> 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?

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index