How to do Xtabond2: An Introduction to Difference and System GMM in Stata
Abstract
The difference and system generalized method-of-moments estimators, developed by Holtz-Eakin, Newey, and Rosen (1988, Econometrica 56: 1371–1395); Arellano and Bond (1991, Review of Economic Studies 58: 277–297); Arellano and Bover (1995, Journal of Econometrics 68: 29–51); and Blundell and Bond (1998, Journal of Econometrics 87: 115–143), are increasingly popular. Both are general estimators designed for situations with “small T, large N″ panels, meaning few time periods and many individuals; independent variables that are not strictly exogenous, meaning they are correlated with past and possibly current realizations of the error; fixed effects; and heteroskedasticity and autocorrelation within individuals. This pedagogic article first introduces linear generalized method of moments. Then it describes how limited time span and potential for fixed effects and endogenous regressors drive the design of the estimators of interest, offering Stata-based examples along the way. Next it describes how to apply these estimators with xtabond2. It also explains how to perform the Arellano–Bond test for autocorrelation in a panel after other Stata commands, using abar. The article concludes with some tips for proper use.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
The dataset structure ensures sufficient cross-sectional and temporal variation for reliable instrument construction and valid inference.
“this structure ensures sufficient cross-sectional and temporal variation for reliable instrument construction and valid inference, in line with roodman (2009).”
From Remittance–economic growth linkage in Africa: the roles of financial development and inflation (2025) · cites this paper as roodman (2009)
As per Roodman [63] and Ali et al. [68], AR(1) should be less than 0.05 and AR(2) should be more than 0.05 for results accuracy.
“As per Roodman [63] and Ali et al. [68], AR (1) should be less than 0.05%, and AR (2) should be more than 0.05% significant level for results accuracy, model reliability, and overcoming the insignificant effects of AR (1).”
From Do institutional governance and state fragility affect institutional quality in Asian economies? (2023) · cites this paper as [63]
There is no second-order autocorrelation in the residuals.
“Secondly, we verify the absence of second-order autocorrelation ( AR2 ) in the residuals (Roodman 2009).”
From Innovative development financing amidst uncertainty: how can African countries leverage domestic resource mobilization? (2025) · cites this paper as Roodman 2009
Cites
Arellano, M., & Bond, S. (1991) · The Review of Economic Studies · doi:10.2307/2297968 · Cited by 33,272 · see citing works
Initial conditions and moment restrictions in dynamic panel data models
Blundell, R., & Bond, S. (1998) · Journal of Econometrics · doi:10.1016/s0304-4076(98)00009-8 · Cited by 22,571 · see citing works
Another look at the instrumental variable estimation of error-components models
Arellano, M., & Bover, O. (1995) · Journal of Econometrics · doi:10.1016/0304-4076(94)01642-d · Cited by 19,880 · see citing works
Initial conditions and moment restrictions in dynamic panel data models
Blundell, R., & Bond, S. (1995) · Working Paper Series · doi:10.1920/wp.ifs.1995.9517 · Cited by 14,755 · see citing works
Large Sample Properties of Generalized Method of Moments Estimators
Hansen, L. P. (1982) · Econometrica · doi:10.2307/1912775 · Cited by 13,467 · see citing works
Biases in dynamic models with fixed effects
Nickell, S. (1981) · Econometrica · doi:10.2307/1911408 · Cited by 8,735 · see citing works
A finite sample correction for the variance of linear efficient two-step GMM estimators
Windmeijer, F. A. G. (2004) · Journal of Econometrics · doi:10.1016/j.jeconom.2004.02.005 · Cited by 6,007 · see citing works
A Note on the Theme of Too Many Instruments *
Roodman, D. M. (2009) · Oxford Bulletin of Economics and Statistics · doi:10.1111/j.1468-0084.2008.00542.x · Cited by 5,678 · see citing works
Self-citationEstimating Vector Autoregressions with Panel Data
Holtz‐Eakin, D., Newey, W. K., & Rosen, H. S. (1988) · Econometrica · doi:10.2307/1913103 · Cited by 4,187 · see citing works
The Estimation of Economic Relationships using Instrumental Variables
Sargan, J. D. (1958) · Econometrica · doi:10.2307/1907619 · Cited by 3,377 · see citing works
Formulation and estimation of dynamic models using panel data
Anderson, T. W., & Hsiao, C. H. (1982) · Journal of Econometrics · doi:10.1016/0304-4076(82)90095-1 · Cited by 2,896 · see citing works
Instrumental Variables and GMM: Estimation and Testing
Baum, C. F., Schaffer, M. E., & Stillman, S. (2003) · The Stata Journal Promoting communications on statistics and Stata · doi:10.1177/1536867x0300300101 · Cited by 2,632 · see citing works
Dynamic panel data models: a guide to micro data methods and practice
Bond, S. R. (2002) · Portuguese Economic Journal · doi:10.1007/s10258-002-0009-9 · Cited by 2,586 · see citing works
Estimating dynamic panel data models: a guide for macroeconomists
Judson, R. A., & Owen, A. L. (1999) · Economics Letters · doi:10.1016/s0165-1765(99)00130-5 · Cited by 2,171 · see citing works
Stock markets, banks, and growth: Panel evidence
Beck, T., & Levine, R. (2004) · Journal of Banking & Finance · doi:10.1016/s0378-4266(02)00408-9 · Cited by 2,067 · see citing works
On bias, inconsistency, and efficiency of various estimators in dynamic panel data models
Kiviet, J. F. (1995) · Journal of Econometrics · doi:10.1016/0304-4076(94)01643-e · Cited by 1,969 · see citing works
Dynamic panel data models: a guide to microdata methods and practice
Bond, S. R. (2002) · Cemmap working papers · doi:10.1920/wp.cem.2002.0902 · Cited by 1,572 · see citing works
Does Foreign Direct Investment Accelerate Economic Growth?Preprint
Carkovic, M., & Levine, R. E. (2002) · SSRN Electronic Journal · doi:10.2139/ssrn.314924 · Cited by 1,345 · see citing works
Does foreign direct investment promote development?
(2005) · Choice Reviews Online · doi:10.5860/choice.43-2317 · Cited by 611 · see citing works
On testing overidentifying restrictions in dynamic panel data models
Bowsher, C. G. (2002) · Economics Letters · doi:10.1016/s0165-1765(02)00130-1 · Cited by 517 · see citing works
A Finite Sample Correction for the Variance of Linear Two-Step GMM EstimatorsPreprint
Windmeijer, F. A. G. (2000) · SSRN Electronic Journal · doi:10.2139/ssrn.250448 · Cited by 472 · see citing works
GMM Estimation of a Stochastic Volatility Model: A Monte Carlo Study
Andersen, T. G., & Sørensen, B. E. (1996) · Journal of Business and Economic Statistics · doi:10.1080/07350015.1996.10524660 · Cited by 468 · see citing works
An Introduction to Classical Econometric Theory
Cornwell, C. M., & Ruud, P. A. (2001) · Southern Economic Journal · doi:10.2307/1061587 · Cited by 311 · see citing works
Determinants of Current Account Deficits in Developing Countries
Calderón, C., Chong, A. E., & Loayza, N. (2002) · Contributions in Macroeconomics · doi:10.2202/1534-6005.1021 · Cited by 218 · see citing works
Determinants of Current Account Deficits in Developing Countries
Calderón, C., Chong, A. E., & Loayza, N. (2000) · World Bank, Washington, DC eBooks · doi:10.1596/1813-9450-2398 · Cited by 91 · see citing works
Flagged first, then by citations
Cited by
Sorted by citations
Dealing with endogeneity bias: the generalized method of moments (GMM) for panel data
Ullah, S., Akhtar, P., & Zaefarian, G. (2018) · Industrial Marketing Management · doi:10.1016/j.indmarman.2017.11.010 · Cited by 1,101 · see citing works
Dynamic panels with threshold effect and endogeneity
Seo, M. H., & Shin, Y. (2016) · Journal of Econometrics · doi:10.1016/j.jeconom.2016.03.005 · Cited by 698 · see citing works
Inequality, ICT and financial access in Africa
Tchamyou, V. S., Erreygers, G., & Cassimon, D. (2019) · Technological Forecasting and Social Change · doi:10.1016/j.techfore.2018.11.004 · Cited by 653 · see citing works
Samargandi, N., Fidrmuc, J., & Ghosh, S. (2015) · World Development · doi:10.1016/j.worlddev.2014.11.010 · Cited by 647 · see citing works
Ozturk, I., & Ullah, S. (2022) · Resources Conservation and Recycling · doi:10.1016/j.resconrec.2022.106489 · Cited by 480 · see citing works
Effects of the minimum wage on employment dynamics
Meer, J., & West, J. (2016) · Journal of Human Resources · doi:10.3368/jhr.51.2.0414-6298r1 · Cited by 446 · see citing works
The impact of artificial intelligence on labor productivity
Damioli, G., Van Roy, V., & Vertesy, D. (2021) · Eurasian Business Review · doi:10.1007/s40821-020-00172-8 · Cited by 345 · see citing works
Financial development, real sector, and economic growth
Ductor, L., & Grechyna, D. (2015) · International Review of Economics & Finance · doi:10.1016/j.iref.2015.01.001 · Cited by 347 · see citing works
Does digitization improve green total factor energy efficiency? Evidence from Chinese 213 cities
Gao, D., Li, G., & Yu, J. (2022) · Energy · doi:10.1016/j.energy.2022.123395 · Cited by 346 · see citing works
The role of governance in mobile phones for inclusive human development in sub-Saharan Africa
Asongu, S. A., & Nwachukwu, J. C. (2016) · Technovation · doi:10.1016/j.technovation.2016.04.002 · Cited by 280 · see citing works
Cellular Service Demand: Biased Beliefs, Learning, and Bill Shock
Grubb, M. D., & Osborne, M. (2015) · American Economic Review · doi:10.1257/aer.20120283 · Cited by 268 · see citing works
Darolia, R. (2014) · Economics of Education Review · doi:10.1016/j.econedurev.2013.10.004 · Cited by 238 · see citing works
ICT, openness and CO2 emissions in Africa
Asongu, S. A. (2018) · Environmental Science and Pollution Research · doi:10.1007/s11356-018-1239-4 · Cited by 199 · see citing works
Does digital investment affect carbon efficiency? Spatial effect and mechanism discussion
Xu, Q., Zhong, M., & Cao, M. (2022) · Science of The Total Environment · doi:10.1016/j.scitotenv.2022.154321 · Cited by 201 · see citing works
Interpreting pre-trends as anticipation: Impact on estimated treatment effects from tort reform
Malani, A., & Reif, J. (2015) · Journal of Public Economics · doi:10.1016/j.jpubeco.2015.01.001 · Cited by 178 · see citing works
Chatti, W. (2021) · Heliyon · doi:10.1016/j.heliyon.2021.e08190 · Cited by 152 · see citing works
Enhancing governance for environmental sustainability in sub-Saharan Africa
Asongu, S. A., & Odhiambo, N. M. (2021) · Energy Exploration & Exploitation · doi:10.1177/0144598719900657 · Cited by 127 · see citing works
Linear and Non-Linear Effects of Infrastructures on Inclusive Human Development in Africa
Nchofoung, T., Asongu, S., Njamen Kengdo, A., & Achuo, E. (2021) · doi:10.2139/ssrn.3866445 · Cited by 113
Falkenström, F., Ekeblad, A., & Holmqvist, R. (2016) · Journal of Consulting and Clinical Psychology · doi:10.1037/ccp0000119 · Cited by 103 · see citing works
Tavalaei, M. M., & Cennamo, C. (2021) · Long Range Planning · doi:10.1016/j.lrp.2020.101994 · Cited by 101 · see citing works
Financial intermediation and economic growth: Does income matter?
Seven, Ü., & Yetkiner, H. (2016) · Economic Systems · doi:10.1016/j.ecosys.2015.09.004 · Cited by 96 · see citing works
Inward and outward FDI and income inequality: evidence from Europe
Herzer, D., & Nunnenkamp, P. (2013) · Review of World Economics · doi:10.1007/s10290-013-0148-3 · Cited by 76 · see citing works
Nkemgha, G. Z., Nchofoung, T. N., & Sundjo, F. (2023) · Cities · doi:10.1016/j.cities.2022.104108 · Cited by 58 · see citing works
The effect of economic uncertainty on inventory and working capital for manufacturing firms
Dbouk, W., Moussawi-Haidar, L., & Jaber, M. Y. (2020) · International Journal of Production Economics · doi:10.1016/j.ijpe.2020.107888 · Cited by 62 · see citing works
Online reviews and product sales: the role of review visibility
Alzate, M., Arce-Urriza, M., & Cebollada, J. (2021) · Journal of Theoretical and Applied Electronic Commerce Research · doi:10.3390/jtaer16040038 · Cited by 45 · see citing works
Asteriou, D., Spanos, K., & Trachanas, E. (2024) · International Journal of Finance & Economics · doi:10.1002/ijfe.2793 · Cited by 37 · see citing works
“In this article we employ the system GMM estimator proposed by Roodman (2009) using a two-step approach and obtain robust standard errors with Windmeijer's (2005) finite sample correction.”
MethodLin, W. L., Lee, C., & Law, S. H. (2021) · Business Strategy and the Environment · doi:10.1002/bse.2662 · Cited by 30 · see citing works
Construction of a composite fintech index to measure financial inclusion for developing countries
Zheng, C., Rahman, M. A., Hossain, S., & Alam Siddik, M. N. (2024) · Applied Economics · doi:10.1080/00036846.2024.2313600 · Cited by 30 · see citing works
Do institutional governance and state fragility affect institutional quality in Asian economies?
Miao, D., Gillani, S., Abbas, H. S. M., & Zhan, H. (2023) · Heliyon · doi:10.1016/j.heliyon.2023.e15467 · Cited by 21 · see citing works
“GMM control measurement error is most likely to be considered in studies [62,63].”
BackgroundIbrahim, M., & Vo, X. V. (2020) · The Journal of International Trade & Economic Development · doi:10.1080/09638199.2020.1767682 · Cited by 20 · see citing works
FinTech and financial inclusion in emerging and developing economies: a system GMM model
Mashoene, M., Tweneboah, G., & Schaling, E. (2025) · Cogent Social Sciences · doi:10.1080/23311886.2025.2491701 · Cited by 18 · see citing works
Ratcliffe, J. H., Perenzin, A., & Sorg, E. T. (2017) · Policing: An International Journal of Police Strategies & Management · doi:10.1108/pijpsm-01-2016-0004 · Cited by 16 · see citing works
Amin, S. (2021) · Society and Business Review · doi:10.1108/sbr-01-2020-0007 · Cited by 9 · see citing works
Dawood, M., Feng, Z. R., Li, M., Tunio, F. H., Mutai, N. C., & Li, Z. H. (2026) · Economics of Transition and Institutional Change · doi:10.1111/ecot.70005 · Cited by 7 · see citing works
The joint impact of infrastructure and institutions on economic growth
Zergawu, Y. Z., Walle, Y. M., & Giménez-Gómez, J.-M. (2020) · Journal of Institutional Economics · doi:10.1017/s1744137420000016 · Cited by 5 · see citing works
Remittance–economic growth linkage in Africa: the roles of financial development and inflation
Yakubu, I. N., Issaku, K. M., & Oumarou, S. (2025) · Cogent Social Sciences · doi:10.1080/23311886.2025.2595306 · Cited by 4 · see citing works
“…this structure ensures sufficient cross-sectional and temporal variation for reliable instrument construction and valid inference, in line with roodman (2009). the System GMM also accommodates heteroskedasticity and autocorrelation, thereby enhancing the efficiency and robustness of the…”
Arogundade, S., Ngarachu, M., & Bandele, O. (2025) · Journal of Economic Structures · doi:10.1186/s40008-025-00360-7 · Cited by 2 · see citing works
- Authors
- Roodman, D.
- Affiliations
- Center for Global Development (US)
- Corresponding author
- Roodman, David
- ORCID
- Roodman, David
- Venue
- The Stata Journal: Promoting communications on statistics and Stata
- Publisher
- SAGE Publications
- Published
- 2009-03
- Volume
- 9
- Issue
- 1
- Pages
- 86-136
- ISSN
- 1536-867X (ISSN-L)
- 1536-8734
- OpenAlex
- W3123200913
- Cited by
- 9,848
- References
- 25
- Citations by year
- 2026: 1113 · 2025: 1016 · 2024: 907 · 2023: 960 · 2022: 860 · 2021: 812 · 2020: 692 · 2019: 511 · 2018: 441 · 2017: 387 · 2016: 382 · 2015: 362 · 2014: 368 · 2013: 279 · 2012: 255
- FWCI
- 507.21
- Type
- journal article
- Language
- en
- Open access
- closed
- Locations
- The Stata Journal Promoting communications on statistics and Stata (publishedVersion)
- Topics
- Social Sciences › Economics, Econometrics and Finance › Economics and Econometrics › Spatial and Panel Data Analysis
- Physical Sciences › Mathematics › Statistics and Probability › Advanced Causal Inference Techniques
- Physical Sciences › Mathematics › Statistics and Probability › Statistical Methods and Bayesian Inference
- Keywords
- system GMM, generalized method of moments, panel data, endogenous regressors, fixed effects, Stata
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review