Statalist The Stata Listserver


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

st: Need help in Cox survival post-estimation commands


From   Ashwin Ananthakrishnan <[email protected]>
To   [email protected]
Subject   st: Need help in Cox survival post-estimation commands
Date   Sun, 22 Apr 2007 20:22:41 -0700 (PDT)

Hi,

I'm using Stata 9.0 and am running a Cox proportional
hazards model to identify independent predictors of
survival. I'm trying to calculate the goodness of fit
of my final model. 

Now, Stata 9.0 lists a command -estat concordance -
which should give me the c-statistic, but I'm not able
to employ the command succesfully. I was hoping
someone could tell me if my syntax is wrong or if I'm
doing it incorrectly?

What i've been doing is (after setting the survival
time):

.xi: stcox i.agegroup i.sex i.race
.estat concordance

That apparently doesn't seem the right way to go about
it as I'm not able to get any estimates. Am I doing
something wrong? Are there other commands to calculate
goodness of fit for Cox survival data?


Also, while using the -stphplot- command to check for
assumption of proportion hazards, how does one decide
which variable to check the proportional hazards
assumption for? Shoudl I check it for all variables
that are significant in the multivariate model?


Thanks,

Ashwin


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
*
*   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