Skip to content

Methods · Survival analysis · Non-proportional hazards regression

Yang-Prentice Short-Term and Long-Term Hazard Ratio Model

The Yang-Prentice model lets the hazard ratio between groups change smoothly over time. It has two parameters per covariate: a short-term hazard ratio that applies near the start of follow-up and a long-term hazard ratio that applies once most of the reference group has failed. The proportional hazards model is the special case where the two are equal and the proportional odds model the case where the long-term ratio is 1, so crossing or converging survival curves can be described and both simpler models tested. The baseline hazard is left unspecified and estimated by nonparametric maximum likelihood.

양-프렌티스 모형은 집단 간 위험비가 시간에 따라 매끄럽게 변하도록 허용합니다. 공변량마다 추적 초기에 적용되는 단기 위험비와 기준 집단 대부분이 사건을 겪은 뒤 적용되는 장기 위험비라는 두 모수를 둡니다. 두 값이 같으면 비례위험모형, 장기 위험비가 1이면 비례오즈모형이 되므로, 교차하거나 수렴하는 생존곡선을 설명하고 두 단순 모형을 검정할 수 있습니다. 기저위험은 정하지 않고 비모수 최대우도로 추정합니다.

Does a treatment or exposure change the hazard differently early and late in follow-up, and do the hazards cross?

처치나 노출이 추적 초기와 후기에 위험을 다르게 바꾸며, 위험곡선이 서로 교차합니까?

The method returns the short-term and long-term hazard ratios with confidence intervals, likelihood-ratio tests against proportional hazards, proportional odds and no effect, the hazard ratio function over time and, when the effect changes direction, the estimated crossing time.

When to use Yang-Prentice Short-Term and Long-Term Hazard Ratio Model

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

The Yang-Prentice model estimated a short-term hazard ratio of [value] (95% CI [value] to [value]) and a long-term hazard ratio of [value] (95% CI [value] to [value]); proportional hazards were rejected, LR chi2([value]) = [value], p = [value], and the hazards crossed at about [value].

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 3 reference tests compare the results with SciPy, lifelines and direct computations (formulas, enumeration or simulation).

    독립 계산. SciPy·lifelines·직접 계산(식·열거·모의실험) 대조 참조 시험 3건 통과.

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 Yang-Prentice Short-Term and Long-Term Hazard Ratio Model on Quorant

Data you need
a table (CSV or Excel) with a time variable, an event indicator and predictor (feature) columns
Price
600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 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.

Method ID Q61102 · Reviewed 2026-10-25