# Joinpoint 分析

Joinpoint 分析对时间趋势数据（如疾病发病率或死亡率）拟合分段线性回归，并识别趋势发生变化的位置。它报告描述趋势所需的最少分段数、每一分段的起点和终点，以及每一分段内的年度百分比变化（APC）；在对数尺度上拟合的线性趋势对应于恒定的 APC。<sup>[1](https://progressreport.cancer.gov/methodology)</sup> 该方法及实现它的 Joinpoint 软件是癌症监测中最广泛使用的趋势分析工具之一。<sup>[2](https://pubmed.ncbi.nlm.nih.gov/35522060/)</sup>

| 关键事实 | 数值 |
|---|---|
| 核心输出 | 各分段带有一个 APC；以 AAPC 作为汇总指标<sup>[1](https://progressreport.cancer.gov/methodology)</sup> |
| 默认模型选择 | 置换检验，4,499 次置换，总体 alpha 0.05<sup>[3](https://seer.cancer.gov/news/SEER-Joinpoint.pdf)</sup> |
| 备选准则 | BIC、BIC3、修正 BIC、WBIC、WBIC-Alternative、DDS<sup>[4](https://www.cdc.gov/nchs/data/series/sr_02/sr02-194.pdf)</sup> |
| 连接点数量上限 | 软件最多允许 9 个；默认最大值不超过 5 个<sup>[3](https://seer.cancer.gov/news/SEER-Joinpoint.pdf)</sup> |
| 最小分段大小 | 每段至少 3 个观测数据点<sup>[1](https://progressreport.cancer.gov/methodology)</sup> |
| 主要软件 | 美国国家癌症研究所（NCI）Joinpoint 趋势分析软件；R 包 joinpointR 和 ljr<sup>[5](https://pdl.csde.washington.edu/the-denominator/2024/van_Doren_Joinpoint_Regression/index.pdf)</sup> |
| 主要应用 | 癌症发病率和死亡率监测（SEER、NCHS）<sup>[3](https://seer.cancer.gov/news/SEER-Joinpoint.pdf)</sup> |

## 工作原理

该模型是带有连续连接点的分段线性回归。对于给定连接点数量 \( k \)、位置为 \( t = (t_{1}, \ldots, t_{k})' \) 的序列，拟合通过最小化分段线性模型与观测值之间的偏差平方和来进行；然后通过搜索最小平方和来选择位置。<sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC10291945/)</sup> 在实践中，软件会创建设置所允许的所有可能连接点位置的网格，默认将网格点放在观测点上，并计算每个位置的误差平方和以寻找最佳拟合。<sup>[3](https://seer.cancer.gov/news/SEER-Joinpoint.pdf)</sup>

连接点数量通过检验选择，而非预先固定。在置换检验程序中，会执行若干置换检验，每个检验都有正确的渐近显著性水平；每个 p 值通过蒙特卡洛方法求得，总体渐近显著性水平通过邦费罗尼校正维持。<sup>[7](https://doi.org/10.1002/%28sici%291097-0258%2820000215%2919:3<335::aid-sim336>3.0.co;2-z)</sup> 软件对残差进行 4,499 次置换，以使近似总体第一类错误概率低于指定的 alpha 水平，该水平默认为 0.05。<sup>[3](https://seer.cancer.gov/news/SEER-Joinpoint.pdf)</sup> 这些检验扩展到非恒定方差，处理具有泊松变异且可能存在自相关误差的率。<sup>[7](https://doi.org/10.1002/%28sici%291097-0258%2820000215%2919:3<335::aid-sim336>3.0.co;2-z)</sup>

当因变量位于对数尺度上时，某一分段的 APC 由其斜率 β 计算为 100 × (exp(β) − 1)%；斜率本身是对数尺度上的变化，而不是百分比变化。<sup>[3](https://seer.cancer.gov/news/SEER-Joinpoint.pdf)</sup> 固定区间上的平均年度百分比变化（AAPC）是 Joinpoint 模型中各 APC 的加权平均，权重等于该区间内各分段的长度；对所有序列都在同一固定区间上计算 AAPC，使趋势可以相互比较。<sup>[1](https://progressreport.cancer.gov/methodology)</sup> 置信区间可按两种方式计算。在参数方法下，AAPC 区间基于正态分布，APC 区间基于 t 分布；由于模拟显示参数区间有时过宽，开发了经验分位数重抽样方法，该方法通常为斜率参数和连接点位置提供更准确的覆盖。<sup>[3](https://seer.cancer.gov/news/SEER-Joinpoint.pdf)</sup><sup> • </sup><sup>[2](https://pubmed.ncbi.nlm.nih.gov/35522060/)</sup> 统计显著性通过 95% 置信区间报告，以检验每个 APC 是否异于零。<sup>[1](https://progressreport.cancer.gov/methodology)</sup> 在 SEER 癌症统计中，5 年 AAPC 及其显著性是用来判断某种癌症的率在上升还是下降的既定汇总指标。<sup>[3](https://seer.cancer.gov/news/SEER-Joinpoint.pdf)</sup>

## 如何实施

NCI Joinpoint 输入文件必须是 ASCII 文本文件或 Excel 电子表格，设置分为三个选项卡：输入文件、方法与参数、高级分析工具。<sup>[8](https://surveillance.cancer.gov/joinpoint/example.html)</sup> “方法与参数”选项卡指定建模方法、连接点位置约束、连接点数量、模型选择方法、AAPC 分段范围，以及 APC/AAPC/Tau 置信区间方法。<sup>[8](https://surveillance.cancer.gov/joinpoint/example.html)</sup> 默认选项包括不相关误差、对数变换、网格搜索建模，以及最小连接点数为零。<sup>[4](https://www.cdc.gov/nchs/data/series/sr_02/sr02-194.pdf)</sup> 率可以建模为年龄调整率，也可以建模为其对数变换。<sup>[5](https://pdl.csde.washington.edu/the-denominator/2024/van_Doren_Joinpoint_Regression/index.pdf)</sup> “高级分析工具”选项卡设置平行或重合的两两比较（在定义了 By Variables 时适用）以及跳跃模型/可比性比率模型分析。<sup>[8](https://surveillance.cancer.gov/joinpoint/example.html)</sup>

有两种 R 实现。joinpointR 包按组对年龄标准化率拟合分段线性回归模型，内部调用 segmented::selgmented() 或 segmented::segmented()，并对响应变量做对数变换；模型通过基于 BIC 的逐步选择或固定连接点数进行拟合。<sup>[9](https://cran.r-project.org/web/packages/joinpointR/joinpointR.pdf)</sup> 函数 get_apc() 为具有显著连接点的模型提供年度百分比变化及其 95% 置信区间，而 get_aapc() 允许用户即使未检测到显著连接点也能估计总体趋势。<sup>[10](https://cran.r-project.org/web/packages/joinpointR/vignettes/introduction.html)</sup> 相比之下，ljr 包仅拟合对数连接点模型。<sup>[5](https://pdl.csde.washington.edu/the-denominator/2024/van_Doren_Joinpoint_Regression/index.pdf)</sup>

## 起源

针对癌症率的、采用网格搜索拟合和置换检验选择的分段回归方法，由金贤珠（Hyune-Ju Kim）及其同事在 2000 年《Statistics in Medicine》论文中描述，该文将该模型应用于癌症死亡率和发病率趋势的连续变化。<sup>[7](https://doi.org/10.1002/%28sici%291097-0258%2820000215%2919:3<335::aid-sim336>3.0.co;2-z)</sup> 该论文的模型选择方法及相关推断程序已在 Joinpoint 软件中实现，其中置换程序作为默认选择方法，参数方法用于渐近推断。<sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC10291945/)</sup><sup> • </sup><sup>[2](https://pubmed.ncbi.nlm.nih.gov/35522060/)</sup> 后来的两项重大改进针对准确性和计算效率：数据驱动的模型选择方法（通常比置换检验更准确、更快），以及用于置信区间的经验分位数方法。<sup>[2](https://pubmed.ncbi.nlm.nih.gov/35522060/)</sup>

## 变体

贝叶斯连接点模型构成有文献记载的主要扩展家族。拉姆·C·蒂瓦里（Ram C. Tiwari）及其同事在 2005 年发表于《皇家统计学会杂志，C 辑》的框架中，通过马尔可夫链蒙特卡洛计算参数以及含 0 到 \( K \) 个连接点的竞争模型 \( M_{0}, \ldots, M_{K} \) 的后验分布，并将其应用于年龄调整的癌症率。<sup>[11](https://doi.org/10.1111/j.1467-9876.2005.00518.x)</sup> 普拉克·戈什（Pulak Ghosh）、桑吉布·巴苏（Sanjib Basu）和拉姆·C·蒂瓦里在 2009 年《美国统计协会杂志》论文中，使用参数和半参数贝叶斯连接点模型分析了肺癌、前列腺癌以及结肠癌和直肠癌的 SEER 发病率。<sup>[12](https://doi.org/10.1198/jasa.2009.0038)</sup> 普拉克·戈什、考希克·戈什（Kaushik Ghosh）和拉姆·C·蒂瓦里于 2010 年发表在《Statistics in Medicine》上的相关贝叶斯方法，用年龄别泊松回归对癌症计数建模，其对数连接函数包含未知连接点，连接点处的斜率变化服从在零处有点质量的混合分布。<sup>[13](https://doi.org/10.1002/sim.4077)</sup>

对于复杂抽样调查数据，Joinpoint 软件从 4.9 版起提供对汇总结局趋势建模的选项，纳入各时点估计值的完整方差-协方差矩阵。<sup>[14](https://surveillance.cancer.gov/joinpoint/survey.html)</sup>

## 应用

Joinpoint 分析在癌症监测的疾病趋势描述中占主导地位。SEER 使用 5 年 AAPC 作为癌症率上升或下降的标准汇总，<sup>[3](https://seer.cancer.gov/news/SEER-Joinpoint.pdf)</sup> NCI 的《癌症趋势进展报告》将趋势刻画建立在具有各分段 APC 的连接点模型上。<sup>[1](https://progressreport.cancer.gov/methodology)</sup> NCHS 指南记录了该软件分析生命统计和调查序列的选项。<sup>[4](https://www.cdc.gov/nchs/data/series/sr_02/sr02-194.pdf)</sup> 有文献记载的替代方法是上述贝叶斯连接点变体。

## 局限与替代方法

序列长度制约模型。为避免统计异常，每个分段必须包含至少 3 个观测数据点，且任何分段的起点或终点与序列两端的距离不得少于 3 个数据点。<sup>[1](https://progressreport.cancer.gov/methodology)</sup> 对于 2 到 6 个数据点，NCI 的进展报告完全不使用 Joinpoint；而是基于数据来源的标准误，用两样本检验计算相邻点之间的 APC。<sup>[1](https://progressreport.cancer.gov/methodology)</sup> NCHS 建议，在时间点少于 10 个、正态性或可交换性假设可能不成立，或检测小幅趋势变化很重要时，考虑置换检验以外的模型选择方法。<sup>[4](https://www.cdc.gov/nchs/data/series/sr_02/sr02-194.pdf)</sup>

允许的连接点数量随序列长度增加，且已发表指南对长序列的规定不一致。进展报告将 27 个或更多点的序列上限设为 5 个连接点，<sup>[1](https://progressreport.cancer.gov/methodology)</sup> 而 joinpointR 手册引用 NCI 建议，允许 27 至 31 个点用 5 个，32 至 36 个点用 6 个，37 个或更多点用 7 个。<sup>[9](https://cran.r-project.org/web/packages/joinpointR/joinpointR.pdf)</sup> 软件本身允许最多 9 个连接点，默认最大值不超过 5 个，因为置换检验运行缓慢。<sup>[3](https://seer.cancer.gov/news/SEER-Joinpoint.pdf)</sup>

其他失效情形属于实际操作问题。缺失时间点必须通过插补或省略受影响点来处理。<sup>[15](https://pmc.ncbi.nlm.nih.gov/articles/PMC7086268/)</sup> 结果对网格设置敏感：在相邻观测值之间设点的更细网格，可比默认落在观测点上的网格获得更好的拟合。<sup>[3](https://seer.cancer.gov/news/SEER-Joinpoint.pdf)</sup> 不推荐对 NCHS 调查数据使用自相关误差模型，因为它们未考虑调查设计相关性；遵循用户指定协方差结构的相关误差选项仅作为 4.9.0.0 版中仍在开发的“alpha”功能存在。<sup>[4](https://www.cdc.gov/nchs/data/series/sr_02/sr02-194.pdf)</sup> 对于调查数据，推荐工作流程使用 Joinpoint 识别连接点的数量和位置，然后使用记录级调查分析软件（如 SUDAAN、R survey 包、STATA 或 SAS/STAT 调查过程）获得最终斜率估计并检验该模型的假设。<sup>[16](https://www.ncbi.nlm.nih.gov/books/NBK619733/)</sup><sup> • </sup><sup>[17](https://www.cdc.gov/nchs/data/series/sr_02/sr02-213.pdf)</sup>

## References

1. [Methodology for Characterizing Trends | Cancer Trends Progress Report](https://progressreport.cancer.gov/methodology)
2. [Twenty years since Joinpoint 1.0: Two major enhancements, their justification, and impact](https://pubmed.ncbi.nlm.nih.gov/35522060/)
3. [Joinpoint Training and Demo (SEER)](https://seer.cancer.gov/news/SEER-Joinpoint.pdf)
4. [Vital and Health Statistics, Series 2, Number 194 (NCHS guidance on Joinpoint options)](https://www.cdc.gov/nchs/data/series/sr_02/sr02-194.pdf)
5. [Estimating time points of significant change in cause-specific mortality: Joinpoint regression in R](https://pdl.csde.washington.edu/the-denominator/2024/van_Doren_Joinpoint_Regression/index.pdf)
6. [Data-driven choice of a model selection method in joinpoint regression](https://pmc.ncbi.nlm.nih.gov/articles/PMC10291945/)
7. [Permutation tests for joinpoint regression with applications to cancer rates (Statistics in Medicine, 2000)](https://doi.org/10.1002/%28sici%291097-0258%2820000215%2919:3<335::aid-sim336>3.0.co;2-z)
8. [Sample Regression Analysis Using SEER*Stat Data (NCI)](https://surveillance.cancer.gov/joinpoint/example.html)
9. [joinpointR: Tidy Tools for Joinpoint Regression Models (reference manual)](https://cran.r-project.org/web/packages/joinpointR/joinpointR.pdf)
10. [joinpointR: Introduction (package vignette)](https://cran.r-project.org/web/packages/joinpointR/vignettes/introduction.html)
11. [Ram C. Tiwari and colleagues (2005). Bayesian Model Selection for Join Point Regression with Application to Age-Adjusted Cancer Rates. Journal of the Royal Statistical Society Series C (Applied Statistics).](https://doi.org/10.1111/j.1467-9876.2005.00518.x)
12. [Pulak Ghosh, Sanjib Basu, Ram C. Tiwari (2009). Bayesian Analysis of Cancer Rates From SEER Program Using Parametric and Semiparametric Joinpoint Regression Models. Journal of the American Statistical Association.](https://doi.org/10.1198/jasa.2009.0038)
13. [Pulak Ghosh, Kaushik Ghosh, Ram C. Tiwari (2010). Bayesian approach to cancer‐trend analysis using age‐stratified Poisson regression models. Statistics in Medicine.](https://doi.org/10.1002/sim.4077)
14. [Joinpoint Methods for Complex Survey Data (NCI Surveillance Research Program)](https://surveillance.cancer.gov/joinpoint/survey.html)
15. [Statistics and pitfalls of trend analysis in cancer research: a review focused on statistical packages](https://pmc.ncbi.nlm.nih.gov/articles/PMC7086268/)
16. [Comparing Results Between Survey Analysis Software and the National Cancer Institute Joinpoint Regression Software for Trend Analyses of Survey Data](https://www.ncbi.nlm.nih.gov/books/NBK619733/)
17. [Vital and Health Statistics, Series 2, Number 213](https://www.cdc.gov/nchs/data/series/sr_02/sr02-213.pdf)

---
*Initially written Sep 29, 2026 · Reviewed: Sep 30, 2026 · Edited: Sep 30, 2026 · Last review: Sep 30, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Statistical inference, estimation, sampling, and testing › Regression analysis › Time series regression

Copyright 2026 Edgepedia

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

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

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