XTHPOOL: Stata module to perform Hausman poolability test for cointegrated panels (Westerlund and Hess 2011)
Merwan Roudane
Statistical Software Components from Boston College Department of Economics
Abstract:
xthpool implements the poolability test of Westerlund and Hess (2011, Journal of Applied Econometrics). Consider the cointegrated panel y_it = a_i + b_i x_it + e_it, where b_i is a unit-specific slope vector and the error e_it may contain r common factors, so the cross-sectional units are dependent. The test evaluates the null hypothesis of poolability H0: b_i = b for all i against the heterogeneous alternative that at least one unit differs. It compares an individual and a pooled bias-adjusted least-squares estimator of the cointegrating slope, unit by unit, in a Hausman (1978) way, and takes the maximum of the individual Hausman statistics. After a Gumbel normalization the statistic has a well-defined limiting distribution even when N is of the same order as T — a regime where the seemingly-unrelated Wald test of Mark, Ogaki and Sul (2005) is badly distorted.
Language: Stata
Requires: Stata version 14
Keywords: panel data; structural breaks; cointegration; Hausman; poolability (search for similar items in EconPapers)
Date: 2026-07-11
Note: This module should be installed from within Stata by typing "ssc install xthpool". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/x/xthpool.ado
http://fmwww.bc.edu/repec/bocode/x/xthpool.sthlp
http://fmwww.bc.edu/repec/bocode/x/xthpool_methods.sthlp
http://fmwww.bc.edu/repec/bocode/x/xthpool_example.do
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s459790
Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php
Access Statistics for this software item
More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().