1. Introduction
Accelerating digital infrastructure deployment alongside binding decarbonization commitments defines the central policy challenge for fast-industrializing Asian economies. In Vietnam, rapid manufacturing expansion, export-oriented foreign direct investment, and urban electrification have delivered sustained output growth, yet conventional factor accumulation increasingly collides with energy intensity ceilings, carbon border adjustment mechanisms, and localized environmental degradation. Against this backdrop, green total factor productivity—defined as multifactor production efficiency adjusted simultaneously for desirable economic output and undesirable environmental emissions—has emerged as the canonical welfare-relevant metric for evaluating sustainable structural transformation (Chung et al., 1997). Theoretical advances in directed technical change establish that innovation does not shift automatically toward clean technologies unless price signals, institutional enforcement, and complementary general-purpose infrastructure redirect private research and capital allocation toward low-emission processes (Acemoglu et al., 2012). Similarly, well-designed regulatory and governance architectures can stimulate efficiency-enhancing technological upgrading that offsets compliance costs and strengthens regional competitiveness (Porter & van der Linde, 1995).
Despite burgeoning international interest in the nexus between digitalization and green productivity, empirical literature on developing sub-national economies frequently exhibits four critical methodological weaknesses.
First, numerous provincial studies rely on pooled ordinary least squares or random-effects regressions that ignore persistent unobserved heterogeneity in geography, industrial heritage, and administrative capacity, thereby generating substantial upward omitted-variable bias.
Second, empirical designs often neglect cross-sectional dependence driven by macroeconomic cycles, national energy-price transitions, and inter-provincial supply-chain linkages, causing conventional standard errors to understate inferential uncertainty (Pesaran, 2021).
Third, interaction hypotheses positing that institutional governance amplifies the green returns to digital investment are routinely evaluated without reconciling alternative covariance estimators or plotting conditional marginal effects across the empirical support of the moderating variable.
Fourth, replicability remains fragile when empirical findings are tied to opaque single-software pipelines without transparent data provenance disclosure or cross-runtime numerical verification.
This study addresses these gaps through a dual contribution tailored to empirical economists, doctoral researchers, and policy analysts.
First, we establish a structured quantitative research agenda linking Vietnam's 63-province economic governance and digital transformation landscape to frontier panel econometrics—specifically integrating two-way fixed effects, spatial spillover modeling via Spatial Durbin specifications (Elhorst, 2014), heterogeneous dynamic factor modeling via cross-sectionally augmented autoregressive distributed lag estimators (Chudik & Pesaran, 2015), and modern staggered causal inference via the multi-period difference-in-differences frameworks of Callaway and Sant'Anna (2021) and de Chaisemartin and D'Haultfœuille (2020).
Second, we execute and audit a complete empirical benchmark across a balanced 63-province, 10-year panel covering observations from 2014 through 2023 using synchronized Python, R, and Stata 18 MP replication scripts. By pairing transparent provenance disclosure with exact mathematical reconciliation of standard errors and goodness-of-fit statistics across all three statistical runtimes, the paper demonstrates how sub-national empirical studies can satisfy stringent international journal reproducibility standards.
The remainder of the article proceeds as follows. Section 2 develops the conceptual framework and articulates high-impact sub-national research directions combining spatial econometrics and causal identification. Section 3 details the standardized data provenance, variable architecture, structural equations, and covariance estimation protocols. Section 4 reports baseline and moderation estimates, tri-runtime numerical parity, diagnostic tests, and a four-pillar robustness battery against major econometric threats. Section 5 derives actionable policy implications, candidly discusses methodological limitations, and concludes.
2. Conceptual Framework and Quantitative Research Agenda
2.1 Theoretical Channels Linking Digitalization, Governance, and Green Productivity
Provincial digital transformation operates on green total factor productivity through three distinct economic mechanisms. The first mechanism is resource-allocation optimization: broadband connectivity, industrial internet-of-things sensors, and cloud-based logistics platforms lower information frictions across energy grids and manufacturing supply chains, compressing energy and material waste per unit of real value added. The second mechanism is directed green innovation: digital platforms reduce fixed coordination costs for research collaboration and enable real-time emissions monitoring, lowering the marginal cost of adopting clean production processes consistent with Acemoglu et al. (2012). The third mechanism is financial intermediation efficiency: digitalized credit registries and enterprise reporting systems mitigate asymmetric information between commercial banks and green project developers, strengthening the transmission of targeted green credit lines into clean capital formation.
Crucially, however, digital hardware alone does not guarantee green productivity gains when local administrative institutions remain opaque or fragmented. Sub-national governance quality—captured in Vietnam by the Provincial Competitiveness Index pioneered by Malesky et al. (2015)—governs entry costs, land-access security, regulatory transparency, and the predictability of environmental enforcement. In provinces characterized by transparent planning and low informal compliance burdens, private enterprises can confidently commit long-horizon capital to green digital upgrading, reflecting the innovation-offset logic articulated by Porter and van der Linde (1995). Conversely, where institutional bottlenecks persist, digital infrastructure may primarily expand energy-intensive consumption or routine administrative digitization without inducing structural decarbonization. Examining whether institutional governance acts purely as an additive driver or also as a multiplicative complement to digital transformation therefore represents a central testable hypothesis.
2.2 Frontier Modeling Roadmap for Sub-National Empirical Studies
To guide high-impact graduate dissertations and international journal manuscripts beyond static baseline regressions, Figure 1 and the analytical roadmap below synthesize four complementary econometric pillars anchored in Vietnam's provincial panel architecture.
- Spatial Spillover Decomposition via the Spatial Durbin Model: Digital infrastructure, skilled engineering labor, and green supply-chain standards rarely respect administrative borders. Under a Spatial Durbin specification (Elhorst, 2014), the econometrician jointly estimates endogenous outcome contagion and exogenous digital spillovers across neighboring jurisdictions, decomposing total provincial effects into direct own-province impacts and indirect cross-border externalities:
Where:
- : green total factor productivity of province in calendar year ;
- : provincial digital transformation index for province in year ;
- : element of the row-normalized spatial weights matrix encoding geographic contiguity or inverse economic distance between provinces and , with diagonal entries ;
- : spatial autoregressive parameter measuring cross-provincial dependence in green productivity;
- : direct own-province effect of digital transformation on green productivity;
- : spatial spillover parameter measuring how neighboring provinces' digital upgrading influences local green productivity;
- : time-invariant province fixed effect absorbing geographic, ecological, and historical endowments;
- : common year fixed effect absorbing nationwide macroeconomic cycles and energy-price shifts;
- : idiosyncratic province-year disturbance term.
- Common-Factor Dynamics via Cross-Sectionally Augmented ARDL: When provincial panels span longer horizons and exhibit heterogeneous slope dynamics alongside unobserved global or national shocks—such as shifts in international carbon border tariffs or national renewable feed-in tariffs—standard fixed effects may yield inconsistent long-run elasticities. Augmenting dynamic autoregressive distributed lag regressions with cross-sectional averages of the dependent and explanatory variables recovers consistent short-run adjustment speeds and long-run equilibrium elasticities under weak exogeneity and unobserved common factors (Chudik & Pesaran, 2015).
- Staggered Causal Identification via Multi-Period Difference-in-Differences: Digital infrastructure rollouts, provincial e-government portals, and regional green-credit pilot decrees are typically adopted sequentially across cohorts of Vietnamese provinces rather than simultaneously. Recent econometric theory by de Chaisemartin and D'Haultfœuille (2020) demonstrates that conventional two-way fixed-effects estimators can assign negative weights to already-treated cohorts when treatment effects evolve dynamically over time. Estimating cohort-time average treatment effects via the doubly robust group-time estimator of Callaway and Sant'Anna (2021) isolates dynamic event-study paths, tests parallel pre-trends rigorously, and prevents staggered-adoption bias.
- Structural Heterogeneity and Financial Mediation: Linking provincial panels with enterprise-level registries enables researchers to test whether green credit expansion mediates the effect of digitalization on clean capital formation, and whether productivity gains concentrate in export-intensive coastal industrial corridors or diffuse toward lagging inland provinces.
3. Data Provenance, Variable Architecture, and Econometric Methodology
3.1 Transparent Data Provenance and Benchmark Calibration Disclosure
Rigorous empirical standards require unambiguous disclosure of sample boundaries and data provenance so that independent referees and automated verification audits can evaluate external validity without ambiguity. The empirical analysis in this study utilizes a strongly balanced sub-national panel comprising exactly observations across all Vietnamese provinces and centrally governed municipalities observed annually over periods from 2014 through 2023.
This transparent disclosure serves an essential methodological purpose. Because all five continuous series in the benchmark dataset are expressed on standardized continuous indices—allowing negative standardized realizations in lower-tail province-years—researchers must interpret estimated coefficients as standardized index-unit partial responses rather than raw percentage-point elasticities on unstandardized administrative scales. When transferring this identical econometric workflow to live administrative extracts from Vietnam's General Statistics Office, Ministry of Information and Communications, Vietnam Chamber of Commerce and Industry, and State Bank of Vietnam, analysts retain the exact identification architecture while substituting raw or log-transformed institutional records.
| Variable Symbol | Construct Name | Analytical Role | Reference Institutional Data Source |
|---|---|---|---|
GTFP | Green Total Factor Productivity | Dependent variable | General Statistics Office Statistical Yearbooks |
DIGI_INDEX | Provincial Digital Transformation Index | Primary explanatory variable | Ministry of Information and Communications |
PCI_SCORE | Provincial Competitiveness Index | Institutional moderator | VCCI and EcoData Provincial Panel |
FDI_INFLOW | Realized Foreign Direct Investment | Structural control variable | General Statistics Office of Vietnam |
GREEN_CREDIT | Green Credit Share of Total Lending | Green finance control and channel | State Bank of Vietnam and EcoData |
3.2 Baseline Two-Way Fixed Effects and Institutional Moderation Models
To benchmark core empirical relationships cleanly before extending to dynamic and spatial robustness checks, we specify two primary panel regressions implemented identically across Python, R, and Stata 18 MP. Model 1 estimates the additive baseline two-way fixed-effects specification:
Where:
- : green total factor productivity index of province in year ;
- : provincial digital transformation index of province in year ;
- : provincial institutional governance index measuring competitiveness and regulatory transparency;
- : realized foreign direct investment inflow index of province in year ;
- : green credit allocation index measuring green lending intensity;
- : structural partial-effect parameters identified from within-province, net-of-national-trend variation;
- : unobserved time-invariant province fixed effect for ;
- : unobserved common calendar-year fixed effect for ;
- : idiosyncratic error term.
Model 2 augments the baseline specification with the multiplicative interaction term to evaluate whether provincial institutional governance moderates the green productivity return to digital transformation:
Where:
- : conditional partial effect of digital transformation evaluated at ;
- : conditional partial effect of institutional governance evaluated at ;
- : institutional moderation parameter capturing whether higher governance quality amplifies or dampens digital green productivity gains;
- : identical structural controls, two-way fixed effects, and error term defined in Model 1.
From Model 2, the conditional marginal effect of provincial digital transformation across the empirical distribution of governance quality is given by:
Where:
- : vector of observed provincial covariates including , , , and ;
- : linear combination evaluated across governance grid values with delta-method standard errors derived from the full estimated covariance matrix.
3.3 Identification Assumptions and Multi-Convention Covariance Inference
Causal or structural interpretation of the two-way fixed-effects estimator rests on three transparent identification assumptions: first, strict exogeneity of regressors conditional on and , meaning idiosyncratic shocks do not feed back into contemporaneous or future digitalization and governance trajectories; Second, absence of omitted time-varying provincial confounders that co-move simultaneously with digital upgrading and green productivity; And third, stable unit treatment value across non-interacting observations in the baseline non-spatial equation.
Because panel residuals can exhibit both within-province serial correlation and contemporaneous cross-provincial dependence, relying on a single standard-error formula is insufficient for international journal scrutiny (Cameron & Miller, 2015). We therefore implement and reconcile three complementary covariance estimators alongside nonparametric resampling:
- Province-Clustered Sandwich Inference: Clustering at the provincial level with clusters allows arbitrary heteroskedasticity and serial correlation within each province over the 10-year window. To reconcile cross-software output exactly, we document the finite-sample scaling distinctions across statistical engines: Python's panel estimator penalizes all absorbed entity and time degrees of freedom using ; Stata 18 MP's fixed-effects cluster variance scales the raw cluster meat by where counts the non-absorbed slope and annual indicator parameters and evaluates inference against ; And R's group-clustered HC1 estimator scales by for slope regressors without the cluster-count factor.
- Driscoll-Kraay Spatial-Temporal Covariance: Following Driscoll and Kraay (1998), we compute nonparametric Bartlett-kernel covariance matrices with lag bandwidth 2 in Python and matching spatial-correlation-consistent HC1 covariance in R. This estimator remains consistent under general forms of cross-sectional dependence and temporal autocorrelation.
- Province-Level Pairs Cluster Bootstrap: To verify asymptotic cluster approximations without relying on parametric variance formulas, we execute a vectorized pairs cluster bootstrap resampling whole provincial time series with replacement across replications under deterministic seed 202604.
4. Empirical Results, Cross-Runtime Verification, and Robustness Analysis
4.1 Panel Summary Statistics and Multicollinearity Diagnostics
Table 2 summarizes the distributional properties and variance decomposition of all five core constructs across the balanced sample of province-year observations. A salient structural feature emerges immediately from comparing between-province and within-province standard deviations. For the outcome variable GTFP, cross-provincial dispersion dominates temporal variation, with a between-province standard deviation of compared with a within-province standard deviation of . By contrast, all four explanatory constructs exhibit substantially larger within-province temporal variation—ranging from for green credit to for institutional governance—than between-province dispersion of to . This variance profile confirms that the panel supplies rich longitudinal variation within each province to identify slope parameters sharply after absorbing time-invariant provincial fixed effects.
| Variable | Mean | Overall SD | Between SD | Within SD | Min | P25 | Median | P75 | Max | |
|---|---|---|---|---|---|---|---|---|---|---|
GTFP | 630 | 2.7968 | 1.0409 | 0.9323 | 0.4764 | -0.1891 | 2.1924 | 2.8998 | 3.5236 | 5.7917 |
DIGI_INDEX | 630 | 2.5247 | 1.0676 | 0.4112 | 0.9865 | -1.3861 | 1.7852 | 2.5771 | 3.2700 | 5.7073 |
PCI_SCORE | 630 | 2.2373 | 1.0544 | 0.3701 | 0.9884 | -1.1838 | 1.5773 | 2.2548 | 2.9073 | 4.9783 |
FDI_INFLOW | 630 | 2.7240 | 1.0426 | 0.4415 | 0.9460 | -0.5832 | 2.0736 | 2.7432 | 3.3880 | 5.9071 |
GREEN_CREDIT | 630 | 2.9716 | 1.0062 | 0.3802 | 0.9327 | -0.1591 | 2.2965 | 2.9680 | 3.7083 | 6.0786 |
Table 3 reports bivariate Pearson correlations and variance inflation factors. Every explanatory construct correlates positively and strongly with green total factor productivity, led by provincial digital transformation at , institutional governance at , foreign direct investment at , and green credit at . Meanwhile, inter-regressor correlations remain uniformly modest between and , yielding variance inflation factors tightly clustered between and . Multicollinearity is therefore virtually absent, ensuring precise orthogonal estimation of individual policy channels.
| Variable | GTFP | DIGI_INDEX | PCI_SCORE | FDI_INFLOW | GREEN_CREDIT | VIF |
|---|---|---|---|---|---|---|
GTFP | 1.0000 | 0.4490 | 0.3909 | 0.3851 | 0.3650 | — |
DIGI_INDEX | 0.4490 | 1.0000 | 0.0376 | 0.1176 | 0.0549 | 1.0168 |
PCI_SCORE | 0.3909 | 0.0376 | 1.0000 | 0.0269 | 0.1269 | 1.0175 |
FDI_INFLOW | 0.3851 | 0.1176 | 0.0269 | 1.0000 | 0.1016 | 1.0236 |
GREEN_CREDIT | 0.3650 | 0.0549 | 0.1269 | 0.1016 | 1.0000 | 1.0280 |
4.2 Progressive Specification Ladder, Fixed-Effects Diagnostics, and Baseline Results
Table 4 presents the core econometric estimates across six progressive specifications, moving from pooled ordinary least squares with HC3 heteroskedasticity-robust inference through one-way province fixed effects to the preferred two-way fixed-effects baseline and institutional moderation models under both province-clustered and Driscoll-Kraay standard errors.
Formal specification diagnostics conclusively reject both pooled estimation and random effects in favor of two-way fixed effects.
First, the joint poolability test strongly rejects zero province and year effects with and .
Second, in Stata's variance decomposition, unobserved provincial heterogeneity exhibits dispersion compared with idiosyncratic residual dispersion , meaning persistent provincial endowments account for of composite error variance and correlate positively with the linear predictor at .
Third, applying the cluster-robust correlated random effects test of Mundlak (1978)—preferred over classical Hausman testing under clustered covariance—decisively rejects orthogonality between unobserved provincial effects and time-averaged covariates with Wald and .
Fourth, Pesaran's cross-sectional dependence statistic plunges from with under one-way entity fixed effects down to with once calendar-year fixed effects absorb nationwide productivity trends, justifying both two-way demeaning and Driscoll-Kraay inference as a cross-sectional safeguard (Pesaran, 2021). Finally, first-differenced Wooldridge serial correlation testing yields against the null benchmark of with and , confirming no first-order serial correlation in level disturbances, while Jarque-Bera testing confirms Gaussian two-way residuals with and .
| Parameter | Pooled OLS HC3 | Entity FE Clustered | TWFE Baseline Clustered | TWFE Baseline Driscoll-Kraay | TWFE Moderation Clustered | TWFE Moderation Driscoll-Kraay |
|---|---|---|---|---|---|---|
DIGI_INDEX | 0.3762*** | 0.2466*** | 0.2364*** | 0.2364*** | 0.2084*** | 0.2084*** |
| Standard Error | 0.0278 | 0.0109 | 0.0120 | 0.0079 | 0.0219 | 0.0178 |
PCI_SCORE | 0.3296*** | 0.2083*** | 0.1875*** | 0.1875*** | 0.1540*** | 0.1540*** |
| Standard Error | 0.0265 | 0.0103 | 0.0109 | 0.0124 | 0.0273 | 0.0178 |
DIGI_x_PCI | — | — | — | — | 0.0125 | 0.0125** |
| Standard Error | — | — | — | — | 0.0085 | 0.0063 |
FDI_INFLOW | 0.3028*** | 0.1490*** | 0.1325*** | 0.1325*** | 0.1324*** | 0.1324*** |
| Standard Error | 0.0295 | 0.0128 | 0.0125 | 0.0100 | 0.0125 | 0.0100 |
GREEN_CREDIT | 0.2799*** | 0.1321*** | 0.1163*** | 0.1163*** | 0.1169*** | 0.1169*** |
| Standard Error | 0.0296 | 0.0102 | 0.0114 | 0.0091 | 0.0114 | 0.0089 |
| Province Fixed Effects | No | Yes | Yes | Yes | Yes | Yes |
| Year Fixed Effects | No | No | Yes | Yes | Yes | Yes |
| Observations | 630 | 630 | 630 | 630 | 630 | 630 |
| Two-Way Within | 0.5194 | 0.6173 | 0.5890 | 0.5890 | 0.5899 | 0.5899 |
| Entity-Within | 0.5194 | 0.6173 | 0.6128 | 0.6128 | 0.6137 | 0.6137 |
Notes: Asterisks denote two-sided significance levels: , , . Column 1 reports HC3 heteroskedasticity-robust standard errors. Columns 2, 3, and 5 report Python province-clustered standard errors across 63 clusters with full absorbed degrees-of-freedom adjustment. Columns 4 and 6 report Driscoll-Kraay Bartlett-kernel standard errors with bandwidth 2.

