STCSTAT: Stata module to generate evaluation of fit for Cox regression model
William Gould
Statistical Software Components from Boston College Department of Economics
Abstract:
Frank Harrell describes a c-statistic that can be computed by comparing the predictions generated from a Cox model with the observed survival time, 'Draw a pair of patients and determine which patient lived longer from his baseline evaluation. Survival times can be validly compared either when both patients have died, or when one has died and the other's follow-up time has exceeded the survival time of the first. If both patients are still alive, which will live longer is not known, and that pair of patients is not used in the analysis. Otherwise, it can be determined whether the patient with the higher prognostic score also had the longer survival time. The process is repeated until all possible pairs of patients have been examined. Of the pairs of patients for which the ordering of survival times could be inferred, the fraction of pairs such that the patient with the higher score had the longer survival time will be denoted by c. The index c estimates the probability that, of two randomly chosen patients, the patient with the higher prognostic score will outlive the patient with the lower prognostic score....' stcstat may be executed following stcox, and also may be used to examine subgroups, e.g. stcstat if drug==1.
Language: Stata
Requires: Stata 5.0
Keywords: Cox regression; survival probabilities (search for similar items in EconPapers)
Date: 1997-02-06
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/s/stcstat.ado program code (text/plain)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s388801
Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php
Access Statistics for this software item
More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().