Statalist


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

st: comparing -ltable- and -sts list-


From   Michael McCulloch <mm@pinest.org>
To   Statalist <statalist@hsphsun2.harvard.edu>
Subject   st: comparing -ltable- and -sts list-
Date   Sun, 2 Nov 2008 15:21:35 -0800

Dear Statalist members,
I had the impression that both -ltable- and -sts list- would list the survivor function per failure period. However, they give slightly different answers. In the example below, for drug3 -ltable- shows survival at 24 months as 77.14%, whereas -sts list- says it's 64.29%

sysuse cancer.dta, clear
sts list, by(drug)
ltable _t died, by(drug)

Could anyone help me to clarify this?

--

Best wishes,
Michael McCulloch



Pine Street Foundation
124 Pine St., San Anselmo, CA 94960-2674
Tel:	(415) 407-1357
Fax:	(415) 485-1065
mcculloch@pinestreetfoundation.org
www.pinestreetfoundation.org
*
*   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