Statalist The Stata Listserver


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

Re: st: sts graph


From   "Svend Juul" <[email protected]>
To   <[email protected]>
Subject   Re: st: sts graph
Date   Wed, 23 Aug 2006 09:02:16 +0200

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?

- and Joseph Coveney responded:

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.

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

The -failure- option plots the failure curve directly:

   . sts graph , failure

Svend

__________________________________________

Svend Juul
Institut for Folkesundhed, Afdeling for Epidemiologi
(Institute of Public Health, Department of Epidemiology)
Vennelyst Boulevard 6
DK-8000  Aarhus C, Denmark
Phone: +45 8942 6090
Home:  +45 8693 7796
Email: [email protected]
__________________________________________

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