Panel Cointegration Tests Based on Westerlund (2007)
Long-Run Variance Estimation with Bartlett Kernel
Standardize and Display Westerlund ECM Panel Cointegration Test Result...
First Difference with Strict Time Indexing
Time-Indexed Lag Extraction with Explicit Gaps
Strict Time-Series Mapping with Explicit Gaps
Plot Bootstrap Distributions for Westerlund ECM Panel Cointegration Te...
NA-Padded Lag and Lead Operator
Print Mean-Group ECM Output and Long-Run Relationship Tables
Formatted Coefficient Table for Westerlund Test Reporting
Westerlund ECM-Based Panel Cointegration Test
Bootstrap Routine for Westerlund ECM Panel Cointegration Tests
Compute Raw Westerlund ECM Panel Cointegration Statistics (Plain Routi...
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.
Useful links