# 年龄-时期-队列分析

年龄-时期-队列（APC）分析是一种统计方法，用于估计年龄、时期和出生队列对人口数据中率、计数和均值等结果的各自效应。它广泛用于人口学、流行病学和社会学，但存在一个结构性困难：由于队列等于时期减去年龄，三个时间尺度彼此是精确的线性函数，其效应的线性成分若不附加额外假设便无法分离。尽管该主题已有数百至数千篇论文和数十部著作，已发表的综述报告称，对于如何充分分析APC数据，学界几乎没有共识。<sup>[1](https://www.annualreviews.org/content/journals/10.1146/annurev-soc-073018-022616)</sup>

| 关键事实 | 详情 |
|---|---|
| 标准率模型 | \( \log \lambda(a,p) = f(a) + g(p) + h(c) \)，其中 \( c = p - a \)，以泊松回归拟合，并用人年数的对数作为偏移项<sup>[2](https://bendixcarstensen.com/APC/Carstensen.2007a.pdf)</sup> |
| 识别问题 | 年龄、时期和队列完全共线（队列 = 时期 − 年龄），因此 \( (X'X)^{-1} \) 不存在，无穷多组系数给出相同拟合<sup>[3](http://longpop-itn.eu/wp-content/uploads/2018/05/EDebiasi_Age-Period-Cohort-Analysis.pdf.pdf)</sup><sup> • </sup><sup>[4](https://pmc.ncbi.nlm.nih.gov/articles/PMC5129181/)</sup> |
| 不可识别的部分 | 仅三个效应的斜率；非线性部分及特定的线性组合是可估计的<sup>[5](https://link.springer.com/article/10.1007/s13524-019-00801-6)</sup> |
| 主要补救方法 | 等式约束、穆尔-彭罗斯（内在）估计量、分层/多水平模型、代理变量和基于机制的模型<sup>[1](https://www.annualreviews.org/content/journals/10.1146/annurev-soc-073018-022616)</sup> |
| 已知失效模式 | 当约束、类别数或固定效应与随机效应的设定发生变化时，估计值可能大幅改变<sup>[4](https://pmc.ncbi.nlm.nih.gov/articles/PMC5129181/)</sup><sup> • </sup><sup>[6](https://onlinelibrary.wiley.com/doi/10.1002/sim.7305)</sup> |
| 软件 | R包Epi、BAMP和BAPC<sup>[7](https://link.springer.com/article/10.1186/s12874-025-02629-8)</sup>；apc包及Stata命令apcfit和apcspline<sup>[3](http://longpop-itn.eu/wp-content/uploads/2018/05/EDebiasi_Age-Period-Cohort-Analysis.pdf.pdf)</sup> |

## 工作原理

率的典型模型是乘法模型：\( \log[\lambda(a,p)] = f(a) + g(p) + h(c) \)，其中 \( a \) 为年龄，\( p \) 为时期，\( c = p - a \) 为队列，每一项都作为其时间尺度的灵活（非线性）函数进入模型。<sup>[2](https://bendixcarstensen.com/APC/Carstensen.2007a.pdf)</sup> 对于表格计数数据，该模型以泊松回归拟合，并加入一个偏移项，将人年数与率分开，因为其对数似然等于均值为 \( Y \cdot \lambda \) 的泊松观测的对数似然。泊松机制仅用于基于似然的推断；基于泊松分布性质的推断不一定正确。<sup>[2](https://bendixcarstensen.com/APC/Carstensen.2007a.pdf)</sup> 对于分类结果，逻辑斯蒂响应模型假定年龄、时期和队列效应对阳性响应的对数几率具有可加效应。<sup>[8](http://www.asasrms.org/Proceedings/y1976/Identification%20And%20Estimation%20Of%20Age,%20Period%20And%20Cohort%20Effects%20In%20The%20Analysis%20Of%20Discrete%20Archival%20Data.pdf)</sup>

障碍在于精确共线性。已知年龄、时期和队列中的任意两个，便可由线性组合得到第三个，因此设计矩阵奇异，\( (X'X)^{-1} \) 不存在，无穷多组系数产生相同拟合。<sup>[3](http://longpop-itn.eu/wp-content/uploads/2018/05/EDebiasi_Age-Period-Cohort-Analysis.pdf.pdf)</sup><sup> • </sup><sup>[4](https://pmc.ncbi.nlm.nih.gov/articles/PMC5129181/)</sup> 具体而言，任何一组效应参数（例如年龄）的线性成分，都无法与另外两组的线性成分分离。<sup>[8](http://www.asasrms.org/Proceedings/y1976/Identification%20And%20Estimation%20Of%20Age,%20Period%20And%20Cohort%20Effects%20In%20The%20Analysis%20Of%20Discrete%20Archival%20Data.pdf)</sup> 该问题是模型的属性，而非数据的属性：只有当三个变量线性相关，且每个变量都被假定为与结果呈线性可加关系时，问题才会出现。<sup>[9](https://pmc.ncbi.nlm.nih.gov/articles/PMC4357521/)</sup> 重要的是，只有斜率不可识别；非线性部分及线性效应的特定组合是可从数据中估计的。<sup>[5](https://link.springer.com/article/10.1007/s13524-019-00801-6)</sup>

## 如何实施

典型工作流程如下。首先，按年龄和时期将结果制成表格（队列随之由时期 − 年龄得出），并以带偏移项的泊松回归拟合对数线性模型。<sup>[2](https://bendixcarstensen.com/APC/Carstensen.2007a.pdf)</sup> 其次，选择一种识别策略，因为需要约束才能从无穷多个拟合同样良好的解中选出一个。<sup>[10](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0238871)</sup> 经典路径是对参数施加单一限制，称为识别设定，例如令两个年龄组效应相等；此类设定必须以实质性理论为依据，不同设定会导致实质上不同的模型。<sup>[8](http://www.asasrms.org/Proceedings/y1976/Identification%20And%20Estimation%20Of%20Age,%20Period%20And%20Cohort%20Effects%20In%20The%20Analysis%20Of%20Discrete%20Archival%20Data.pdf)</sup> 受约束的广义线性模型有恰好识别形式和采用较粗时期或队列分组的过度识别形式，结果取决于所选的约束。<sup>[3](http://longpop-itn.eu/wp-content/uploads/2018/05/EDebiasi_Age-Period-Cohort-Analysis.pdf.pdf)</sup>

替代策略用其他信息取代任意约束。内在估计量对采用中心化效应编码的奇异设计矩阵应用穆尔-彭罗斯广义逆，在受约束方法中给出方差较小的解。<sup>[10](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0238871)</sup> 分层模型在多水平框架中将年龄视为固定效应，将时期和队列视为随机效应；在队列或时期较少时，建议采用蒙特卡罗马尔可夫链估计。<sup>[11](https://eprints.whiterose.ac.uk/id/eprint/87657/1/DemRes%20paper.pdf)</sup> 贝叶斯正则化通过假定先验概率来约束三个效应，利用可识别的非线性成分连同先验来估计数学上无法区分的线性成分。<sup>[12](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0329223)</sup> 代理变量和基于机制的模型则改用已测量的原因或中介变量。<sup>[1](https://www.annualreviews.org/content/journals/10.1146/annurev-soc-073018-022616)</sup> 当年龄和时期区间不等时，平滑样条可避免否则会出现的偏倚。<sup>[13](https://onlinelibrary.wiley.com/doi/10.1002/sim.2253)</sup>

## 起源

凯伦·奥本海姆·梅森（Karen Oppenheim Mason）及其同事（1973）在《美国社会学评论》上提出的APC多重分类（核算）模型，曾在三十多年间作为APC估计的标准方法。<sup>[14](https://doi.org/10.2307/2094398)</sup> 识别问题自20世纪70年代以来即得到研究。<sup>[8](http://www.asasrms.org/Proceedings/y1976/Identification%20And%20Estimation%20Of%20Age,%20Period%20And%20Cohort%20Effects%20In%20The%20Analysis%20Of%20Discrete%20Archival%20Data.pdf)</sup> 在基于样条的拟合方面，本迪克斯·卡斯滕森（Bendix Carstensen）2006年发表于《医学统计学》的关于莱克西斯图APC模型的论文引入了R函数，其他实现对其进行了移植。<sup>[15](https://doi.org/10.1002/sim.2764)</sup> 伊桑·福斯（Ethan Fosse）和克里斯托弗·温希普（Christopher Winship）（2019）发表于《人口学》的界限法，是工具箱中较新的补充。<sup>[16](https://doi.org/10.1007/s13524-019-00801-6)</sup>

## 变体

文献中记录的最新方法学进展包括内在估计量、自回归队列模型、年龄-时期-队列-特征（APCC）模型、回归样条模型、平滑队列模型和分层APC模型。<sup>[17](https://journals.sagepub.com/doi/10.1177/0049124111415355)</sup> 内在估计量是基于穆尔-彭罗斯广义逆的更大一类估计量的子类型；该类中的两个成员——差分估计量和正交估计量——所施加的约束比内在估计量的约束更不敏感，也更易解释。<sup>[18](https://sociologicalscience.com/articles-v5-14-304/)</sup> 一种经典的重参数化在后来的可估计函数（EF）工作中得到扩展，将时间项划分为可识别的曲率函数和不可识别的线性趋势（斜率）；EF是模型参数中可识别的线性组合。<sup>[7](https://link.springer.com/article/10.1186/s12874-025-02629-8)</sup><sup> • </sup><sup>[19](https://link.springer.com/article/10.1186/s12874-023-02039-8)</sup> 贝叶斯变体对效应施加一阶或二阶随机游走先验，在BAMP和BAPC包中实现。<sup>[7](https://link.springer.com/article/10.1186/s12874-025-02629-8)</sup>

## 应用

APC模型用于癌症发病率和死亡率研究，包括肺癌死亡率和前列腺癌发病率。<sup>[5](https://link.springer.com/article/10.1007/s13524-019-00801-6)</sup><sup> • </sup><sup>[13](https://onlinelibrary.wiley.com/doi/10.1002/sim.2253)</sup> 在社会流行病学中，采用交叉分类随机效应模型的分层APC估计（HAPC-CCREM）应用于美国肥胖流行病，发现即使考虑了观察时的年龄和时期，较年轻的出生队列通常比前代人群面临更高的肥胖风险。<sup>[9](https://pmc.ncbi.nlm.nih.gov/articles/PMC4357521/)</sup> 一项应用于美国白人男性心脏病死亡率的研究发现，来自内在估计量、一种受约束估计量、HAPC-CCREM和贝叶斯约束的系数彼此一致，显示出随年龄增长而上升、以及跨时期和出生队列的大幅下降。<sup>[10](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0238871)</sup> 样条模型和随机游走模型在公共卫生和社会学中的应用涵盖前列腺癌、甲状腺癌和胃癌、肥胖、自杀和阿片类药物所致死亡。<sup>[7](https://link.springer.com/article/10.1186/s12874-025-02629-8)</sup>

## 局限与替代方案

核心局限在于，除非模型的约束在总体中确实成立，否则所有APC模型都会给出年龄、时期和队列参数的有偏估计。<sup>[10](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0238871)</sup> 批评者认为，所提出的机械性解决方案并未解决问题：分层APC模型通常假定不存在队列效应，而内在估计量和偏最小二乘方法返回的是解直线上最接近零的点；诺曼·格伦（Norman Glenn）称寻找无假设解的努力是“徒劳的”。<sup>[20](https://eprints.whiterose.ac.uk/id/eprint/154233/3/revised%20APC%20review%20paper.pdf)</sup> 以往的识别方法也饱受对模型设定微小差异极度敏感之苦。<sup>[5](https://link.springer.com/article/10.1007/s13524-019-00801-6)</sup> 在混合模型APC方法中，哪些效应被视为固定效应、哪些被视为随机效应，可能大幅改变估计值。<sup>[6](https://onlinelibrary.wiley.com/doi/10.1002/sim.7305)</sup> 一些方法隐含地施加多个分块约束，而这些约束依赖于对区间宽度的任意选择。<sup>[21](https://journals.sagepub.com/doi/10.1177/0049124115585359)</sup>

模拟证据量化了受约束估计量对其隐含假设的依赖程度。在一项研究中，真实效应为 \( 10 + 1 \cdot \text{age} + 7 \cdot \text{period} + 1 \cdot \text{cohort} \)，误差标准差为0.1，涵盖1,000个数据集，内在估计量的估计斜率并未随时期数增加而收敛于真值：在 \( p = 6 \) 时 \( k_{a} = 2.144 \)、\( k_{p} = 5.857 \)、\( k_{c} = 2.144 \)，但在 \( p = 12 \) 时 \( k_{a} = 3.017 \)、\( k_{p} = 4.983 \)、\( k_{c} = 3.017 \)。<sup>[4](https://pmc.ncbi.nlm.nih.gov/articles/PMC5129181/)</sup> 同一研究得出结论，内在估计量不是真实效应的无偏或一致估计量，<sup>[4](https://pmc.ncbi.nlm.nih.gov/articles/PMC5129181/)</sup> 而其他已发表的评估则认为它具有无偏性和一致性，但指出结果取决于设计矩阵，包括类别数、参照类别以及非线性部分的大小和符号。<sup>[22](https://arxiv.org/html/2504.01148v5)</sup>

替代方案指向多个方向。通过界限进行的部分识别在前列腺癌发病率和凶杀率上得到演示，用区间取代点估计；福斯和温希普的界限结果表明，即使假设相对较弱，APC参数的界限也可能与点估计几乎同样具有信息量。<sup>[5](https://link.springer.com/article/10.1007/s13524-019-00801-6)</sup> 一项2025年的模拟研究认为，与多水平分析相比，采用随机游走先验的贝叶斯正则化减轻了队列效应线性成分的低估。<sup>[12](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0329223)</sup> 一项2025年对频率学派惩罚样条与贝叶斯随机过程平滑的比较发现，对二阶导数施加惩罚对于缓解不等区间宽度所造成的额外识别问题至关重要。<sup>[7](https://link.springer.com/article/10.1186/s12874-025-02629-8)</sup> 一种广义的基于机制的方法利用中介变量集合，在三个尺度之间存在确定性线性关系的情况下识别因果性的年龄、时期和队列效应。<sup>[23](https://www.ingentaconnect.com/content/10.1097/EDE.0000000000001811)</sup> 已发表的指南未给出稳定估计所需的明确最小样本量或时期与队列数目；仅报告了模拟情景。

## References

1. [Analyzing Age-Period-Cohort Data: A Review and Critique](https://www.annualreviews.org/content/journals/10.1146/annurev-soc-073018-022616)
2. [Age-period-cohort models for the Lexis diagram (Carstensen)](https://bendixcarstensen.com/APC/Carstensen.2007a.pdf)
3. [Age-Period-Cohort Analysis: a Summary of Analytical Approaches and Results (Debiasi)](http://longpop-itn.eu/wp-content/uploads/2018/05/EDebiasi_Age-Period-Cohort-Analysis.pdf.pdf)
4. [Assessing Validity and Application Scope of the Intrinsic Estimator Approach to the Age-Period-Cohort Problem](https://pmc.ncbi.nlm.nih.gov/articles/PMC5129181/)
5. [Bounding Analyses of Age-Period-Cohort Effects (Demography)](https://link.springer.com/article/10.1007/s13524-019-00801-6)
6. [Mixed models, linear dependency, and identification in age-period-cohort models (Statistics in Medicine)](https://onlinelibrary.wiley.com/doi/10.1002/sim.7305)
7. [Smooth predictions for age-period-cohort models: a comparison between splines and random process (BMC Medical Research Methodology, 2025)](https://link.springer.com/article/10.1186/s12874-025-02629-8)
8. [Identification and Estimation of Age, Period and Cohort Effects in the Analysis of Discrete Archival Data (ASA Proceedings, 1976)](http://www.asasrms.org/Proceedings/y1976/Identification%20And%20Estimation%20Of%20Age,%20Period%20And%20Cohort%20Effects%20In%20The%20Analysis%20Of%20Discrete%20Archival%20Data.pdf)
9. [Should Age-Period-Cohort Studies Return to the Methodologies of the 1970s?](https://pmc.ncbi.nlm.nih.gov/articles/PMC4357521/)
10. [Clarifying assumptions in age-period-cohort analyses and validating results (PLOS One)](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0238871)
11. [Another 'futile quest'? A simulation study of Yang and Land's Hierarchical Age-Period-Cohort model](https://eprints.whiterose.ac.uk/id/eprint/87657/1/DemRes%20paper.pdf)
12. [Some simulations of age-period-cohort analysis applying Bayesian regularization: Conditions for using random walk model (PLOS One, 2025)](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0329223)
13. [Approaches to fitting age-period-cohort models with unequal intervals (Statistics in Medicine)](https://onlinelibrary.wiley.com/doi/10.1002/sim.2253)
14. [Karen Oppenheim Mason and colleagues (1973). Some Methodological Issues in Cohort Analysis of Archival Data. American Sociological Review.](https://doi.org/10.2307/2094398)
15. [B. Carstensen (2006). Age–period–cohort models for the Lexis diagram. Statistics in Medicine.](https://doi.org/10.1002/sim.2764)
16. [Ethan Fosse, Christopher Winship (2019). Bounding Analyses of Age-Period-Cohort Effects. Demography.](https://doi.org/10.1007/s13524-019-00801-6)
17. [On the Intrinsic Estimator and Constrained Estimators in Age-Period-Cohort Models](https://journals.sagepub.com/doi/10.1177/0049124111415355)
18. [Moore–Penrose Estimators of Age–Period–Cohort Effects: Their Interrelationship and Properties](https://sociologicalscience.com/articles-v5-14-304/)
19. [Comparative age-period-cohort analysis (BMC Medical Research Methodology, 2023)](https://link.springer.com/article/10.1186/s12874-023-02039-8)
20. [Age period cohort analysis: a review of what we should and shouldn't do (Bell & Jones)](https://eprints.whiterose.ac.uk/id/eprint/154233/3/revised%20APC%20review%20paper.pdf)
21. [Block Constraints in Age–Period–Cohort Models with Unequal-width Intervals](https://journals.sagepub.com/doi/10.1177/0049124115585359)
22. [Methodological insights in Bayesian Age-Period-Cohort analysis: an application to the case of Puerto Rico's fertility decline (arXiv, 2025)](https://arxiv.org/html/2504.01148v5)
23. [A Generalization of the Mechanism-based Approach for Age–Period–Cohort Analysis (Epidemiology)](https://www.ingentaconnect.com/content/10.1097/EDE.0000000000001811)

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

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

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/age-period-cohort-analysis

English original: https://www.edgepedia.org/age-period-cohort-analysis
