XTPVARCOINT: Stata module to perform Panel VAR Modeling with Cointegration, Structural Breaks, and Cross-Sectional Dependence
Merwan Roudane ()
Statistical Software Components from Boston College Department of Economics
Abstract:
xtpvarcoint implements a comprehensive econometric toolkit for vector autoregressive (VAR) modeling in heterogeneous panels. It is a Stata port of the R package pvars and provides: Panel cointegration rank tests based on the Johansen procedure (Larsson et al. 2001), the Breitung (2005) two-step estimator, the Saikkonen-Luetkepohl procedure (Arsova and Oersal 2018), and the correlation-augmented inverse normal test robust to cross-sectional dependence (Arsova and Oersal 2021). Panel VAR/VECM estimation using the mean-group (MG) and pooled mean-group (PMG) estimators with optional Kilian (1998) bias correction and factor-augmented specifications for cross-sectional dependence. Panel SVAR identification via Cholesky decomposition, Blanchard-Quah long-run restrictions, proxy/IV variables, distance covariance (DC), and Cramer-von Mises (CVM) independence criteria. Specification tools for determining the number of common factors (Onatski 2010, Ahn and Horenstein 2013, Bai and Ng 2002) and the optimal lag order based on AIC, HQC, SIC, and FPE criteria. Impulse response functions, {bf:forecast error variance decomposition}, and bootstrap confidence intervals via the panel moving-block bootstrap. Publication-quality plots for IRFs with confidence bands, FEVD stacked area charts, and companion matrix eigenvalue stability diagrams. The data must be xtset before calling xtpvarcoint. Individual-specific lag orders are supported by specifying a numlist in lags().
Language: Stata
Requires: Stata version 14
Keywords: panel data; panel VAR; panel VECM; cointegration; structural breaks (search for similar items in EconPapers)
Date: 2026-04-05
Note: This module should be installed from within Stata by typing "ssc install xtpvarcoint". 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/xtpvarcoint.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/x/xtpvarcoint.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/_/_xtpvarcoint_coint.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/_/_xtpvarcoint_irf.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/_/_xtpvarcoint_mata.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/_/_xtpvarcoint_moments.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/_/_xtpvarcoint_pcoint.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/_/_xtpvarcoint_pid.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/_/_xtpvarcoint_plot.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/_/_xtpvarcoint_pvar.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/_/_xtpvarcoint_rscoef.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/_/_xtpvarcoint_sboot.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/_/_xtpvarcoint_speci.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/x/xtpvarcoint_example.do sample do-file (text/plain)
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:s459662
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 ().