Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

Re: st: Residuals of a Cox regression?

From   "Michael N. Mitchell" <>
Subject   Re: st: Residuals of a Cox regression?
Date   Thu, 09 Dec 2010 06:20:41 -0800

Dear Chris

  I would suggest having a look at

and perhaps recommend the book as well (if you do not have a good book on survival analysis). While it is true that survival analysis is a form of regression analysis and one can use one's logic to generalize some ideas to it... at the same time, survival analysis is very very different from traditional regression and I think it would be hard and perilous to try and apply it without good guidance from a good book.

I hope that helps,

Michael N. Mitchell
Data Management Using Stata      -
A Visual Guide to Stata Graphics -
Stata tidbit of the week         -

On 2010-12-09 6.00 AM, Stata Chris wrote:
Dear all,

I would like to plot the "residuals" of a Cox regression, but when I
type -predict resid, residuals- after -stcox- Stata tells me that the
option is not allowed here.
Indeed it is also not clear how I could compute the residuals manually
by subtracting the predicted outcome (which is a hazard ratio) from
the actual outcome, since I'm not sure how to boil the outcome down to
a single number (except maybe the realized duration?).

Yet since Cox regression like any estimation has an error term, it
should be possible to say what this error term is for each

Thanks a lot for your thoughts on this,
*   For searches and help try:
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index