Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: sts graph


From   Joseph Coveney <jcoveney@bigplanet.com>
To   Statalist <statalist@hsphsun2.harvard.edu>
Subject   Re: st: sts graph
Date   Wed, 23 Aug 2006 11:39:58 +0900

Raphael Fraser wrote:

Is there any way of saving the data used to generate the  Kaplan-Meier
survival curve when using -sts graph-?

I have two survival curves with the probability of not developing leg
ulcers. My time variable is time to ulcer (in months). How can I
reverse the survival curves so that we would have the probability of
developing leg ulcers?

--------------------------------------------------------------------------------

See the help file for -sts-, the parent command for -sts graph-.
 (Type -help sts-.)  In particular, take a look at the passages for -sts
generate-.  (Also, type -help sts generate- or click on the hyperlink from
within the viewer while displaying the help file for -sts-.)

Assuming that the probability of not developing leg ulcers by X months + the
probability of developing leg ulcers by X months sums to 1.0, it shouldn't
be too much trouble to plot the failure curve.

Joseph Coveney


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