Westerlund: Panel Cointegration Tests Based on Westerlund (2007)

Implements a functional approximation of the four panel cointegration tests developed by Westerlund (2007) <doi:10.1111/j.1468-0084.2007.00477.x>. The tests are based on structural rather than residual dynamics and allow for heterogeneity in both the long-run cointegrating relationship and the short-run dynamics. The package includes logic for automated lag and lead selection via AIC/BIC, Bartlett kernel long-run variance estimation, and a bootstrap procedure to handle cross-sectional dependence. It also includes a bootstrapping distribution visualization function for diagnostic purposes.

Package details

AuthorBosco Hung [aut, cre] (0000-0003-3073-303X)
MaintainerBosco Hung <bosco.hung@st-annes.ox.ac.uk>
LicenseMIT + file LICENSE
Version0.1.2
URL https://github.com/bosco-hung/WesterlundTest
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("Westerlund")

Try the Westerlund package in your browser

Any scripts or data that you put into this service are public.

Westerlund documentation built on Feb. 7, 2026, 5:07 p.m.