skip to content

Faculty of Economics

CWPE Cover

Jochmans, K. and Verardi, V.

xtserialpm: A portmanteau test for serial correlation in a linear panel model

CWPE1944

Abstract: We introduce the command xtserialpm to perform the portmanteau test developed in Jochmans (2019). The procedure tests for serial correlation in the errors of a linear panel model after estimation of the regression coefficients by the within-group estimator. The test is different from the test of Inoue and Solon (2006) that is performed by xtistest (Wursten 2018) in that it allows for heteroskedasticity. In simulations documented below, xtserialpm is found to provide a much more powerful test than xtistest. xtserialpm can deal with unbalanced panel data.

Keywords: xtserialpm, heteroskedasticity, fixed-effect model, portmanteau test, serial correlation, short panel data, unbalanced panelexponential regression, gravity model, panel data, two-way fixed effects

JEL Codes: C33 C87

Author links: Koen Jochmans  

PDF: http://www.econ.cam.ac.uk/research-files/repec/cam/pdf/cwpe1944.pdf

Open Access Link: https://doi.org/10.17863/CAM.40108