Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: At risk info. for -sts graph-possible to change labels for categories?

From   "Jannik Helweg-Larsen" <>
To   <>
Subject   st: At risk info. for -sts graph-possible to change labels for categories?
Date   Tue, 2 Dec 2003 22:42:08 +0100

Stsatrisk is exactly what I've been looking for: It looks
great!-Congratulations and thanks to Jean Marie

I find this sort of combined kaplan-meier graph very useful and would
suggest that it became an official supported part of the sts graph options.

one question-If I may: Is it in any way possible to change the labels "At
risk 1" and "At risk 2" legend to the left of the at risk information to the
actual label-name of the categories being compared (e.g. instead of "At risk
1": "placebo" "At risk 2": "active drug" )?

Jannik Helweg-Larsen, MD
Dept of Cardiology
Rigshospitalet, Copenhagen

I've played with this a little bit a while ago, and my efforts can be
found at
. net from

I call the program -stsatrisk- and it is a wrapper for -sts graph-

The idea of a combined graph/table is simple on the face of it, but it
is not compatible with the way we currently do graphics schemes and
styles.  The code I provide will do a pretty good job most of the
time, but it is not infinitely flexible (nor is it meant to be).  If
anyone wants to take this code over and improve it, they are certainly
welcome.  I have no plans for future work on it.

Hope this helps!

--Jean Marie

*   For searches and help try:

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