Statalist


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

Re: st: stcurve and multiple strata


From   "moleps islon" <moleps2@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: stcurve and multiple strata
Date   Thu, 11 Sep 2008 13:37:33 +0200

The sts graph command generates kaplan meier curves, not curves
adjusted for the other covariates in the model from what I understand.
Otherwise it would have been an excellent command.
Right now my cox model looks like this:

xi:stcox a b d i.c, basesurv(e)

I need to make survival graphs adjusted for the other variables for
the individual i.c categories. I tried

stcurve, survival at1(_c2=1) at2(_c3=1) etc, etc but somehow I cant
find my first expansion term anywhere. Ideas?





On Thu, Sep 11, 2008 at 1:23 PM, Maarten buis <maartenbuis@yahoo.co.uk> wrote:
> --- moleps islon <moleps2@gmail.com> wrote:
>> I need to make a survival graph for different strata. Do i need to
>> specify the strata as a stcox option or is it sufficient to use
>> stcurve with the -at() option?? What is the difference?
>
> First of all, have you tried this? If you did, you would have seen the
> difference. The way to build an analysis or a graph is to start, make
> errors, correct them, make new errors, correct those, etc. etc. Don't
> be afraid to try out commands and see what happens.
>
> The -stcox- -stcurv- combination seems to me way too complicated if all
> you want to do is create a survival graph. Is this what you are looking
> for:
>
> sysuse cancer
> stset studytim, failure(died)
> sts graph, by(drug)
>
> Also, this book is going to be a good investment if you are going to do
> a lot of survival analysis:
> http://www.stata-press.com/books/saus.html
>
> Hope this helps,
> Maarten
>
> -----------------------------------------
> Maarten L. Buis
> Department of Social Research Methodology
> Vrije Universiteit Amsterdam
> Boelelaan 1081
> 1081 HV Amsterdam
> The Netherlands
>
> visiting address:
> Buitenveldertselaan 3 (Metropolitan), room N515
>
> +31 20 5986715
>
> http://home.fsw.vu.nl/m.buis/
> -----------------------------------------
>
>
>
> *
> *   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/
>
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index