Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

st: Accessing failure function from sts list

From   "Watson, Shashi" <>
To   "''" <>
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:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index