4.3 Institutional Moderation and Secular Frontier Dynamics
Evaluating Model 2 provides nuanced, transparent evidence regarding institutional complementarity. The multiplicative interaction parameter DIGI_x_PCI is consistently positive at , implying that each one-unit improvement in provincial competitiveness raises the marginal green productivity return of digital transformation by units. Across the core governance distribution summarized in Table 5, the conditional marginal effect of DIGI_INDEX rises monotonically from at PCI_SCORE to at PCI_SCORE , remaining statistically significant at throughout the entire empirical support under both clustered and spatial-temporal covariance matrices.
Governance Level PCI_SCORE | Marginal Effect | Clustered SE | Clustered 95% CI | Driscoll-Kraay SE | Driscoll-Kraay 95% CI |
|---|---|---|---|---|---|
| 1.50 | 0.2272*** | 0.0130 | [0.2017, 0.2527] | 0.0105 | [0.2067, 0.2477] |
| 2.00 | 0.2335*** | 0.0118 | [0.2104, 0.2565] | 0.0090 | [0.2159, 0.2510] |
| 2.50 | 0.2397*** | 0.0120 | [0.2162, 0.2632] | 0.0084 | [0.2232, 0.2562] |
| 3.00 | 0.2460*** | 0.0136 | [0.2193, 0.2727] | 0.0090 | [0.2283, 0.2637] |
| 3.50 | 0.2522*** | 0.0162 | [0.2204, 0.2840] | 0.0106 | [0.2316, 0.2729] |
Notes: Marginal effects are computed from Model 2 using the delta method over the exact variance-covariance matrix of DIGI_INDEX and DIGI_x_PCI. All five point estimates satisfy across Python, R, and Stata 18 MP.
At the same time, rigorous scientific reporting requires highlighting the exact inferential sensitivity of the interaction slope itself. Under Python Driscoll-Kraay covariance with Bartlett bandwidth 2, the interaction achieves conventional 5% significance with standard error , , and ; Under R's spatial-correlation-consistent HC1 covariance, it attains 10% significance with standard error , , and . Under conservative province-clustered inference, however, standard errors widen to in Stata 18 MP with and in Python with , corroborated by the 1,000-replication pairs cluster bootstrap 95% confidence interval of . Consequently, while digital transformation clearly raises green productivity regardless of local governance quality, empirical support for a statistically distinct multiplicative synergy is sensitive to cross-sectional versus cluster-level variance assumptions and warrants larger administrative micro-samples before asserting definitive policy multipliers.

