Skip to main content

7. Multivariate Time Series, Local Projections and Spillover Networks

Verified Environments & Platforms:EcoDataEcoLabFincoVietLOD

Chapter 7. Multivariate Time Series, Local Projections and Spillover Networks provides step-by-step How-To implementation guides for 21 econometric model lessons organized across 5 methodological parts from Section 7.1.1 to 7.5.3. Every guide is synchronized with the full academic lecture at VietLOD Chapter 7 and supports automated cloud execution on EcoLab.

Video Tutorial: How-To Guide for Chapter 7: Multivariate Time Series, Local Projections and Spillover Networks in Stata 18, R 4.x, and Python 3.11+

7.1. Central Research Question and Core Mathematical Specification​

  • Central Research Question: How to identify structural macroeconomic shocks, trace dynamic impulse response functions, and quantify directional connectedness across multivariate systems?
  • Chapter Architecture: Encompasses 5 specialized methodological parts from 7.1 to 7.5 and 21 empirical model lessons validated on Vietnamese datasets from EcoData and Finco.

Core structural equation for Chapter 7:

Yt+h=αh+βhShockt+∑ℓ=1pΓh,ℓYt−ℓ+ut+h,h=0,1,…,HY_{t+h} = \alpha_h + \beta_h \text{Shock}_t + \sum_{\ell=1}^p \Gamma_{h,\ell} Y_{t-\ell} + u_{t+h}, \quad h = 0, 1, \dots, H
Methodological Scope Boundary:Recursive Cholesky identification in Structural VAR is sensitive to variable ordering unless grounded in institutional timing restrictions or external instruments. Mandatory diagnostics for this chapter include: Eigenvalue Stability Condition, Granger/Toda–Yamamoto Wald Test, Newey–West HAC IRF Bands, Montiel Olea–Pflueger LP-IV F-stat, Diebold–Yilmaz TCI/NET.

7.2. Explore the 5 Methodological Parts in Chapter 7​

7 Lessons
7.1. Vector Autoregression, VECM and Structural VAR

Step-by-step How-To guides, tri-engine scripts, and diagnostic workflows for Vector Autoregression, VECM and Structural VAR estimators.

Explore Guide
4 Lessons
7.2. Granger Causality and Impulse Response Analysis

Step-by-step How-To guides, tri-engine scripts, and diagnostic workflows for Granger Causality and Impulse Response Analysis estimators.

Explore Guide
3 Lessons
7.3. Local Projections Suite

Step-by-step How-To guides, tri-engine scripts, and diagnostic workflows for Local Projections Suite estimators.

Explore Guide
4 Lessons
7.4. Time-Varying Parameter VAR and Spillover Networks

Step-by-step How-To guides, tri-engine scripts, and diagnostic workflows for Time-Varying Parameter VAR and Spillover Networks estimators.

Explore Guide
3 Lessons
7.5. Threshold Autoregression and Markov Regime Switching

Step-by-step How-To guides, tri-engine scripts, and diagnostic workflows for Threshold Autoregression and Markov Regime Switching estimators.

Explore Guide

7.3. Four-Step Workflow for Selecting and Executing Models in Chapter 7​

Step 1. Select the Appropriate Methodological Part From 7.1 to 7.5

Match your economic hypothesis and sample structure against the identification requirements in Chapter 7 to select the appropriate A.B.C model lesson.

Step 2. Prepare Standardized Datasets From EcoData or Finco

Download the standardized .csv practice file for your target estimator from /src/ecoaz/data/ or extract live empirical series from EcoData and Finco.

Step 3. Estimate Parameters and Run Diagnostics in Stata 18, R 4.x, and Python 3.11+

Execute the tri-engine scripts provided in each model guide and verify the mandatory post-estimation diagnostics: Eigenvalue Stability Condition, Granger/Toda–Yamamoto Wald Test, Newey–West HAC IRF Bands, Montiel Olea–Pflueger LP-IV F-stat, Diebold–Yilmaz TCI/NET.

Step 4. Verify Three-Software Convergence and Export Publication Tables on EcoLab

Confirm numerical convergence across Stata, R, and Python using the three-panel empirical figure and generate journal-grade tables on EcoLab.

7.4. Complete Directory of 21 Econometric Model Lessons in Chapter 7​

