Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: survival curve for a stratified analysis using matched data
From
<[email protected]>
To
<[email protected]>
Subject
st: survival curve for a stratified analysis using matched data
Date
Mon, 25 Nov 2013 16:46:10 -0500
Hi,
I am working on a survival analysis using a 1:2 variably matched dataset. A reviewer is asking for a survival curve to accompany the proportional hazards model I've used and Stata is not allowing me to use the "stcurve, survival" command on a stratified model. I need to keep the model stratified on matched group to account for the matched pairs.
My code:
xi: stcox i.rx_tzd, str(group) vce(robust)
stcurve, survival at1(_Irx_tzd_1=1) at2(_Irx_tzd_1=0)
** error message from Stata: "stcurve not allowed after stcox, strata()"
Is there any way to create a survival curve from a stratified analysis in Stata?
I am using Stata/SE version 12.1.
Thanks for your help,
Katie Lynch
This message is intended for the use of the person(s) to whom it may be addressed. It may contain information that is privileged, confidential, or otherwise protected from disclosure under applicable law. If you are not the intended recipient, any dissemination, distribution, copying, or use of this information is prohibited. If you have received this message in error, please permanently delete it and immediately notify the sender. Thank you.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/