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

Re: st: RE: converting snapshot data into duration format


From   Fred Wolfe <[email protected]>
To   [email protected]
Subject   Re: st: RE: converting snapshot data into duration format
Date   Sun, 22 May 2005 20:31:33 -0500

This issue is addressed in a Stata FAQ:

http://www.stata.com/support/faqs/stat/zerohelp.html



At 08:04 PM 5/22/2005, you wrote:
The problem is that SNAPSPAN generates a missing value in the first observation of the variable
"date0". Then, when I use STSET, this first observatiosn with the missing value is not taken in
account for the survival analysis. By this way, I am losing all the first observations of all the
subjects in my data. Hope you can help me.

Thanks,
Patricia


--- Nick Cox <[email protected]> escribi�:
> 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/
>



______________________________________________
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/

Fred Wolfe
National Data Bank for Rheumatic Diseases
Wichita, Kansas
Tel (316) 263-2125     Fax (316) 263-0761
[email protected]



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