# 里程碑分析

里程碑分析是一种生存分析方法，它仅使用在固定里程碑时间点仍存活且仍在观察中的受试者，来估计该时间点之后某事件发生的概率，或估计在该时间点测得的治疗效果。通过以存活至里程碑时间点为条件，它消除了不死时间偏倚；当受试者依据基线后事件（例如只有存活者才可能出现的治疗反应）进行分类时，就会产生这种偏倚。

该方法回答一个条件性问题：已知某受试者存活至时间 \( s \)，且截至 \( s \) 的协变量历史为 \( Y_i(s) \)，那么存活至更晚的时域 \( s + w \) 的概率是多少？形式上，估计目标为 \( \pi_i(s+w \mid s) = P(T_i > s+w \mid T_i \ge s, Y_i(s)) \)，其中 \( T_i \) 是事件时间，\( Y_i(s) \) 可包含时变协变量。<sup>[1](https://cran.r-project.org/web/packages/landmaRk/vignettes/landmaRk.html)</sup>

| 关键事实 | 细节 |
|---|---|
| 估计目标 | \( P(T_i > s+w \mid T_i \ge s, Y_i(s)) \)：在 \( s \) 时处于风险中的条件下存活至时域 \( s+w \) 的概率<sup>[1](https://cran.r-project.org/web/packages/landmaRk/vignettes/landmaRk.html)</sup> |
| 解决的偏倚 | 不死时间偏倚：应答者必须存活至出现应答，因此朴素比较会高估其生存率<sup>[2](https://casrai.org/guides/landmark-analysis)</sup> |
| 起源 | 安德森、凯恩和格尔伯（Anderson, Cain, and Gelber），1983年，《临床肿瘤学杂志》（Journal of Clinical Oncology）<sup>[3](https://doi.org/10.1200/jco.1983.1.11.710)</sup> |
| 动态预测形式 | 范豪厄林根（van Houwelingen），2006年，《斯堪的纳维亚统计学杂志》（Scandinavian Journal of Statistics）<sup>[4](https://doi.org/10.1111/j.1467-9469.2006.00529.x)</sup> |
| 形式化 | 达夫尼（Dafni），2011年，《循环：心血管质量与结局》（Circulation: Cardiovascular Quality and Outcomes）<sup>[5](https://doi.org/10.1161/circoutcomes.110.957951)</sup> |
| 主要代价 | 丢弃里程碑前事件，降低样本量和检验效能<sup>[2](https://casrai.org/guides/landmark-analysis)</sup> |

## 工作原理

该方法所纠正的偏倚，在最初促使该方法提出的应答者与无应答者比较中最容易看出。患者只有存活足够长时间并出现应答后，才能被归为应答者，因此应答者组中的每个人在暴露状态被定义之前，都保证至少有最短的一段随访时间。因此，将应答者与无应答者进行比较，就会给应答者组一种不公平的生存优势，即不死时间偏倚。<sup>[2](https://casrai.org/guides/landmark-analysis)</sup>

条件化在构造上消除了这一优势。在里程碑时间 \( s \)，分析仅限于在 \( s \) 时仍存活且仍在随访中的受试者，并根据在 \( s \) 时观察到的协变量或治疗状态定义暴露。由于两组都已经存活至 \( s \)，这段被保证的生存时间被平等共享，并在比较中相互抵消。模拟证据证实了这种校正：在比较效果研究中关于不死人时偏倚的蒙特卡洛研究中，当治疗效果较小时，里程碑方法在所有情景下表现良好；当不存在治疗效果时，它提供了无偏估计。<sup>[6](https://doi.org/10.1002/sim.7019)</sup>

## 实施步骤

实际操作步骤如下。

1. **选择里程碑时间。** 根据临床或实质性理由预先指定 \( s \)，例如典型的治疗启动窗口或方案定义的访视，并计划在一小组备选里程碑时间上做敏感性分析。<sup>[2](https://casrai.org/guides/landmark-analysis)</sup>
2. **定义风险集。** 对每个里程碑 \( s \)，构建一个仅包含在 \( s \) 时仍处于风险中的个体的数据集，即在 \( s \) 时既未删失（受试者的观察在事件之前结束，结局未知）也未经历事件的个体。<sup>[7](https://github.com/thehanlab/dynamicLM/blob/main/tutorials/theory-landmark-supermodel.md)</sup> 在 \( s \) 之前发生事件或删失的受试者被排除。<sup>[8](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0306328)</sup>
3. **固定协变量历史。** 汇总截至 \( s \) 的时依信息，例如采用末次观测值结转，并将该汇总值作为时间固定协变量 \( Z(s) \) 纳入。<sup>[9](https://scholarlypublications.universiteitleiden.nl/access/item%3A3620040/view)</sup> 滑动里程碑数据集在 \( s + w \) 处施加行政删失，其中 \( w \) 是预测窗口。<sup>[7](https://github.com/thehanlab/dynamicLM/blob/main/tutorials/theory-landmark-supermodel.md)</sup>
4. **拟合模型。** 在截断区间 \( (s, s+w) \) 上拟合Cox比例风险模型。对于Cox子模型，仅假定在里程碑时间与时域之间的短时期内比例风险成立，而不是在整个随访期内成立。<sup>[10](https://cran.r-project.org/web/packages/Landmarking/vignettes/Landmarking.html)</sup>

软件支持相当充分。landmaRk包实现了一个两步流程：先拟合纵向协变量模型，再基于预测的协变量值拟合Cox生存模型；所用函数包括 compute_risk_sets、fit_longitudinal、fit_survival 和 predict_survival。<sup>[1](https://cran.r-project.org/web/packages/landmaRk/vignettes/landmaRk.html)</sup>

## 起源

里程碑分析由J·R·安德森（J R Anderson）、K·C·凯恩（K C Cain）和R·D·格尔伯（R D Gelber）于1983年提出，发表于《临床肿瘤学杂志》（Journal of Clinical Oncology）的一篇题为《按肿瘤反应分析生存》的论文中，该文讨论了按化疗反应分析生存的问题。<sup>[3](https://doi.org/10.1200/jco.1983.1.11.710)</sup> 更早的相关工作包括曼特尔和拜尔（Mantel and Byar）1974年用于评估涉及瞬态的反应时间数据的方法，并以心脏移植数据为例。<sup>[11](https://doi.org/10.1080/01621459.1974.10480131)</sup> 西蒙和马库赫（Simon and Makuch）1984年的非参数图形表示处理了同样的应答者与无应答者比较。<sup>[12](https://doi.org/10.1002/sim.4780030106)</sup>

向动态预测的扩展来自汉斯·C·范豪厄林根（Hans C. van Houwelingen）；他2006年发表于《斯堪的纳维亚统计学杂志》（Scandinavian Journal of Statistics）的论文《事件史分析中通过里程碑法进行动态预测》主张直接为里程碑点仍处于风险中的个体拟合模型，从而使预测模型在随访过程中动态调整。<sup>[4](https://doi.org/10.1111/j.1467-9469.2006.00529.x)</sup> 乌拉尼娅·达夫尼（Urania Dafni）2011年发表于《循环：心血管质量与结局》（Circulation: Cardiovascular Quality and Outcomes）的教程《25年里程碑点上的里程碑分析》将该方法形式化为一种通用方法学工具，标志着距原始论文发表已二十五年。<sup>[5](https://doi.org/10.1161/circoutcomes.110.957951)</sup>

## 变体

**固定里程碑分析**在单个预先指定的里程碑时间拟合一个单独模型。它简单，但丢弃了 \( s \) 之前的所有事件，并且只回答关于存活至 \( s \) 者的条件性问题。<sup>[2](https://casrai.org/guides/landmark-analysis)</sup>

**超级里程碑法**解决由此产生的检验效能损失。范豪厄林根提出在多个里程碑时间上拟合一个合并模型，通过诸如各里程碑时间共享对数风险比参数等假设来提高效率。<sup>[13](https://researchonline.lshtm.ac.uk/id/eprint/4657641/1/Tanner_etal_2020_Dynamic-survival-prediction-combining-landmarking.pdf)</sup> 里程碑超级模型将滑动里程碑数据集堆叠为一个数据集，并拟合Cox回归，其中基线风险按里程碑时间 \( s \) 分层，系数 \( \beta(s) \) 平滑依赖于 \( s \)。<sup>[13](https://researchonline.lshtm.ac.uk/id/eprint/4657641/1/Tanner_etal_2020_Dynamic-survival-prediction-combining-landmarking.pdf)</sup> 由于每个受试者可以出现在多个里程碑中，推断需要稳健三明治估计量标准误。<sup>[13](https://researchonline.lshtm.ac.uk/id/eprint/4657641/1/Tanner_etal_2020_Dynamic-survival-prediction-combining-landmarking.pdf)</sup> 在病因特异性记号下，超级模型的风险为 \( h_j(t \mid Z(s), s) = h_{j0}(t \mid s) \exp(\beta_j(s) Z(s)) \)，其中分层特异性截距被吸收进以里程碑为索引的基线风险中。<sup>[7](https://github.com/thehanlab/dynamicLM/blob/main/tutorials/theory-landmark-supermodel.md)</sup> 在应用比较中，堆叠模型已显示出比逐里程碑模型更好的性能。<sup>[8](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0306328)</sup>

**竞争风险里程碑模型**将框架扩展到病因特异性结局。Landmarking R包拟合由 survival_submodel 参数选择的两个子模型：Fine-Gray模型，它对子分布风险建模，从而将协变量与累积发病率函数联系起来；以及病因特异性模型，它对病因特异性风险进行回归。<sup>[10](https://cran.r-project.org/web/packages/Landmarking/vignettes/Landmarking.html)</sup>

**治愈模型里程碑法。** 混合治愈模型中的基于模型的里程碑法分四步进行：通过（广义）线性混合模型对纵向协变量建模，通过预测随机效应汇总历史，通过EM算法估计混合治愈模型，以及生成里程碑后预测。此前针对混合治愈模型的唯一里程碑策略，是施和殷（Shi and Yin）2017年提出的基于末次观测值结转（LOCF）的带时依协变量的里程碑治愈率模型。<sup>[14](https://arxiv.org/pdf/2509.18875)</sup><sup> • </sup><sup>[15](https://doi.org/10.1177/0962280217708681)</sup>

## 应用

只要基线后变量用于定义暴露组，里程碑分析就是常规做法。

- **移植研究。** 对于造血细胞移植中的感染状态等时依变量，分析者选择一个合理的感兴趣里程碑时间点。<sup>[16](https://pmc.ncbi.nlm.nih.gov/articles/PMC8015678/)</sup> 在肾移植随访中，复发事件里程碑法在每个里程碑处拟合带脆弱项的Cox模型，并将里程碑处的时间更新标志物值作为时间固定协变量。<sup>[17](https://journals.sagepub.com/doi/10.1177/0962280216643563)</sup>
- **随机试验。** 生存率和治疗效果的里程碑估计已在随机临床试验中形式化，并在艾滋病临床试验方案175（AIDS Clinical Trial Protocol 175）数据集上进行了示例，该数据集比较齐多夫定（zidovudine）与齐多夫定加扎西他滨（zalcitabine）。<sup>[18](https://pmc.ncbi.nlm.nih.gov/articles/PMC3960087/)</sup>
- **慢性病中的动态风险预测。** 2024年一项在肝硬化中的比较使用了随访每0.5年一个的11个里程碑时间，并在每个里程碑处构建排除在该时间之前删失或发生事件的受试者的数据集。<sup>[8](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0306328)</sup> 一项2025年研究将里程碑法与梯度提升树（LGBM）结合，用于预测肾移植移植物失败，里程碑时间取1.5、2.5、3.5和4.5年，预测窗口为10年。<sup>[19](https://link.springer.com/article/10.1186/s12911-025-03205-2)</sup>

## 局限性与替代方法

**对里程碑选择的敏感性。** 如果里程碑太早，治疗组之间不平衡；如果太晚，相当比例的事件被省略，检验效能受损。<sup>[20](https://link.springer.com/article/10.1186/s12874-017-0405-6)</sup> 推荐的做法是预先指定，并在备选时间上做敏感性分析。<sup>[2](https://casrai.org/guides/landmark-analysis)</sup>

**效率代价。** 丢弃里程碑前事件会损失样本量。纳入基线协变量和中间事件的增强里程碑程序可挽回其中一部分：相对于标准Kaplan-Meier估计量，以均方误差衡量的相对效率约为1.20，治疗组间生存率差异估计的效率提高约49%；在 \( t = 2 \) 时检测生存率小差异的效能从0.374（Kaplan-Meier）提高到0.457（里程碑程序）。<sup>[18](https://pmc.ncbi.nlm.nih.gov/articles/PMC3960087/)</sup>

**与时依Cox回归的比较。** 两种方法密切相关：带时依变量的Cox模型可视为具有无穷多个里程碑时间点且不与时间交互的动态里程碑研究；当里程碑-时间交互参数为零时，结果相似。<sup>[16](https://pmc.ncbi.nlm.nih.gov/articles/PMC8015678/)</sup> 在实践中，它们可能不一致。在一个造血细胞移植示例中，在90天里程碑处，真菌感染患者的死亡风险是无感染者的 \( \exp(0.697 - 0.131 \times 90/30) = 1.355 \) 倍；而时依Cox模型给出任意时间点恒定的 \( \exp(0.697) = 2 \) 倍风险（p < .001）。<sup>[16](https://pmc.ncbi.nlm.nih.gov/articles/PMC8015678/)</sup> 因此，已发表的比较并未给出单一结论；选择取决于目标是在临床有意义时间点的条件效应，还是时间平均风险比。

**与联合模型的比较。** 对纵向标志物和事件过程进行联合建模，在正确指定时效率更高，但里程碑法计算强度较低，可用标准软件实现，并且所作的比例风险假设更弱。<sup>[13](https://researchonline.lshtm.ac.uk/id/eprint/4657641/1/Tanner_etal_2020_Dynamic-survival-prediction-combining-landmarking.pdf)</sup> 在Cox里程碑法、联合建模和LGBM里程碑法之间，联合模型因数值积分而计算负担最高；基于里程碑的方法避免了此类计算，速度更快且更具可扩展性。<sup>[19](https://link.springer.com/article/10.1186/s12911-025-03205-2)</sup>

**失效模式。** 用末次观测值结转汇总时依协变量会使预测变量陈旧，而这种老化会引入测量误差，可能违反比例风险；对于长预测窗口，时变效应也可能导致一定偏倚；比例风险假设必须在预测窗口内成立，较短的窗口可能使其更可信，但并不能保证稳健性，因此必要时应评估或建模时变效应。<sup>[9](https://scholarlypublications.universiteitleiden.nl/access/item%3A3620040/view)</sup>

## References

1. [Introduction to the landmaRk package (CRAN vignette)](https://cran.r-project.org/web/packages/landmaRk/vignettes/landmaRk.html)
2. [Landmark Analysis: The Practical Fix for Immortal Time Bias (CASRAI guide)](https://casrai.org/guides/landmark-analysis)
3. [J R Anderson, K C Cain, R D Gelber (1983). Analysis of survival by tumor response.. Journal of Clinical Oncology.](https://doi.org/10.1200/jco.1983.1.11.710)
4. [HANS C. VAN HOUWELINGEN (2006). Dynamic Prediction by Landmarking in Event History Analysis. Scandinavian Journal of Statistics.](https://doi.org/10.1111/j.1467-9469.2006.00529.x)
5. [Urania Dafni (2011). Landmark Analysis at the 25-Year Landmark Point. Circulation Cardiovascular Quality and Outcomes.](https://doi.org/10.1161/circoutcomes.110.957951)
6. [Xiaojuan Mi and colleagues (2016). Use of the landmark method to address immortal person-time bias in comparative effectiveness research: a simulation study. Statistics in Medicine.](https://doi.org/10.1002/sim.7019)
7. [Theory: Landmark Supermodel (dynamicLM tutorial)](https://github.com/thehanlab/dynamicLM/blob/main/tutorials/theory-landmark-supermodel.md)
8. [Dynamic risk prediction of survival in liver cirrhosis: A comparison of landmarking approaches (PLOS One, 2024)](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0306328)
9. [Landmarking 2.0: Bridging the gap between joint models and landmarking (Putter and van Houwelingen)](https://scholarlypublications.universiteitleiden.nl/access/item%3A3620040/view)
10. [Introduction to Landmark Models and the R package Landmarking (CRAN vignette)](https://cran.r-project.org/web/packages/Landmarking/vignettes/Landmarking.html)
11. [Nathan Mantel, David P. Byar (1974). Evaluation of Response-Time Data Involving Transient States: An Illustration Using Heart-Transplant Data. Journal of the American Statistical Association.](https://doi.org/10.1080/01621459.1974.10480131)
12. [Richard Simon, Robert W. Makuch (1984). A non‐parametric graphical representation of the relationship between survival and the occurrence of an event: Application to responder versus non‐responder bias. Statistics in Medicine.](https://doi.org/10.1002/sim.4780030106)
13. [Dynamic survival prediction combining landmarking with a machine learning ensemble (Tanner et al., 2020)](https://researchonline.lshtm.ac.uk/id/eprint/4657641/1/Tanner_etal_2020_Dynamic-survival-prediction-combining-landmarking.pdf)
14. [Model-based landmarking within mixture cure models (arXiv, 2025)](https://arxiv.org/pdf/2509.18875)
15. [Haolun Shi, Guosheng Yin (2017). Landmark cure rate models with time-dependent covariates. Statistical Methods in Medical Research.](https://doi.org/10.1177/0962280217708681)
16. [Statistical methods for time-dependent variables in hematopoietic cell transplantation studies](https://pmc.ncbi.nlm.nih.gov/articles/PMC8015678/)
17. [Dynamic prediction of recurrent events data by landmarking with application to a follow-up study of patients after kidney transplant](https://journals.sagepub.com/doi/10.1177/0962280216643563)
18. [Landmark Estimation of Survival and Treatment Effect in a Randomized Clinical Trial (Parast et al.)](https://pmc.ncbi.nlm.nih.gov/articles/PMC3960087/)
19. [Dynamic survival analysis via a landmarking-gradient boosting approach and its application to kidney transplant data (BMC Medical Informatics and Decision Making, 2025)](https://link.springer.com/article/10.1186/s12911-025-03205-2)
20. [Statistical methods for elimination of guarantee-time bias in cohort studies: a simulation study (Cho et al., BMC Medical Research Methodology 2017)](https://link.springer.com/article/10.1186/s12874-017-0405-6)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Applied, official, and domain statistics › Biostatistics and health statistics methodology › Survival analysis

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/landmark-analysis

English original: https://www.edgepedia.org/landmark-analysis
