# 动态面板模型

动态面板模型是一种面板数据回归模型，其解释变量中包含滞后因变量，写作 \( y_{it} = y_{i,t-1} \cdot \gamma + x_{it} \cdot \beta + u_i + \varepsilon_{it} \)，其中个体 \( i = 1, \ldots, N \)，时期 \( t = 1, \ldots, T \)，通常 \( N \) 很大而 \( T \) 固定。<sup>[1](https://www.stata.com/meeting/snasug08/drukker_xtdpd.pdf)</sup> 由于 \( y_{i,t-1} \) 是 \( u_i \) 的函数，它在构造上就与误差项相关，因此在这样的设定下，普通最小二乘法、固定效应估计量和随机效应估计量都是有偏且不一致的。<sup>[2](https://www.files.ethz.ch/isn/36085/2006_12_06.pdf)</sup><sup> • </sup><sup>[3](https://panelbox.readthedocs.io/en/latest/user-guide/gmm/difference-gmm/)</sup> 一致估计需要借助工具变量法或广义矩估计（GMM）方法，而这些方法建立在数据的滞后值之上。

| 关键事实 | 数值 |
|---|---|
| 模型 | \( y_{it} = y_{i,t-1} \cdot \gamma + x_{it} \cdot \beta + u_i + \varepsilon_{it} \)，大 \( N \)，固定 \( T \) <sup>[1](https://www.stata.com/meeting/snasug08/drukker_xtdpd.pdf)</sup> |
| 组内估计量的尼克尔偏差 | 约为 \( -(1+\gamma)/(T-1) \)，在 \( T \) 较小时很严重 <sup>[3](https://panelbox.readthedocs.io/en/latest/user-guide/gmm/difference-gmm/)</sup> |
| \( T = 30 \) 时 LSDV 的偏差 | 可达真实系数的 20% <sup>[4](https://www.sciencedirect.com/science/article/abs/pii/S0165176599001305)</sup> |
| 差分 GMM 的矩条件 | 对 \( s \geq 2 \)，\( E[y_{i,t-s} \cdot \Delta\varepsilon_{it}] = 0 \) <sup>[3](https://panelbox.readthedocs.io/en/latest/user-guide/gmm/difference-gmm/)</sup> |
| 劳动力需求示例 | 滞后就业系数 0.4（差分 GMM）对 0.86（系统 GMM） <sup>[5](https://www.homepages.ucl.ac.uk/~uctp39a/Blundell-Bond-1998.pdf)</sup> |
| 工具变量数量 | 关于时间维度 \( T \) 的二次函数 <sup>[2](https://www.files.ethz.ch/isn/36085/2006_12_06.pdf)</sup> |
| 收敛速度估计的蒙特卡洛离散度 | 0.03% 至 17%，而真实值为 5% <sup>[6](https://ideas.repec.org/p/zbw/tuweco/072017.html)</sup> |

## 原理

估计问题源于个体效应 \( u_i \)，它不可观测，且与回归变量 \( y_{i,t-1} \) 相关。<sup>[1](https://www.stata.com/meeting/snasug08/drukker_xtdpd.pdf)</sup> 因此，对水平方程做 OLS 会产生通常所说的动态面板偏差，使估计量不一致。<sup>[2](https://www.files.ethz.ch/isn/36085/2006_12_06.pdf)</sup>

去掉固定效应本身并不能解决问题。组内（固定效应）变换减去面板层面的均值，但变换后的滞后因变量仍与变换后的误差项相关，因此在 \( T \) 固定时估计量依然不一致。<sup>[1](https://www.stata.com/meeting/snasug08/drukker_xtdpd.pdf)</sup><sup> • </sup><sup>[2](https://www.files.ethz.ch/isn/36085/2006_12_06.pdf)</sup> 这种不一致被称为尼克尔偏差，它属于附带参数问题的一个实例——参数个数随样本增长。<sup>[7](https://pure.uva.nl/ws/files/1760487/131812_1310fulltext.pdf)</sup> 对组内估计量而言，偏差约为 \( -(1+\gamma)/(T-1) \)。<sup>[3](https://panelbox.readthedocs.io/en/latest/user-guide/gmm/difference-gmm/)</sup> 即便在 \( T = 30 \) 时，最小二乘虚拟变量（LSDV）估计量的偏差也可达到真实系数的 20%。<sup>[4](https://www.sciencedirect.com/science/article/abs/pii/S0165176599001305)</sup>

## 做法

推荐的起点是先把模型两边做一阶差分，从而消去 \( u_i \)，然后为差分后的滞后因变量寻找工具变量。<sup>[1](https://www.stata.com/meeting/snasug08/drukker_xtdpd.pdf)</sup> 安德森与萧政 1982 年发表于《计量经济学杂志》的文章为差分方程提出了两种此类工具变量方法，分别用 \( y_{i,t-2} \) 或滞后差分 \( y_{i,t-2} - y_{i,t-3} \) 作为工具变量。<sup>[8](https://doi.org/10.1016/0304-4076%2882%2990095-1)</sup><sup> • </sup><sup>[4](https://www.sciencedirect.com/science/article/abs/pii/S0165176599001305)</sup> 滞后差分工具变量得到的估计量方差极大，因此在模拟证据中滞后水平值更受青睐。<sup>[4](https://www.sciencedirect.com/science/article/abs/pii/S0165176599001305)</sup>

阿雷利亚诺–邦德差分 GMM 估计量出自 1991 年《经济研究评论》的文章，它最优地利用了所有线性矩限制，这些限制来自对含个体效应和滞后因变量的方程中误差无序列相关的假定。<sup>[9](https://doi.org/10.2307/2297968)</sup> 差分之后，估计方程为 \( \Delta y_{it} = \gamma \cdot \Delta y_{i,t-1} + \Delta x_{it}' \cdot \beta + \Delta\varepsilon_{it} \)，矩条件为对 \( s \geq 2 \) 有 \( E[y_{i,t-s} \cdot \Delta\varepsilon_{it}] = 0 \)：即用滞后水平值作为当前差分值的工具变量。<sup>[3](https://panelbox.readthedocs.io/en/latest/user-guide/gmm/difference-gmm/)</sup> 基于 GMM 残差的序列相关检验会与过度识别限制的 Sargan 检验以及 Hausman 设定检验相比较。<sup>[9](https://doi.org/10.2307/2297968)</sup>

系统 GMM 扩展了这一策略。布伦德尔与邦德 1998 年发表于《计量经济学杂志》的文章提出了两个线性估计量，旨在改进一阶差分 GMM，二者都要求对初始条件过程施加限制。<sup>[10](https://doi.org/10.1016/s0304-4076%2898%2900009-8)</sup> 系统估计量把差分矩条件与水平矩条件结合起来，后者用滞后变化作为当前水平值的工具变量，在均值平稳假定下具有渐近有效性。<sup>[7](https://pure.uva.nl/ws/files/1760487/131812_1310fulltext.pdf)</sup> 当序列高度持久时更宜采用它，因为此时滞后水平值对一阶差分而言是弱工具变量<sup>[5](https://www.homepages.ucl.ac.uk/~uctp39a/Blundell-Bond-1998.pdf)</sup>，而水平方程的工具变量仍是良好的预测变量。<sup>[7](https://pure.uva.nl/ws/files/1760487/131812_1310fulltext.pdf)</sup>

在 Stata 中，xtabond2 命令实现了差分 GMM 和系统 GMM，支持 GMM 型与标准 IV 型工具变量集；其文档给出了诸如 `xtabond2 n L.n L2.n w L.w L(0/2).(k ys) yr*, gmmstyle(L.n) ivstyle(...)` 的语法，用于一个就业方程。<sup>[2](https://www.files.ethz.ch/isn/36085/2006_12_06.pdf)</sup>

## 起源

安德森–萧政估计量出现在 T.W. 安德森与萧政的《利用面板数据建立和估计动态模型》一文中，《计量经济学杂志》，1982 年。<sup>[8](https://doi.org/10.1016/0304-4076%2882%2990095-1)</sup> 差分 GMM 由曼努埃尔·阿雷利亚诺与斯蒂芬·邦德在《面板数据设定的一些检验：蒙特卡洛证据及其在就业方程中的应用》中提出，《经济研究评论》，1991 年。<sup>[9](https://doi.org/10.2307/2297968)</sup> 带初始条件限制的系统 GMM 由理查德·布伦德尔与斯蒂芬·邦德在《动态面板数据模型中的初始条件与矩限制》中提出，《计量经济学杂志》，1998 年。<sup>[10](https://doi.org/10.1016/s0304-4076%2898%2900009-8)</sup> 偏差校正 LSDV（LSDVC）估计量来自扬·F. 基维特 1995 年发表于《计量经济学杂志》的文章《动态面板数据模型中各种估计量的偏差、不一致性与效率》。<sup>[11](https://doi.org/10.1016/0304-4076%2894%2901643-e)</sup> 这些 GMM 估计量建立在更早的工作之上，那些工作把简单的 IV 思想推广到多变量设定，并利用所有可得的滞后值作为工具变量。<sup>[7](https://pure.uva.nl/ws/files/1760487/131812_1310fulltext.pdf)</sup>

## 变体

存在若干改进。有人为差分模型提出了额外的非线性矩条件，增加了 \( T-3 \) 个此类条件。<sup>[7](https://pure.uva.nl/ws/files/1760487/131812_1310fulltext.pdf)</sup> 基于似然的替代方法包括针对自回归根接近 1 的面板的一阶差分最大似然（FDML）估计量。<sup>[12](https://www.mdpi.com/1911-8074/14/9/405)</sup> 近期工作针对已知的有限样本弱点：重心化矩方法（RMM）估计量完全避免了寻找工具变量，绕开了弱工具变量和工具变量过多的问题，且在数值上等价于间接推断估计量。<sup>[13](https://www.mdpi.com/2225-1146/12/1/3)</sup>

## 应用

有文献记载的应用集中在企业和宏观面板上。在一个短面板劳动力需求模型中，一阶差分 GMM 给出的滞后就业系数仅为 0.4，资本弹性为 0.2，而系统 GMM 给出 0.86 和 0.6，作者认为后者更合理。<sup>[5](https://www.homepages.ucl.ac.uk/~uctp39a/Blundell-Bond-1998.pdf)</sup> 对于企业层面销售、资本和就业序列高度持久的柯布–道格拉斯生产函数，滞后水平值与随后的一阶差分仅弱相关，而系统估计量对一个由美国制造业研发企业组成的面板给出了合理得多的参数估计。<sup>[14](https://ideas.repec.org/p/ifs/ifsewp/99-04.html)</sup> 在增长研究中，一项关于工具变量增殖的研究复现了收入不平等以及金融发展与增长方面的应用，发现两者的结果都是由此前未被察觉的内生性驱动的。<sup>[15](https://www.cgdev.org/sites/default/files/14256_file_Instruments.pdf)</sup>

## 局限与替代方法

弱工具变量是核心的失效模式。当滞后因变量的系数接近 1 时，序列近似随机游走，滞后水平值与差分值相关性很差，使阿雷利亚诺–邦德估计量产生显著的下行偏差<sup>[16](https://economics.mit.edu/sites/default/files/2022-09/Estimating%20Dynamic%20Panel%20Models%20Backing%20out%20the%20Nickell%20Bias.pdf)</sup>；该估计量在持久数据和固定 \( T \) 下的弱工具变量问题在《计量经济学理论》中有记载<sup>[17](https://www.cambridge.org/core/journals/econometric-theory/article/abs/gmm-estimation-and-inference-in-dynamic-panel-data-models-with-persistent-data/2CAF20348B376F8467C1EBA19AB6E8FC)</sup>，而系统 GMM 的水平方程也有其自身已被研究的弱工具变量问题。<sup>[18](https://arxiv.org/pdf/2311.03471)</sup> 工具变量增殖会加剧这一问题：工具变量数量随 \( T \) 二次增长，工具变量过多会使方差矩阵奇异，并削弱 Hansen 检验，直至其返回 1.000 这样好得难以置信的 p 值<sup>[2](https://www.files.ethz.ch/isn/36085/2006_12_06.pdf)</sup>，而庞大的工具变量集合即便个个有效，也可能对内生变量过度拟合。<sup>[15](https://www.cgdev.org/sites/default/files/14256_file_Instruments.pdf)</sup> 在模拟中，增殖的症状大约在 \( T = 15 \) 时变得明显；减少工具变量数量会提高方差，但对偏差没有多少系统性影响，而当系统 GMM 有效时，折叠工具变量造成的偏差更小。<sup>[15](https://www.cgdev.org/sites/default/files/14256_file_Instruments.pdf)</sup> GMM 方法在截面相关下也会存在偏差和弱工具变量问题。<sup>[19](https://www.sciencedirect.com/science/article/abs/pii/S030440760600042X)</sup>

主要的替代方法是偏差校正 LSDV<sup>[11](https://doi.org/10.1016/0304-4076%2894%2901643-e)</sup>、最大似然以及简单的安德森–萧政 IV 估计量。蒙特卡洛证据表明，校正 LSDV 在各种规模的面板上都具有最低的均方根误差（RMSE），对于平衡面板直至 \( T = 30 \) 推荐使用 LSDVC，对于 \( T \leq 10 \) 的非平衡面板推荐差分 GMM；当校正 LSDV 不切实际时，GMM 在 RMSE 上通常优于安德森–萧政。<sup>[4](https://www.sciencedirect.com/science/article/abs/pii/S0165176599001305)</sup> 在一项真实速度约为 5% 的收敛速度模拟中，估计值从 0.03% 到 17% 不等，意味着收入差距半衰期从 4 年到数百年不等；混合 OLS、固定效应、随机效应和差分 GMM 在平方百分比误差上表现最差，而使用完整工具变量矩阵的系统 GMM 和 LSDVC 表现最好，且由系统 GMM 初始化的 LSDVC 是唯一在所有情形下都能在 95% 置信区间内捕捉到真实速度的估计量。<sup>[6](https://ideas.repec.org/p/zbw/tuweco/072017.html)</sup> 同一项大 \( N \cdot T \) 研究还发现，当 \( N \) 或 \( T \) 或两者都增长时，安德森–萧政 IV 估计量以及一个正确处理初始值分布的准最大似然估计量是渐近无偏的。<sup>[20](https://ideas.repec.org/a/eee/econom/v187y2015i1p312-322.html)</sup> 已发表的比较并未就这些估计量在贸易、劳动力需求示例之外的劳动力动态或健康应用中的表现达成定论，而机器学习扩展在已发表文献中有所涉及；例如，吴与肖的《动态面板中处理效应的双重/去偏机器学习》于 2026 年 7 月 6 日发表在《美国统计协会杂志》上。

## References

1. [Econometric analysis of dynamic panel-data models using Stata](https://www.stata.com/meeting/snasug08/drukker_xtdpd.pdf)
2. [How to Do xtabond2: An Introduction to 'Difference' and 'System' GMM in Stata](https://www.files.ethz.ch/isn/36085/2006_12_06.pdf)
3. [Difference GMM (Arellano-Bond)](https://panelbox.readthedocs.io/en/latest/user-guide/gmm/difference-gmm/)
4. [Estimating dynamic panel data models: a guide for macroeconomists (Judson & Owen; working-paper version: Federal Reserve FEDS 1997-03)](https://www.sciencedirect.com/science/article/abs/pii/S0165176599001305)
5. [Initial conditions and moment restrictions in dynamic panel data models (Blundell–Bond 1998)](https://www.homepages.ucl.ac.uk/~uctp39a/Blundell-Bond-1998.pdf)
6. [You can't always get what you want? A Monte Carlo analysis of the bias and the efficiency of dynamic panel data estimators](https://ideas.repec.org/p/zbw/tuweco/072017.html)
7. [Dynamic panel data models (survey/review chapter)](https://pure.uva.nl/ws/files/1760487/131812_1310fulltext.pdf)
8. [Formulation and estimation of dynamic models using panel data (Journal of Econometrics, 1982)](https://doi.org/10.1016/0304-4076%2882%2990095-1)
9. [Manuel Arellano, Stephen Bond (1991). Some Tests of Specification for Panel Data: Monte Carlo Evidence and an Application to Employment Equations. The Review of Economic Studies.](https://doi.org/10.2307/2297968)
10. [Initial conditions and moment restrictions in dynamic panel data models (Journal of Econometrics, 1998)](https://doi.org/10.1016/s0304-4076%2898%2900009-8)
11. [On bias, inconsistency, and efficiency of various estimators in dynamic panel data models (Journal of Econometrics, 1995)](https://doi.org/10.1016/0304-4076%2894%2901643-e)
12. [FDML versus GMM for Dynamic Panel Models with Roots Near Unity](https://www.mdpi.com/1911-8074/14/9/405)
13. [Estimating Linear Dynamic Panels with Recentered Moments](https://www.mdpi.com/2225-1146/12/1/3)
14. [GMM estimation with persistent panel data: an application to production functions (Blundell & Bond, IFS working paper 99/04)](https://ideas.repec.org/p/ifs/ifsewp/99-04.html)
15. [Working Paper Number 125 (Roodman, 'Too Many Instruments')](https://www.cgdev.org/sites/default/files/14256_file_Instruments.pdf)
16. [Estimating Dynamic Panel Models: Backing out the Nickell Bias](https://economics.mit.edu/sites/default/files/2022-09/Estimating%20Dynamic%20Panel%20Models%20Backing%20out%20the%20Nickell%20Bias.pdf)
17. [GMM estimation and inference in dynamic panel data models with persistent data (Econometric Theory)](https://www.cambridge.org/core/journals/econometric-theory/article/abs/gmm-estimation-and-inference-in-dynamic-panel-data-models-with-persistent-data/2CAF20348B376F8467C1EBA19AB6E8FC)
18. [arXiv paper citing weak-instrument literature](https://arxiv.org/pdf/2311.03471)
19. [Bias in dynamic panel estimation with fixed effects, incidental trends and cross section dependence](https://www.sciencedirect.com/science/article/abs/pii/S030440760600042X)
20. [IV, GMM or likelihood approach to estimate dynamic panel models when either N or T or both are large (Journal of Econometrics, 2015)](https://ideas.repec.org/a/eee/econom/v187y2015i1p312-322.html)

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

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

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/dynamic-panel-model

English original: https://www.edgepedia.org/dynamic-panel-model
