- Introduced by
- Arellano & Bond (1991); robust inference extensions by Windmeijer (2005)
- Year
- 1991
- Type
- Dynamic panel GMM estimator with robust inference
- Family
- Econometrics / time series
What does it do?
The Robust Arellano-Bond GMM estimator applies first-difference GMM to dynamic panel data and reports standard errors that stay reliable under heteroscedasticity and within-unit error correlation, using a finite-sample correction for the two-step covariance matrix.
First differencing removes unit fixed effects, and deeper lags of the outcome serve as instruments for the differenced lagged dependent variable. The estimator is designed for panels with many units and relatively few time periods.
The intuition behind the method
When the outcome in a panel depends on its own past value, as with firm investment or GDP growth, OLS and fixed-effects estimates are biased because the lagged outcome is correlated with the unit-specific error. Arellano and Bond addressed this by taking first differences to remove the fixed effects, and then using lagged levels of the outcome as instruments for the differenced lag. Robust standard errors address a second problem: when error variances differ across units or periods, or errors are correlated within units, the conventional two-step GMM standard errors understate uncertainty. The robust variance estimator and its finite-sample correction are meant to make the t-statistics more trustworthy. The method therefore targets both the dynamic bias and the reliability of inference.
History
Manuel Arellano and Stephen Bond published the first-difference GMM estimator in 1991, together with specification tests, in a paper that included an application to employment equations. The estimator was developed to address the bias that arises when a lagged dependent variable is combined with fixed effects in panel data. Finite-sample corrections to two-step standard errors and the robust inference refinements built on them were developed later and are now standard in modern implementations. Roodman (2009) later provided a practical Stata-based introduction to difference and system GMM.
When to use it
Use Robust Arellano-Bond GMM when you have a short panel (small T, large N) with a lagged dependent variable, unit fixed effects, and potential heteroscedasticity or clustering in the errors. It is the appropriate choice for firm-level, country-level, or individual-level dynamic models where standard errors vary across units. Do not use it when T is large relative to N (system GMM or time-series methods are preferred), when the number of instruments explodes (instrument count should not exceed the number of groups), or when you have no genuine dynamic structure in the outcome — in those cases simpler panel estimators suffice. The estimator's validity rests on three assumptions: the errors in levels are serially uncorrelated (checked by AR(2) in differences); regressors may be predetermined rather than strictly exogenous, with lagged levels valid as instruments only under that condition; and the instrument set satisfies the orthogonality conditions assessed by the overidentification test.
Limitations and considerations
- Lagged levels are weak instruments when the outcome is highly persistent, because they then predict the differenced lag poorly; in that case the estimator's precision suffers.
- The number of moment conditions grows rapidly with T, so instrument proliferation becomes a problem as the time dimension lengthens.
- First differencing discards between-unit variation; if most identifying information is cross-sectional, System GMM is generally more efficient.
- The estimator needs at least three time periods to form any valid instruments, and it cannot be applied with only two.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- First differencing removes time-invariant unit effects, and lagged levels of the outcome act as internal instruments, so no external instrument is needed for the lagged dependent variable.
- Sandwich-type or cluster-robust variance estimates reduce the downward bias of naive two-step standard errors and tolerate heteroscedasticity and within-unit correlation.
- The estimator remains usable when regressors are predetermined rather than strictly exogenous, since their lagged levels can serve as instruments.
- The AR(1) and AR(2) tests and the overidentification tests provide specification checks tied directly to the moment conditions the estimator relies on.
- Implemented in Stata (xtabond2, xtabond) and R (plm, pgmm). The robust and finite-sample options must be set explicitly in each package, because defaults differ.
Applications
- Employment demand equations at the firm level, the setting of Arellano and Bond's original application.
- Investment equations that include lagged investment as a regressor.
- Growth regressions with a lagged outcome in short panels of countries or regions.
How it works
How it works
First-differencing eliminates time-invariant unit fixed effects: subtracting period t-1 from period t removes the individual intercept. The model becomes one in which lagged levels of the outcome, which are uncorrelated with the differenced error under the no-serial-correlation assumption, can serve as instruments.
Formula
\Delta y_{it} = \alpha \Delta y_{i,t-1} + \Delta X_{it}\beta + \Delta \varepsilon_{it}Lagged levels of the dependent variable (y_{i,t-2} and earlier) and predetermined or exogenous regressors are stacked into the instrument matrix Z. These instruments are correlated with the differenced regressors but uncorrelated with the differenced errors, which is what the GMM moment conditions require.
Formula
Z_i = \text{diag}(y_{i1}, \ldots, y_{i,t-2},\, X_{i1}, \ldots)The two-step GMM estimator minimises a weighted quadratic form in the sample moment conditions E[Z' Δε] = 0, with the weighting matrix A derived from first-step residuals. The point estimates therefore depend on that weighting matrix, not only on the instrument set.
Formula
\hat{\theta}_{GMM} = \left(D'ZAZ'D\right)^{-1}D'ZAZ'\Delta yInstead of relying only on the asymptotic GMM variance formula, the covariance matrix is computed in sandwich form using the robust residual-based weighting term. A finite-sample correction for the estimation of the weighting matrix can be applied to the two-step covariance, and cluster-robust variants allow arbitrary correlation within units.
Formula
\hat{V}_{robust} = (D'ZAZ'D)^{-1} D'Z\hat{A}_{robust}Z'D (D'ZAZ'D)^{-1}After estimation, the Arellano-Bond AR(1) and AR(2) tests examine serial correlation in the differenced residuals. AR(1) in differences is expected even when the errors in levels are serially uncorrelated, so its rejection is not a problem. A significant AR(2) in differences indicates serial correlation in the errors in levels, which invalidates instruments dated t-2 and earlier. For overidentifying restrictions, use the Hansen J-test with the robust two-step estimator. The Sargan test assumes homoscedastic errors and can be misleading once the variance is made robust.
Common pitfalls
- Ignoring instrument count: when the number of instruments exceeds the number of groups, the Hansen test loses power and results can be unreliable. Collapse the instrument matrix or limit the lag depth.
- Skipping the AR(2) test: rejection of the null implies serial correlation in the errors in levels, which invalidates the standard instrument set.
- Reporting two-step standard errors without the Windmeijer finite-sample correction or a cluster-robust alternative, which makes the t-statistics overly optimistic.
- Applying the estimator to long panels, where T is large relative to N: the instrument matrix becomes unwieldy and the fixed-T, large-N reasoning behind the estimator no longer fits the data well.
Frequently asked questions
What makes the standard errors 'robust' in this estimator?
Two features are involved. The sandwich-form variance remains valid under heteroscedasticity and, in the cluster-robust version, under arbitrary correlation within units. A finite-sample correction for the estimation of the weighting matrix can additionally be applied to the two-step covariance, because without it two-step standard errors can be substantially too small, producing misleading t-statistics.
How is this different from plain Arellano-Bond GMM?
The plain version is the same two-step GMM point estimator, reported with conventional standard errors from the asymptotic GMM variance formula, without the sandwich form or the finite-sample correction. The robust version changes only how the covariance matrix is computed; for a given specification and weighting matrix it does not change the point estimates. Because conventional two-step standard errors understate uncertainty, the robust version is preferred when t-statistics are used for inference.
How many instruments should I use?
A practical rule is to keep the instrument count below the number of cross-sectional units. The 'collapse' option in xtabond2 creates one instrument per variable rather than one per lag-period combination, and robustness can be checked by limiting the lag depth.
When should I prefer System GMM over Robust Arellano-Bond GMM?
When the dependent variable is highly persistent (close to a unit root) or the regressors behave close to random walks, the lagged-level instruments used by Arellano-Bond become weak. System GMM adds lagged differences as instruments for the levels equation, which can substantially improve efficiency in those cases, and it is the standard alternative in this setting.
What does the AR(2) test check?
The AR(2) test examines second-order serial correlation in the first-differenced residuals. Differencing induces a first-order moving-average structure, so AR(1) in differences is expected and is not by itself a problem. A significant AR(2) in differences points to serial correlation in the errors in levels, which makes lags dated t-2 and earlier invalid as instruments.
Related methods
Sources
Arellano, M., & Bond, S. (1991). Some tests of specification for panel data: Monte Carlo evidence and an application to employment equations. The Review of Economic Studies, 58(2), 277-297.
Open DOI referenceRoodman, D. (2009). How to do xtabond2: An introduction to difference and system GMM in Stata. The Stata Journal, 9(1), 86-136.
Open DOI reference