4.4 Tri-Runtime Numerical Parity and Variance Reconciliation
To guarantee independent reproducibility across Python, R, and Stata 18 MP—and ensure consensus among independent econometric auditors—Table 6 reconciles all nine point estimates and all five covariance implementations side by side. Every single regression slope matches identically to six decimal places across Python, R, and Stata 18 MP, yielding a maximum absolute relative deviation of 0.0000%, well inside strict international reproducibility tolerances.
| Model and Parameter | Python Estimate | R Estimate | Stata 18 MP Estimate | Max Deviation % | Python Clustered SE | Stata Clustered SE | R Clustered HC1 SE | Python DK SE | R SCC HC1 SE |
|---|---|---|---|---|---|---|---|---|---|
M1: DIGI_INDEX | 0.236351 | 0.236351 | 0.236351 | 0.0000 | 0.011991 | 0.011454 | 0.011281 | 0.007942 | 0.007963 |
M1: PCI_SCORE | 0.187492 | 0.187492 | 0.187492 | 0.0000 | 0.010857 | 0.010371 | 0.010213 | 0.012387 | 0.011839 |
M1: FDI_INFLOW | 0.132468 | 0.132468 | 0.132468 | 0.0000 | 0.012469 | 0.011910 | 0.011730 | 0.010030 | 0.007931 |
M1: GREEN_CREDIT | 0.116294 | 0.116294 | 0.116294 | 0.0000 | 0.011368 | 0.010858 | 0.010694 | 0.009067 | 0.007462 |
M2: DIGI_INDEX | 0.208404 | 0.208404 | 0.208404 | 0.0000 | 0.021938 | 0.020953 | 0.020636 | 0.017760 | 0.019244 |
M2: PCI_SCORE | 0.153986 | 0.153986 | 0.153986 | 0.0000 | 0.027270 | 0.026046 | 0.025651 | 0.017811 | 0.017609 |
M2: DIGI_x_PCI | 0.012525 | 0.012525 | 0.012525 | 0.0000 | 0.008528 | 0.008145 | 0.008022 | 0.006280 | 0.007358 |
M2: FDI_INFLOW | 0.132442 | 0.132442 | 0.132442 | 0.0000 | 0.012529 | 0.011967 | 0.011785 | 0.010009 | 0.007889 |
M2: GREEN_CREDIT | 0.116891 | 0.116891 | 0.116891 | 0.0000 | 0.011405 | 0.010893 | 0.010728 | 0.008940 | 0.007317 |
Two subtle cross-software discrepancies merit explicit algebraic reconciliation so independent replicators never mistake mechanical conventions for estimation bugs.
First, starting from the exact unadjusted cluster-robust variance matrix yielding a raw DIGI_INDEX standard error of , Python's panel estimator multiplies by due to full absorbed fixed-effects degrees-of-freedom adjustment, Stata 18 MP multiplies by exactly , and R's group-clustered HC1 routine multiplies by .
Second, reported within- equals in both Python and R because both compute variance explained by the four slope covariates after projecting out both province and year fixed effects, whereas Stata's xtreg reports an entity-within of because it retains the joint explanatory contribution of the nine explicit annual indicator dummies. Analysts executing delimited CSV imports in Stata should likewise note Stata's default lowercase conversion unless case preservation is explicitly enabled.
4.5 Proactive Econometric Threats, Robustness Battery, and Quadrant Taxonomy
To defend the baseline empirical conclusions against standard peer-review critiques, we test four proactive econometric threats summarized in Table 7 and plotted in Figure 3.
- Threat 1 — Reverse Causality and Pre-Trend Anticipation: If provinces experiencing exogenous green productivity booms selectively invest in digital infrastructure afterward, future digital scores should predict current green productivity. Adding the one-year-ahead lead of digital transformation across observations yields a negligible, statistically null placebo estimate of with standard error , , and , while the contemporaneous digital coefficient remains essentially unchanged at with .
- Threat 2 — Dynamic Persistence and State Dependence: If green productivity follows a persistent autoregressive process, static two-way fixed effects could misattribute state dependence to contemporaneous digitalization. Augmenting the specification with one-year lagged green productivity across observations yields a small negative Nickell-type dynamic coefficient of with standard error and , while preserving all four structural effects at and anchoring
DIGI_INDEXat . - Threat 3 — Unmodeled Spatial Spillovers Across Neighboring Provinces: Augmenting the two-way fixed-effects model with row-normalized provincial contiguity lags of green productivity, digitalization, and governance yields statistically insignificant spatial neighbor coefficients—with spatial outcome lag at , neighbor digital lag at , and neighbor governance lag at —while leaving the own-province digital coefficient virtually invariant at with . This null spatial spillover result aligns transparently with the non-spatial benchmark data-generating process and underscores why empirical researchers applying this framework to actual GIS-linked provincial data should estimate full maximum-likelihood Spatial Durbin Models to test true cross-border diffusion.
- Threat 4 — Extreme Outliers, Pandemic Regime Shifts, and Finite-Cluster Leverage: Winsorizing all five continuous variables at the 1st and 99th percentiles yields with standard error . Splitting the panel into pre-pandemic years 2014–2019 spanning observations and pandemic-recovery years 2020–2023 spanning observations yields remarkably stable slopes of and , both significant at . Iteratively dropping each of the 63 provinces one at a time constrains tightly within with cross-iteration dispersion , proving no single municipality drives identification. Finally, the 1,000-replication province-level pairs cluster bootstrap produces a mean estimate of , bootstrap standard error , and 95% percentile interval , matching asymptotic cluster inference closely.
| Specification | Target Parameter | Estimate | Std. Error | -Statistic | -Value | 95% Confidence Interval | |
|---|---|---|---|---|---|---|---|
| Baseline TWFE Clustered | DIGI_INDEX | 0.2364 | 0.0120 | 19.710 | 0.0000 | [0.2128, 0.2599] | 630 |
| Baseline TWFE Driscoll-Kraay | DIGI_INDEX | 0.2364 | 0.0079 | 29.760 | 0.0000 | [0.2208, 0.2519] | 630 |
| Winsorized 1%–99% TWFE | DIGI_INDEX | 0.2384 | 0.0127 | 18.789 | 0.0000 | [0.2136, 0.2633] | 630 |
| Dynamic AR1 Lagged TWFE | DIGI_INDEX | 0.2299 | 0.0139 | 16.558 | 0.0000 | [0.2027, 0.2571] | 567 |
| Spatial Contiguity TWFE | DIGI_INDEX | 0.2351 | 0.0120 | 19.644 | 0.0000 | [0.2116, 0.2585] | 630 |
| Pre-2020 Sub-Period 2014–2019 | DIGI_INDEX | 0.2361 | 0.0148 | 15.904 | 0.0000 | [0.2070, 0.2651] | 378 |
| Post-2020 Sub-Period 2020–2023 | DIGI_INDEX | 0.2268 | 0.0264 | 8.583 | 0.0000 | [0.1750, 0.2786] | 252 |
| Future Lead Placebo Test | F1_DIGI | -0.0051 | 0.0142 | -0.357 | 0.7216 | [-0.0330, 0.0228] | 567 |
| Pairs Cluster Bootstrap | DIGI_INDEX | 0.2367 | 0.0118 | 20.058 | 0.0000 | [0.2128, 0.2590] | 630 |
To translate continuous estimates into policy-relevant typology, Table 8 partitions all 630 province-year observations across median thresholds of DIGI_INDEX at and GTFP at . Nearly two-thirds of observations align along the positive diagonal: 32.5% fall into Quadrant 1 representing Digital-Green Leaders with mean green productivity of and elevated governance of , while 32.5% fall into Quadrant 4 representing Catch-Up Provinces with mean green productivity of . Notably, Quadrant 2—Digital-Heavy Laggards accounting for 17.5% of observations—combines high digitalization of with weak green productivity of and the lowest average governance score across all four regimes at .
Conversely, Quadrant 3—Green Outperformers—achieves high green productivity of despite modest digitalization of precisely because it maintains the highest mean governance quality at . This diagnostic asymmetry graphically reinforces the central thesis that institutional governance acts as an indispensable anchor for translating digital investment into green industrial efficiency.
| Performance Regime | Observations | Share % | Mean GTFP | SD GTFP | Mean DIGI_INDEX | Mean PCI_SCORE |
|---|---|---|---|---|---|---|
| Q1: Digital-Green Leaders | 205 | 32.54 | 3.7180 | 0.6020 | 3.4728 | 2.5502 |
| Q2: Digital-Heavy Laggards | 110 | 17.46 | 2.0625 | 0.6672 | 3.1981 | 1.7390 |
| Q3: Green Outperformers | 110 | 17.46 | 3.4087 | 0.4136 | 1.9165 | 2.6340 |
| Q4: Catch-Up Provinces | 205 | 32.54 | 1.9413 | 0.7539 | 1.5417 | 1.9788 |

