-
Notifications
You must be signed in to change notification settings - Fork 1
mean_ols_panel
The Mean OLS Panel VAR implements a simple but effective panel VAR approach that pools information across units through mean restrictions while allowing for unit-specific dynamics. This estimator treats each cross-sectional unit (countries, regions, firms, etc.) as having its own VAR system while sharing information through common mean parameters, making it suitable for heterogeneous panel data where units share some common characteristics.
The Mean OLS Panel VAR specification features:
- Unit-specific VAR coefficients with common means
- Information sharing across units through hierarchical structure
- Minnesota-type priors applied to mean parameters
- Pooling benefits while maintaining unit heterogeneity
- Efficient estimation through mean restrictions
This approach strikes a balance between the efficiency gains from pooling and the flexibility needed to accommodate unit-specific dynamics.
-
Autoregression: Prior on first-order autoregression
- Range: [0, 1]
- Default: 0.8
- Controls the belief in random walk behavior for own lags across all units
-
Lambda1: Overall tightness of priors
- Range: (0, ∞)
- Default: 0.1
- Smaller values impose tighter priors (more shrinkage) on mean coefficients
-
Lambda2: Variable weighting
- Range: (0, ∞)
- Default: 0.5
- Controls relative weights between own-variable and cross-variable lags
-
Lambda3: Lag decay
- Range: (0, ∞)
- Default: 1
- Controls how quickly prior importance decays with lag length
-
Lambda4: Exogenous variable tightness
- Range: (0, ∞)
- Default: 100
- Controls prior tightness on exogenous variable coefficients
-
Lambda5: Block exogeneity shrinkage
- Range: (0, ∞)
- Default: 0.001
- Controls shrinkage when block exogeneity is imposed
-
Exogenous: Priors on exogenous variables flag
- Default: false
- Enables specialized priors for exogenous variables
-
BlockExogenous: Block exogeneity flag
- Default: false
- Imposes block exogeneity restrictions
-
Burnin: Number of burn-in draws
- Range: [0, ∞)
- Default: 0
- Recommended: Several thousand for proper convergence in panel setting
-
StabilityThreshold: Threshold for maximum eigenvalue magnitude
- Range: (0, ∞)
- Default: null (no stability check)
- Ensures VAR stability for each unit
-
MaxNumUnstableAttempts: Maximum number of unstable sampling attempts
- Range: [1, ∞)
- Default: 1000
- Maximum attempts to find stable draw before stopping
- Heterogeneous panels: When units are similar but not identical
- Limited time series: When individual unit time series are short
- Cross-unit learning: When units can inform each other's estimates
- Simple panel structure: When complex cross-unit dependencies are not needed
- Very heterogeneous units: When units are fundamentally different
- Long time series: When individual estimation is feasible and preferred
- Complex dependencies: When cross-unit correlations/spillovers are important
- Single unit analysis: When panel structure is not relevant
- Requires balanced panel or careful handling of unbalanced structure
- Monitor whether pooling improves over individual estimation
- Consider unit-specific vs. common parameters trade-off
- Assess whether mean restrictions are economically reasonable
For unit i:
y_{i,t} = X_{i,t} β_i + ε_{i,t}
Unit-specific coefficients follow:
β_i ~ N(β̄, Σ_β)
where β̄ represents common mean coefficients.
The mean coefficients receive Minnesota-type priors:
β̄ ~ N(μ_β, Ω_β)
- Speed: Fast due to simple panel structure
- Memory: Moderate requirements scaling with number of units
- Convergence: Generally good convergence properties
- Scalability: Scales reasonably well with panel dimensions
- Efficient pooling across units
- Standard Minnesota prior framework
- Straightforward MCMC implementation
- Good numerical stability
- Multiple cross-sectional units with time series data
- Preferably balanced panel structure
- Sufficient time series length for each unit
- Common variable definitions across units
- Information sharing occurs through mean parameters
- Units with more data influence mean estimates more
- Shrinkage toward common mean provides regularization
- Useful when units represent similar economic entities
- Efficiency: More efficient when units share characteristics
- Bias: Less individual unit bias when time series are short
- Flexibility: Less flexible than completely separate estimation
- Performance: Often better forecasting with limited data
- Heterogeneity: Allows for unit-specific parameters
- Restriction: Less restrictive than assuming identical coefficients
- Information use: Better use of cross-unit information than no pooling
- Robustness: More robust to unit heterogeneity
- Complexity: Simpler than full hierarchical modeling
- Information sharing: Less sophisticated information sharing
- Speed: Faster than more complex hierarchical approaches
- Interpretability: More straightforward interpretation
- Ensure consistent variable definitions across units
- Handle missing data appropriately
- Consider variable transformations (levels vs. differences)
- Assess need for unit-specific trends or intercepts
- Compare with individual unit estimations
- Assess improvement in forecasting performance
- Check for unit-specific coefficient reasonableness
- Validate common mean parameter estimates
- Compare unit-specific coefficients with common means
- Assess dispersion of unit-specific parameters
- Check for outlier units that deviate substantially
- Evaluate economic plausibility of common patterns
- Cross-validation across units and time
- Comparison with alternative panel specifications
- Assessment of pooling benefits vs. heterogeneity costs
- Out-of-sample forecasting evaluation
- Canova, F. and M. Ciccarelli (2009). "Estimating Multi-Country VAR Models"
- Pesaran, M.H., T. Schuermann, and S.M. Weiner (2004). "Modeling Regional Interdependencies using a Global Error-Correcting Macroeconometric Model"
- Koop, G. and D. Korobilis (2016). "Model Uncertainty in Panel Vector Autoregressive Models"
- Assenmacher, K. and F. Wickens (2012). "Macroeconomic Imbalances: A Question of Trust?"