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

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


From   Matthew Sydes <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: RE: At risk info. for -sts graph-possible to change labels for categories?
Date   Wed, 3 Dec 2003 15:15:06 -0000

Thank you Jean Marie for this helpful program.  Your efforts are
appreciated.  I can get your program to do pretty much what I need to right
now. 

I would dearly like Stata to integrate this facility into -sts graph- in the
future and to provide greater flexibility.  All decent medical journals
should expect numbers at risk to be displayed with time-to-event data.

Kind regards,

Matt Sydes



-----Original Message-----
From: Jannik Helweg-Larsen [mailto:[email protected]]
Sent: 02 December 2003 21:42
To: [email protected]
Subject: st: At risk info. for -sts graph-possible to change labels for
categories?


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
Denmark

----------------------------------------------------------------------
I've played with this a little bit a while ago, and my efforts can be
found at
. net from http://www.stata.com/users/jlinhart

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
[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/
*
*   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