skip to content

Faculty of Economics

Journal Cover

Jochmans, K. and Verardi, V.

xtserialpm: A Portmanteau Test for Serial Correlation in a Linear Panel Model

Stata Journal

Vol. 20(1) pp. 149-161 (2020)

Abstract: We introduce the command xtserialpm to perform the portmanteau test developed in Jochmans (2019, Cambridge Working Papers in Economics No. 1993, University of Cambridge, Faculty of Economics). The procedure tests for serial correlation of arbitrary form in the errors of a linear panel model after estimation of the regression coefficients by the within-group estimator. The test is designed for short panels and can deal with general missing-data patterns. The test is different from the related portmanteau test of Inoue and Solon (2006, Econometric Theory 22: 835–851), which is performed by xtistest (Wursten, 2018, Stata Journal 18: 76–100), in that it allows for heteroskedasticity. In simulations documented below, xtserialpm is found to provide a more powerful test than xthrtest (Wursten 2018), which performs the test for first-order autocorrelation of Born and Breitung (2016, Econometric Reviews 35: 1290–1316). We also provide comparisons with xtistest and xtserial (Drukker, 2003, Stata Journal 3: 168–177). These tests perform well under stationarity but break down under even mild forms of heteroskedasticity.

Keywords: st0592, xtserialpm, heteroskedasticity, fixed-effects model, portmanteau test, serial correlation, short panel data, unbalanced panel

Author links: Koen Jochmans  

Publisher's Link: https://doi.org/10.1177%2F1536867X20909695



Cambridge Working Paper in Economics Version of Paper: xtserialpm: A portmanteau test for serial correlation in a linear panel model, Jochmans, K. and Verardi, V., (2019)

Papers and Publications



Recent Publications


Faraglia, E., Marcet, A., Oikonomou, R. and Scott, A. Government Debt management: the Short and the Long of it Review of Economic Studies [2019]

Ambrus, A. and Elliott, M. Investments in Social Ties, Risk Sharing, and Inequality Review of Economic Studies [2020]

Bergin, P. R. and Corsetti, G. Beyond Competitive Devaluations: The Monetary Dimensions of Comparative Advantage American Economic Journal: Macroeconomics [2020]

Li, Z. M., Laeven, R. J. A. and Vellekoop, M. H. Dependent Microstructure Noise and Integrated Volatility: Estimation from High-Frequency Data Journal of Econometrics [2020]