Statalist


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

Re: st: Survival between groups


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Survival between groups
Date   Fri, 22 May 2009 09:23:30 +0000 (GMT)

--- On Fri, 22/5/09, Hugh Robinson wrote:
> I have two groups followed across different time
> periods.  I would like to test for a difference in 
> survival between groups. 
> It is my understanding that sts test will not work
> because the survival curves are for different
> periods (observed and expected events are exact and
> therefore p=1.0).  

As long as you used -stset- correctly the period 
should not matter and you should just be able to use
-st test-. All that matters is the time till a certain
event, that the initial time is different for different
groups (this is how I read "the curves are for 
different periods") is irrelevant, you just need to 
make sure that Stata knows which starting time to use
for which observation (this is what I mean with "use 
-stset- correctly").

Hope this helps,
Maarten

-- Maarten

-----------------------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      

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