Statalist The Stata Listserver

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

Re: st: sts graph

From   "Svend Juul" <SJ@SOCI.AU.DK>
To   <>
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
within the viewer while displaying the help file for -sts-.)

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


The -failure- option plots the failure curve directly:

   . sts graph , failure



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

*   For searches and help try:

© Copyright 1996–2021 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index