5. Policy Implications, Methodological Limitations, and Conclusion
5.1 Actionable Sub-National Policy Design
Three concrete sub-national policy priorities emerge directly from the empirical findings and performance quadrant taxonomy.
First, central and provincial planners should prioritize industrial digitalization initiatives explicitly tied to energy-management telemetry, smart logistics, and verifiable emissions accounting, recognizing digital transformation as the highest-leverage within-province correlate of green productivity.
Second, for provinces exhibiting high digital connectivity yet depressed green productivity and weak competitiveness scores—the Digital-Heavy Laggard cohort—incremental capital spending on digital infrastructure should be paired with institutional reforms targeting regulatory transparency, land-use predictability, and streamlined environmental licensing.
Third, aligning provincial foreign investment attraction screening with State Bank of Vietnam green credit taxonomy standards creates reinforcing external and domestic financing channels that independently lift green productivity even in catch-up jurisdictions.
5.2 Methodological Limitations and Priorities for Future Empirical Work
Four specific priorities should guide subsequent empirical studies deploying this research agenda on live Vietnamese administrative data.
First, researchers should replace standardized synthetic series with real provincial directional-distance-function green productivity indices constructed from General Statistics Office energy, capital, labor, and provincial greenhouse-gas inventories alongside official Ministry of Information and Communications digital indices and Vietnam Chamber of Commerce and Industry governance records.
Second, real geographic contiguity and highway travel-time matrices should be incorporated into quasi-maximum-likelihood Spatial Durbin Models to separate direct own-province gains from inter-provincial industrial relocation or pollution-haven leakages.
Third, staggered provincial rollouts of national digital government decrees and green credit directives should be evaluated via cohort-time difference-in-differences estimators (Callaway & Sant'Anna, 2021) to validate parallel pre-trends and heterogeneous dynamic treatment paths.
Fourth, matching provincial institutional series with firm-level census panels will illuminate micro-level reallocation between clean entrants and carbon-intensive incumbents.
5.3 Conclusion
This article establishes a unified quantitative research framework and a completely auditable tri-runtime econometric benchmark for examining how digital transformation, institutional governance, foreign direct investment, and green finance drive green total factor productivity across Vietnam's 63 provinces. By bridging theoretical insights from directed technical change and environmental competitiveness with exact numerical verification across Python, R, and Stata 18 MP, we demonstrate that controlling for persistent provincial heterogeneity and secular annual shifts is essential for unbiased inference. Digital transformation emerges as the strongest structural driver of green productivity, reinforced by institutional governance, foreign investment, and green credit, and remains highly stable across placebo leads, dynamic lags, spatial contiguity checks, winsorization, pandemic sub-periods, and 1,000-replication cluster bootstrapping. Together, the research agenda and open replication architecture provide graduate scholars and empirical economists with a rigorous, transparent launchpad for international peer-reviewed contributions on sustainable digital transitions.
Data and Code Availability
The standardized provincial benchmark dataset, English-documented R, Stata, and Python replication scripts, and automated Python tables-and-figures pipeline reproducing every numerical estimate, diagnostic statistic, table, and 350 DPI figure reported in this manuscript are archived in full within the EcoLab open reproducibility package associated with this study. Official live Vietnamese provincial panels mirroring this variable schema can be assembled programmatically via the EcoData research panel interface.
Conflict of Interest
The authors declare no competing financial, institutional, or personal conflicts of interest that could have influenced the analytical design, empirical verification, or policy interpretations presented in this study.
References
Acemoglu, D., Aghion, P., Bursztyn, L., & Hemous, D. (2012). The environment and directed technical change. American Economic Review, 102, 131–166. https://doi.org/10.1257/aer.102.1.131 ↩
Callaway, B., & Sant'Anna, P. H. C. (2021). Difference-in-differences with multiple time periods. Journal of Econometrics, 225, 200–230. https://doi.org/10.1016/j.jeconom.2020.12.001 ↩
Cameron, A. C., & Miller, D. L. (2015). A practitioner's guide to cluster-robust inference. Journal of Human Resources, 50, 317–372. https://doi.org/10.3368/jhr.50.2.317 ↩
Chudik, A., & Pesaran, M. H. (2015). Common correlated effects estimation of heterogeneous dynamic panel data models with weakly exogenous regressors. Journal of Econometrics, 188, 393–420. https://doi.org/10.1016/j.jeconom.2015.03.007 ↩
Chung, Y. H., Färe, R., & Grosskopf, S. (1997). Productivity and undesirable outputs: A directional distance function approach. Journal of Environmental Management, 51, 229–240. https://doi.org/10.1006/jema.1997.0146 ↩
de Chaisemartin, C., & D'Haultfœuille, X. (2020). Two-way fixed effects estimators with heterogeneous treatment effects. American Economic Review, 110, 2964–2996. https://doi.org/10.1257/aer.20181169
Driscoll, J. C., & Kraay, A. C. (1998). Consistent covariance matrix estimation with spatially dependent panel data. The Review of Economics and Statistics, 80, 549–560. https://doi.org/10.1162/003465398557825
Elhorst, J. P. (2014). Spatial econometrics: From cross-sectional data to spatial panels. Springer. https://doi.org/10.1007/978-3-642-40340-8 ↩
Malesky, E., McCulloch, N., & Nhat, N. D. (2015). The impact of governance and transparency on firm investment in Vietnam. Economics of Transition, 23, 677–715. https://doi.org/10.1111/ecot.12068 ↩
Mundlak, Y. (1978). On the pooling of time series and cross section data. Econometrica, 46, 69–85. https://doi.org/10.2307/1913646 ↩
Pesaran, M. H. (2021). General diagnostic tests for cross-sectional dependence in panels. Empirical Economics, 60, 13–50. https://doi.org/10.1007/s00181-020-01875-7 ↩
Porter, M. E., & van der Linde, C. (1995). Toward a new conception of the environment-competitiveness relationship. Journal of Economic Perspectives, 9, 97–118. https://doi.org/10.1257/jep.9.4.97 ↩
Replication Data & Code
vietnam_63_provinces_digital_gtfp_panelprovince_idyearDIGI_INDEXPCI_SCOREFDI_INFLOWGREEN_CREDITGTFPUnlock Replication Data & Code
Having explored the quantitative findings and methodological critique above, sign in with an active membership or join the EcoLab research community to verify every estimated coefficient independently in your own analytical environment.
Aligned with Study Variable Names, Robust Covariance Specifications, and Diagnostic Checks
Ready for Immediate Execution in Your Local Statistical Environment for Independent Verification
Bundled with Journal-Formatted DOCX & PDF Manuscripts, Empirical CSV Dataset, All Three R · Stata · Python Scripts, and Execution Notes
Every Download Link Is Cryptographically Signed for Active Members and Refreshes Seamlessly on the Article Page




