Statalist The Stata Listserver


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

st: -stcox- and Overall Goodness of Fit


From   clinton.thompson@summitllc.us
To   statalist@hsphsun2.harvard.edu
Subject   st: -stcox- and Overall Goodness of Fit
Date   Fri, 17 Mar 2006 07:51:33 -0800 (PST)

Hello All --
This question involves the re-creation of a table intended to assess
goodness of fit following a cox proportional hazards estimation.  More
specifically, I want to re-create the table provided on page 228 of Hosmer
& Lemeshow's "Applied Survival Analysis" (1999) wherein the table returns
the observed number of events, estimated number of events, z-scores, &
p-values w/in each decile of risk.  Among a few problems, a major one I'm
having is the fact that my data is multi-record, that is, multiple records
constitute a single subject (read: an event history exists for each
subject) and I suspect that the proper creation of said table relies on
single-record data.  Any thoughts?  Is anyone aware of a user-written
command already in existence?  I've searched the Stata help files and read
Stata's -stcox diagnostics- material, but to little avail...
Many Thanks in advance...
--Clint

*
*   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–2020 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index