Inputs to a panel VAR are balanced or unbalanced panels of K endogenous variables observed for N cross-sectional units over T time periods. Typical macro applications use quarterly GDP growth, inflation, interest rates, and exchange rates for 15--40 countries over 20--50 years. Exogenous variables (oil prices, global financial conditions) can enter as common factors. The data matrix has dimension (N×T)×K after stacking, but estimation never literally inverts this stacked system---it exploits the panel structure.
The model for unit i at time t is yit=μi+A1yi,t−1+⋯+Apyi,t−p+eit, where μi is a K×1 vector of unit fixed effects, A1,…,Ap are K×K coefficient matrices (pooled or unit-specific), and eit∼(0,Σ) is the reduced-form error. The fixed effects capture permanent cross-unit differences: Germany's average inflation level differs from Greece's, but the dynamic response to a monetary shock may be similar. Removing μi requires care because lagged dependent variables correlate with the demeaned error. The Helmert (forward orthogonal deviation) transformation removes fixed effects without introducing the Nickell bias that plagues standard within-group demeaning when T is moderate.
Estimation paths diverge by assumption about slope homogeneity. Pooled estimation (Love-Zicchino) treats all Aj as common, applies Helmert transformation, and estimates by system GMM with lagged levels as instruments. Mean-group estimation (Pesaran-Smith) runs separate VARs per unit and averages the coefficients, valid only when T is large enough for reliable unit-level estimation. Bayesian panel VAR (Canova-Ciccarelli) places a hierarchical Normal-Wishart prior on unit-specific coefficients, pulling them toward a cross-unit mean while letting the data determine how much heterogeneity survives. Structural identification then proceeds on the pooled, averaged, or posterior-mean reduced form: Cholesky decomposition of Σ for recursive identification, sign restrictions for theory-agnostic bounds, or proxy/external-instrument methods when a valid instrument exists.