Definition
Let:
- : number of ordered groups with a natural ordering (e.g., disease stage I, II, III, IV)
- : log-rank test statistic for group , computed as in the k-sample log-rank test
- : variance-covariance of and
Test Hypotheses:
with at least one strict inequality. Equivalently:
Test Statistic:
Assign ordered scores (commonly ). Then:
Interpretation
The trend test detects whether hazard rates follow a monotonic pattern across ordered groups. A significant positive indicates that groups with higher scores (e.g., later disease stages) have higher hazard. Use this test when groups have a natural ordering.