Log-Rank Trend Test for Ordered Groups
The trend test asks whether survival changes monotonically across ordered groups such as dose levels or disease stages. It combines the weighted observed-minus-expected event counts of the log-rank family with scores assigned to the groups and divides by the standard deviation of that combination, giving a z statistic with one degree of freedom instead of the groups minus one of the overall test.
추세 검정은 용량 수준이나 병기처럼 순서가 있는 집단에서 생존이 한 방향으로 변하는지 묻습니다. 로그순위 계열의 가중 관측-기대 사건 수를 집단 점수로 결합하고 그 표준편차로 나누어, 전체 검정의 집단 수 빼기 1 대신 자유도 1인 z 통계량을 얻습니다.
Does survival get steadily worse from stage I through stage IV of a cancer, beyond showing that the four stages differ?
암 병기 1기에서 4기로 갈수록 생존이 꾸준히 나빠집니까? 네 병기가 서로 다르다는 것만이 아니라 그 추세를 확인하고 싶습니다.
The method returns the trend z statistic, its chi-square with one degree of freedom and two- and one-sided p-values, the overall K-sample statistic for comparison, and observed and expected events with the group scores.
When to use Log-Rank Trend Test for Ordered Groups
- Groups have a natural order such as doses, stages or age bands.
- A monotone trend in hazard is the hypothesis of interest.
- Weights other than the log-rank (for example Peto-Prentice) suit early or late differences.
When to use something else
- Groups have no order: use Log Rank Test
- The ordered factor should be modelled with other covariates: use Cox Proportional Hazards Model
Assumptions and requirements
- Independent censoring
- Meaningful scores for the ordered groups
- Same censoring mechanism across groups
What the analysis reports
- Trend z, chi-square (1 df) and p-values
- K-sample chi-square for comparison
- Observed and expected events by group
How to report it
A log-rank test for trend across [k] ordered groups gave z = [value], chi2(1) = [value], p = [value].
Related methods
- Log Rank Test
- Kaplan-Meier Survival Analysis
- Cochran-Armitage Trend Test
- Jonckheere-Terpstra Trend Test
- Modestly Weighted Log-Rank Test
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with lifelines and statsmodels at a stated tolerance of 1e-8.
독립 계산. lifelines·statsmodels 대조 참조 시험 1건 통과(허용오차 1e-8).
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 Log-Rank Trend Test for Ordered Groups on Quorant
- Data you need
- a table (CSV or Excel) with a time variable, an event indicator and a grouping variable
- Price
- 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 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.