SectionEconometric Model Lesson TitleEstimator KeyLevelSoftware Packages Stata · R · PythonSupport
7.1.17.1.1. Vector Autoregression — VARvarL1base Stata · vars · statsmodelsAvailable
7.1.27.1.2. Vector Error-Correction — VECMvecmL2base Stata · urca / vars · statsmodelsAvailable
7.1.37.1.3. Structural Vector Autoregression — SVARsvarL2base Stata · vars · statsmodelsAvailable
7.1.47.1.4. Minnesota-Prior Bayesian VARbvarL3Stata 18 bayes: var · vars / BVAR · statsmodels / numpyAvailable
7.2.17.2.1. Multi-Lag Granger Causality Systemgranger_causalityL1base Stata · lmtest / vars · statsmodelsAvailable
7.2.27.2.2. Orthogonalized Impulse Response System — IRFimpulse_responseL1base Stata · vars · statsmodelsAvailable
7.3.17.3.1. Jorda Lag-Augmented Local Projectionslocal_projectionsL2Stata 18 lpirf · lpirfs · statsmodelsAvailable
7.3.27.3.2. Instrumental Variables Local Projectionslocal_projections_ivL3Stata 18 lpirf / ivregress · lpirfs · linearmodelsAvailable
7.3.37.3.3. Panel Local Projections with Driscoll-Kraay Inferencepanel_local_projectionsL3reghdfe / xtscc · lpirfs / fixest · pyfixestAvailable
7.4.17.4.1. Factor-Augmented Vector AutoregressionfavarL3pca / svar · FAVAR / vars · statsmodelsAvailable
7.4.27.4.2. Time-Varying Parameter Vector Autoregressiontvp_varL4Stata sspace · bvarsv / tvReg · statsmodels / scipyAvailable
7.4.37.4.3. Diebold-Yilmaz Generalized Spillover Connectednessspillover_connectednessL3dyconnectedness / var · ConnectednessApproach · statsmodelsAvailable
7.5.17.5.1. Self-Exciting Threshold Autoregression — SETARsetarL2Stata 18 threshold · stats / strucchange · statsmodelsAvailable
7.5.27.5.2. Hamilton Markov Regime-Switching Regressionmarkov_regressionL4base Stata · stats / MSwM · statsmodelsAvailable
7.5.37.5.3. Multivariate Markov-Switching Vector Autoregressionms_varL4Stata mswitch · MSwM / vars · statsmodelsAvailable

| 7.1.5 | 7.1.5. Vector Autoregressive Moving Average Hannan Rissanen | varma_multivariate | L4 | dfactor · MTS · statsmodels | Available | | 7.1.6 | 7.1.6. Global Vector Autoregression with Foreign Star Variables | global_var_pesaran_gvar | L4 | var · GVARX · statsmodels | Available | | 7.1.7 | 7.1.7. Proxy Structural VAR with External Instruments | proxy_svar_external_iv | L4 | var · svars · statsmodels | Available | | 7.2.3 | 7.2.3. Hatemi J Asymmetric Positive and Negative Granger Causality | hatemi_j_asymmetric_causality | L4 | var · vars · statsmodels | Available | | 7.2.4 | 7.2.4. Bates Granger Optimal Forecast Combination and Mincer Zarnowitz Efficiency | mincer_zarnowitz_forecast_combination | L4 | newey · ForecastComb · statsmodels | Available | | 7.4.4 | 7.4.4. Mixed Frequency Kalman Nowcasting Dynamic Factor Model | nowcasting_dynamic_factor_banbura | L4 | dfactor · nowcasting · statsmodels | Available |

7.5. Key Academic References​

  • Sims, C. A.(1980). Macroeconomics and reality. Econometrica, 48, số 1, 1–48.
  • Johansen, S.(1995). Likelihood-Based Inference in Cointegrated Vector Autoregressive Models. Oxford University Press.
  • Jordà(2005). Econometric specification, identification, and asymptotic inference.
  • Montiel Olea, & Plagborg-Møller(2021). Econometric specification, identification, and asymptotic inference.
  • Primiceri(2005). Econometric specification, identification, and asymptotic inference.
  • Diebold, & Yilmaz(2012, 2014). Econometric specification, identification, and asymptotic inference.
  • Pesaran, M. H.(2015). Time Series and Panel Data Econometrics, Chương 21–24: VAR, VECM, Impulse Responses and Structural Identification. Oxford University Press.
  • Becketti, S.(2020). Introduction to Time Series Using Stata, Revised ed, Chương 9–10: Multivariate Time Series, VAR, SVAR and VECM. Stata Press.
  • Hansen, B. E.(2022). Econometrics, Chương 15: Multivariate Time Series and Local Projections. Princeton University Press.
  • Brooks, C.(2019). Introductory Econometrics for Finance, 4th ed, Chương 7–8 & 10: VAR and Regime-Switching Models. Cambridge University Press.