Cox linear contrasts and hazard ratios at modifier levels
Wald tests of user-defined linear combinations of Cox coefficients, with the hazard ratio and confidence interval for single-row contrasts such as an effect at a chosen level of an interacting variable.
Cox 선형 대비와 수정변수 수준별 위험비 — Cox 계수의 사용자 정의 선형결합을 Wald 검정하고, 한 행짜리 대비에는 위험비와 신뢰구간을 함께 구합니다.
Runs Cox Proportional Hazards Model with: contrasts set to “None”.
기본 방법(Cox Proportional Hazards Model)에 다음 설정을 고정해 실행합니다: contrasts = None.
What is the hazard ratio of treatment for patients aged 70, given a treatment-by-age interaction?
치료와 나이의 상호작용이 있을 때 70세 환자에서 치료의 위험비는 얼마인가요?
You write linear combinations of the Cox coefficients; each gets a Wald test, and single-row contrasts also get a hazard ratio with confidence interval. Behind it is Cox Proportional Hazards Model with contrasts supplied by you; checks and report are the same as for Cox Proportional Hazards Model.
When to use Cox linear contrasts and hazard ratios at modifier levels
- The model has interactions and you need effects at chosen levels of the modifier.
- You want to compare specific levels of a factor.
When to use something else
- You only need each coefficient's own hazard ratio; the base output already has it.
- You have nothing to give for contrasts; Cox Proportional Hazards Model runs without it.
What you still provide
- Data: a table (CSV or Excel) with a time variable, an event indicator and predictor (feature) columns.
- contrasts
Assumptions and requirements
The same as for Cox Proportional Hazards Model:
- Proportional hazards (checked with Schoenfeld residuals)
- Non-informative censoring
- Independent observations
- Linear effect of continuous predictors on the log hazard
What the analysis reports
The output of Cox Proportional Hazards Model, with the preset shown in the settings:
- Hazard ratios with 95% confidence intervals
- Wald, likelihood ratio and score tests
- Concordance index
- Schoenfeld residual test of proportional hazards
- Adjusted survival curves
- Stratified Cox model (separate baseline hazards by stratum)
- Cluster-robust (sandwich) standard errors alongside model-based ones
- Choice of Efron or Breslow handling of tied event times
- Covariate-adjusted survival curves for each level of a group variable in the model by direct standardisation (g-formula), with adjusted median survival, risk at a chosen time and bootstrap percentile confidence intervals
How this is validated
검증 근거
This variant runs the same engine as Cox Proportional Hazards Model with the settings above fixed, so the evidence is that method’s: results cross-checked against r. No separate checks of this preset are claimed. Read the base method’s validation record.
이 설정 묶음은 Cox Proportional Hazards Model와 같은 엔진으로 돕니다. 검증 근거는 기본 방법의 것이며, 이 설정만 따로 검증했다고 주장하지 않습니다.
Other variants of Cox Proportional Hazards Model
- Stratified Cox Regression
- Cox regression with exact tie handling
- Cox regression with discrete (logistic) tie handling
- Stepwise Cox regression
- Forward selection Cox regression
- Backward elimination Cox regression
- Best-subset Cox regression by score statistic
- Cox model with bootstrap standard errors
- Cox model with jackknife standard errors
- Proportional-hazards test on rank time
- Proportional-hazards test on log time
- Proportional-hazards test on analysis time (Grambsch-Therneau approximation)
- Single-step simultaneous Cox contrasts
Run this variant
- Data you need
- a table (CSV or Excel) with a time variable, an event indicator and predictor (feature) columns
- Price
- Same as Cox Proportional Hazards Model: 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
- Results cross-checked against R, as recorded for Cox Proportional Hazards Model (see its checks)
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.