-
Notifications
You must be signed in to change notification settings - Fork 1
general_tv
The General Time-Varying VAR implements the most flexible time-varying specification, combining time-varying coefficients with time-varying error covariances (stochastic volatility). This estimator allows for simultaneous evolution of both structural relationships and error volatilities, making it suitable for modeling complex time-varying economic systems with changing volatility patterns.
The GeneralTV specification features:
- Time-varying VAR coefficients following random walk processes
- Time-varying error covariances with stochastic volatility
- State-space representation for both parameters and volatilities
- MCMC estimation with specialized algorithms for high-dimensional systems
- Most comprehensive time-varying VAR specification available
This approach captures both structural parameter changes and evolving uncertainty/volatility patterns in economic data.
-
Burnin: Number of burn-in draws
- Range: [0, ∞)
- Default: 0
- Recommended: Extensive burn-in (10,000+) due to model complexity
-
StabilityThreshold: Threshold for maximum eigenvalue magnitude
- Range: (0, ∞)
- Default: null (no stability check)
- Ensures VAR stability by rejecting draws with eigenvalues above threshold
-
MaxNumUnstableAttempts: Maximum number of unstable sampling attempts
- Range: [1, ∞)
- Default: 1000
- Maximum attempts to find stable draw before stopping
-
HeteroskedasticityAutoRegression: AR coefficient on residual variance
- Range: [0, 1)
- Default: 1
- Controls persistence in stochastic volatility process
-
HeteroskedasticityShape: IG shape parameter on residual variance
- Range: (0, ∞)
- Default: 0.001
- Controls prior beliefs about volatility distribution shape
-
HeteroskedasticityScale: IG scale parameter on residual variance
- Range: (0, ∞)
- Default: 0.001
- Controls prior beliefs about volatility level
- Comprehensive time-variation: When both parameters and volatility change over time
- Financial crises: When modeling periods with changing volatility and relationships
- Long time series: When sufficient data exists for complex time-varying patterns
- Research applications: When understanding sources of time-variation is crucial
- Computational constraints: Extremely computationally demanding
- Short time series: Insufficient data for complex time-varying estimation
- Simple applications: When constant-parameter models are adequate
- Real-time applications: Too slow for high-frequency updating
- Requires very long time series (preferably 200+ observations)
- Extremely computationally intensive - plan for long estimation times
- Monitor convergence extensively across all parameter dimensions
- Consider simpler alternatives unless full time-variation is essential
Coefficients evolve as:
β_t = β_{t-1} + ν_t
Volatilities evolve as:
log(σ²_{i,t}) = log(σ²_{i,t-1}) + η_{i,t}
y_t = X_t β_t + A_t^{-1} Σ_t^{1/2} ε_t
where both coefficients and covariances are time-varying.
- Speed: Very slow - can take hours or days for estimation
- Memory: Extremely high memory requirements
- Convergence: Requires extensive monitoring and very long chains
- Parallelization: Limited due to sequential filtering requirements
- High-performance computing recommended
- Substantial RAM requirements (8GB+ recommended)
- Consider distributed computing for large systems
- Plan for multi-day estimation runs
- Use simpler models (BetaTV, stochastic volatility only) for starting values
- Careful tuning of proposal distributions in MCMC
- Consider sequential estimation approaches
- Monitor acceptance rates closely
- Use multiple chains with overdispersed starting values
- Monitor all parameter dimensions for convergence
- Check effective sample sizes across parameter space
- Consider thinning to reduce autocorrelation
- Adds: Time-varying volatility
- Cost: Much higher computational burden
- When to upgrade: When volatility changes are important
- Adds: Time-varying coefficients
- Cost: Higher computational complexity
- When to upgrade: When parameter instability is also present
- Compare time-varying parameters to structural break tests
- Assess volatility evolution against known economic events
- Validate forecasting performance against simpler alternatives
- Check parameter identification across different subsamples
- Sensitivity to prior specifications
- Robustness to different initialization strategies
- Comparison with alternative time-varying approaches
- Assessment of model parsimony vs. flexibility
- Primiceri, G.E. (2005). "Time Varying Structural Vector Autoregressions and Monetary Policy"
- Cogley, T. and T.J. Sargent (2005). "Drifts and Volatilities: Monetary Policies and Outcomes in the Post WWII US"
- Koop, G. and D. Korobilis (2013). "Large Time-Varying Parameter VARs"
- Carriero, A., T.E. Clark, and M. Marcellino (2019). "Large Vector Autoregressions with Stochastic Volatility and Non-Conjugate Priors"