Xu-O'Quigley Explained Randomness for the Cox Model
Explained randomness is an R-squared type measure for the Cox proportional hazards model. At each failure time it compares how strongly the fitted model points to the subject who actually failed with the uninformed choice of anyone at risk, using the information gain of Kent. Averaging this gain over failures, with Kaplan-Meier weights so that censoring does not distort it, gives rho squared between 0 and 1. The simpler events-based version 1 - exp(-LR / events) is reported next to it.
설명된 무작위성은 콕스 비례위험모형을 위한 결정계수 형태의 측도입니다. 사건이 일어난 시점마다, 적합한 모형이 실제로 사건을 겪은 사람을 얼마나 강하게 가리키는지를 위험집합의 누구나 고르는 무정보 선택과 켄트의 정보 이득으로 비교합니다. 이 이득을 중도절단의 영향을 받지 않도록 카플란-마이어 가중치로 평균하면 0과 1 사이의 로 제곱이 됩니다. 사건 수 기반의 간단한 측도 1 - exp(-LR / 사건 수)도 함께 냅니다.
How much of the randomness in who fails, and when, is explained by the covariates of a Cox model?
콕스 모형의 공변량이 누가 언제 사건을 겪는지의 무작위성을 얼마나 설명합니까?
The method returns the Xu-O'Quigley rho squared with a bootstrap interval, the events-based likelihood-ratio rho squared, the censoring-dependent 1 - exp(-LR / n) for comparison, the likelihood-ratio test and the Cox coefficients.
When to use Xu-O'Quigley Explained Randomness for the Cox Model
- You want to report how much a Cox model explains, in a form comparable to R-squared.
- Censoring is substantial and the usual likelihood-ratio R-squared would understate the fit.
- You compare the explanatory strength of different covariate sets on the same data.
When to use something else
- You need discrimination between subjects: use Survival Concordance (Uno's IPCW C)
- You need calibration or prediction error over time: use Survival Model Performance (Concordance and Brier Score)
- Hazards are clearly not proportional: use Yang-Prentice Short-Term and Long-Term Hazard Ratio Model
Assumptions and requirements
- The Cox proportional hazards model is correctly specified
- Censoring is independent of failure given the covariates
- Events coded 1 and censored observations 0
What the analysis reports
- Xu-O'Quigley rho squared and the information gain with a bootstrap interval
- Events-based rho squared 1 - exp(-LR / events)
- Likelihood-ratio test and Cox coefficients
How to report it
A Cox model with [value] covariates (N = [value], [value] events) had an explained randomness of rho2 = [value] (95% bootstrap CI [value] to [value]); the events-based measure was [value], LR chi2([value]) = [value], p = [value].
Related methods
- Cox Proportional Hazards Model
- Survival Model Performance (Concordance and Brier Score)
- Gonen-Heller Concordance Probability Estimate
- Survival Concordance (Uno's IPCW C)
How this method is validated
이 방법의 검증 근거
- Independent computation. 2 reference tests compare the results with lifelines and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-6.
독립 계산. lifelines·직접 계산(식·열거·모의실험) 대조 참조 시험 2건 통과(허용오차 1e-6).
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Xu-O'Quigley Explained Randomness for the Cox Model on Quorant
- Data you need
- a table (CSV or Excel) with a time variable, an event indicator and predictor (feature) columns
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.