We propose a new command, xtsktest, for explaining nonnormalities in linear panel-data models. The command performs tests to explore skewness and excess kurtosis, allowing researchers to identify departures from Gaussianity in both error components of a standard panel regression, separately or jointly. The tests are based on recent results by Galvao et al. (2013, Journal of Multivariate Analysis 122: 35–52) and extend the classical Jarque–Bera normality test for the case of panel data.
1 April 2008 in The Stata Journal: Promoting communications on statistics and Stata
This paper derives unbalanced versions of the test statistics for first-order serial correlation and random individual effects summarized in Sosa-Escudero and Bera (2001, Stata Technical Bulletin Reprints, vol. 10, pp. 307–311), and updates their xttest1 routine. The derived test statistics should be useful for applied researchers faced with the increasing availability of panel information where not every individual or country is observed for the full time span. The test statistics proposed here are based on ordinary least-squares residuals and hence are computationally very simple.