In this article, we introduce a new community-contributed command, xthst, to test for slope heterogeneity in panels with many observations over cross-sectional units and time periods. The command implements such a test, the delta test (Pesaran and Yamagata, 2008, Journal of Econometrics 142: 50–93). Under its null, slope coefficients are homogeneous across cross-sectional units. Under the alternative, slope coefficients are heterogeneous in the cross-sectional dimension. xthst also includes two extensions. The first is a heteroskedasticity- and autocorrelation-consistent robust test along the lines of Blomquist and Westerlund (2013, Economics Letters 121: 374–378). The second extension is a cross-sectional-dependence robust version. We discuss all tests and present examples using an economic growth model. A Monte Carlo simulation shows that the size and the power behave as expected.
CITATION STYLE
Bersvendsen, T., & Ditzen, J. (2021). Testing for slope heterogeneity in Stata. Stata Journal, 21(1), 51–80. https://doi.org/10.1177/1536867X211000004
Mendeley helps you to discover research relevant for your work.