Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sts test: displaying log-rank test of equality within a Kaplan Meier graph


From   Michael McCulloch <[email protected]>
To   Statalist Statalist <[email protected]>
Subject   sts test: displaying log-rank test of equality within a Kaplan Meier graph
Date   Thu, 11 Feb 2010 18:52:52 -0800

Dear Statalist members,
I'm creating a Kaplan-Meier graph, and also performing the log-rank test of equality, for example:

sysuse cancer.dta, clear
stset studytime
drop if drug==3
sts graph, by(drug) risktable
sts test drug

My question: is it possible to display the results of the log-rank test in a small window within the area of the Kaplan-Meier survival curve?


Best wishes,

Michael McCulloch
Pine Street Foundation
124 Pine Street
San Anselmo, CA 94960-2674
tel:	415-407-1357
fax: 	206-338-2391

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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