Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: Accessing failure function from sts list


From   "Watson, Shashi" <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: Accessing failure function from sts list
Date   Thu, 7 Jun 2012 11:53:11 +0000

Dear Statalisters

I would like to access and store the failure function that is output from sts list.  It does not appear to be an r-class nor e-class command.  

For example, after I stset my survival data:

stset followup, failure(hvevent) 

I can see the data I want using 

sts list, failure at(2 2)

under Failure Function.  I want to access the Kaplan-Meier failure function at t=2.  

And a separate, related query:  is it possible to  output the failure function at only one time value?  The help for using "at" in sts list does not mention this, hence I used at (2 2) as above but I imagine there must be a better way.

This is my first query to statalist so apologies if I'm not asking in the clearest way.

Thanks, Shashi


*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index