7.3. Local Projections Suite
Methodological Part 7.3. Local Projections Suite in 7. Multivariate Time Series, Local Projections and Spillover Networks provides step-by-step How-To implementation guides for 3 econometric model lessons spanning from Section 7.3.1 to 7.3.3. Full theoretical derivations are available at VietLOD Part 7.3 alongside cloud execution on EcoLab.
Video Tutorial: How-To Guide for Part 7.3: Local Projections Suite in Stata 18, R 4.x, and Python 3.11+
7.3.1. Methodological Overview and Structural Equations
- Methodological Focus: Provides consistent estimation and robust inference for Local Projections Suite specifications within Multivariate Time Series, Local Projections and Spillover Networks.
- Mandatory Post-Estimation Diagnostics: Dải tin cậy đồng thời/điểm & Newey–West HAC theo chân trời , kiểm định Wald tích lũy, kiểm định phi tuyến trạng thái..
Core structural specification for Part 7.3:
Estimator objective and moment conditions:
7.3.2. Econometric Model Lessons in Part 7.3
Directly estimates horizon-by-horizon impulse responses without compounding VAR specification errors, remaining valid under persistent proce...
Identifies structural dynamic causal responses at each horizon using external proxy or high-frequency shock instruments via lag-augmented 2S...
Estimates medium-run cumulative panel impulse responses absorbing unit and time fixed effects with cross-sectionally and serially robust inf...
7.3.3. Comparative Execution Syntax Across Stata 18, R 4.x, and Python 3.11+
| Section & Model Title | Estimator Key | Stata 18 MP Syntax | R 4.x Syntax | Python 3.11+ Syntax | Support |
|---|---|---|---|---|---|
| 7.3.1 · Jorda Lag-Augmented Local Projections | local_projections | lpirf y x1 x2, step(12) lags(1/4) vce(hac nwest) | lpirfs::lp_lin(endog_data = df[, c('y', 'x1', 'x2')], lags_endog_lin = 4, hor = 12, nw_lag = 4) | smf.ols('y_lead_h ~ shock + l1_y + x1 + x2', data=df).fit(cov_type='HAC', cov_kwds={'maxlags': 4}) | Available |
| 7.3.2 · Instrumental Variables Local Projections | local_projections_iv | ivregress 2sls f4.y l(1/2).y (policy = z_shock), vce(hac nwest 5) | lpirfs::lp_lin_iv(endog_data = df, shock = shock_df, instrum = z_df, hor = 12) | IV2SLS.from_formula('y_lead_h ~ 1 + l1_y + [policy ~ z_shock]', data=df).fit(cov_type='kernel') | Available |
| 7.3.3 · Panel Local Projections with Driscoll-Kraay Inference | panel_local_projections | reghdfe f4.y shock l1_y x1, absorb(id year) vce(cluster id) | lpirfs::lp_lin_panel(data_set = df, endog_data = 'y', shock = 'shock', panel_model = 'within', hor = 8) | pyfixest.feols('y_lead_h ~ shock + l1_y + x1 | id + year', data=df, vcov={'CRV1': 'id'}) | Available |
7.3.4. Standard Implementation Workflow for Part 7.3
Step 1. Load Standardized Practice Datasets From VietLOD, EcoData, or Finco
Download the model-specific .csv practice dataset in Part 7.3 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.3.1 to 7.3.3 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 Dải tin cậy đồng thời/điểm & Newey–West HAC theo chân trời , kiểm định Wald tích lũy, kiểm định phi tuyến trạng thái. and dispatch the specification to EcoLab for automated journal-grade reporting.