Skip to main content

7.4. Time-Varying Parameter VAR and Spillover Networks

Verified Environments & Platforms:EcoDataEcoLabFincoVietLOD

Methodological Part 7.4. Time-Varying Parameter VAR and Spillover Networks in 7. Multivariate Time Series, Local Projections and Spillover Networks provides step-by-step How-To implementation guides for 4 econometric model lessons spanning from Section 7.4.1 to 7.4.4. Full theoretical derivations are available at VietLOD Part 7.4 alongside cloud execution on EcoLab.

Video Tutorial: How-To Guide for Part 7.4: Time-Varying Parameter VAR and Spillover Networks in Stata 18, R 4.x, and Python 3.11+

7.4.1. Methodological Overview and Structural Equations​

  • Methodological Focus: Provides consistent estimation and robust inference for Time-Varying Parameter VAR and Spillover Networks specifications within Multivariate Time Series, Local Projections and Spillover Networks.
  • Mandatory Post-Estimation Diagnostics: Tỷ lệ phương sai toàn tập thông tin được giải thích bởi rr nhân tố — Bai–Ng ICp2IC_{p2}, kiểm định ổn định nghiệm đơn vị hệ FAVAR, FEVD của từng chỉ báo..

Core structural specification for Part 7.4:

[FtYt]=Φ(L)[Ft−1Yt−1]+vt,Xt=ΛfFt+ΛyYt+et\begin{bmatrix} F_t \\ Y_t \end{bmatrix} = \Phi(L)\begin{bmatrix} F_{t-1} \\ Y_{t-1} \end{bmatrix} + v_t, \quad X_t = \Lambda^f F_t + \Lambda^y Y_t + e_t

Estimator objective and moment conditions:

Yt=c+∑ℓ=1pAℓYt−ℓ+B−1Σuεt,Ψh=∂Yt+h∂εt⊤=ΦhB−1ΣuY_t = c + \sum_{\ell=1}^p A_\ell Y_{t-\ell} + B^{-1}\Sigma_u \varepsilon_t, \quad \Psi_h = \frac{\partial Y_{t+h}}{\partial \varepsilon_t^\top} = \Phi_h B^{-1}\Sigma_u
Methodological Scope Boundary:When empirical data violate the identification conditions of Part 7.4, researchers should transition to the extended methodological parts in Chapter 7 or apply appropriate instrumental-variable and cluster-robust corrections.

7.4.2. Econometric Model Lessons in Part 7.4​

7.4.3. Comparative Execution Syntax Across Stata 18, R 4.x, and Python 3.11+​

Section & Model TitleEstimator KeyStata 18 MP SyntaxR 4.x SyntaxPython 3.11+ SyntaxSupport
7.4.1 · Factor-Augmented Vector Autoregressionfavardfactor (y x1 = , noconstant) (f = x2 x3, ar(1/2))vars::VAR(cbind(pc_factors, df$y), p = 2, type = 'const')VAR(df[['f1', 'f2', 'y']]).fit(maxlags=2)Available
7.4.2 · Time-Varying Parameter Vector Autoregressiontvp_varsspace (b1 L.b1, state noconstant) (y L.y, state)tvReg::tvVAR(df[, c('y', 'x1', 'x2')], p = 2)UnobservedComponents(df['y'], exog=df[['x1', 'x2']], mle_regression=False).fit()Available
7.4.3 · Diebold-Yilmaz Generalized Spillover Connectednessspillover_connectednessvar y x1 x2, lags(1/2) -> irf create gfevd, step(10)ConnectednessApproach::ConnectednessApproach(df_zoo, nlag = 2, nfore = 10)VAR(df[['y', 'x1', 'x2']]).fit(maxlags=2).fevd(10)Available

| 7.4.4 · Mixed Frequency Kalman Nowcasting Dynamic Factor Model | nowcasting_dynamic_factor_banbura | dfactor (y x1 x2 = , noconstant) (f = , ar(1)) | nowcasting::nowcast / dfms::DFM(X, r = 1, p = 1) | statsmodels.tsa.DynamicFactor / Kalman state-space smoother + bridge projection | Available |

7.4.4. Standard Implementation Workflow for Part 7.4​

Step 1. Load Standardized Practice Datasets From VietLOD, EcoData, or Finco

Download the model-specific .csv practice dataset in Part 7.4 or extract custom empirical panels from EcoData and Finco.

Step 2. Select the Optimal Estimator for Your Error and Sample Structure

Compare the estimators from 7.4.1 to 7.4.4 in the syntax matrix above and execute the estimation in Stata 18 MP, R 4.x, or Python 3.11+.

Step 3. Run Mandatory Diagnostics and Export Publication Tables on EcoLab

Verify all required diagnostics including Tỷ lệ phương sai toàn tập thông tin được giải thích bởi rr nhân tố — Bai–Ng ICp2IC_{p2}, kiểm định ổn định nghiệm đơn vị hệ FAVAR, FEVD của từng chỉ báo. and dispatch the specification to EcoLab for automated journal-grade reporting.