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:

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

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


Published Version of Paper: xtserialpm: A Portmanteau Test for Serial Correlation in a Linear Panel Model, Jochmans, K. and Verardi, V., Stata Journal (2020)

<< CWPE Home | CWPE List 2019 >>