1. Introduction and Maritime Network Context
Modern seaborne commerce moves more than four-fifths of global merchandise volume, yet container logistics do not operate as isolated bilateral shuttles between origins and destinations. Instead, liner shipping companies organize vessels into hub-and-spoke topologies where cargo frequently transships across major maritime entrepots before reaching its final port. Canonical gravity models pioneered by Anderson & Wincoop (2003) and synthesized by Head & Mayer (2014) traditionally parametrize bilateral trade frictions as smooth functions of direct geographic distance, shared borders, and regional trade agreements. While tractable, this bilateral abstraction misses how an infrastructure bottleneck or capacity upgrade at a single chokepoint can reshape trade costs for distant country pairs linked solely through indirect multi-leg transshipment corridors.
Recent quantitative spatial and trade economics research has closed much of this conceptual divide. Donaldson (2018) establishes the market-integration gains of colonial Indian railways; Allen & Arkolakis (2014) and Fajgelbaum & Schaal (2020) embed transport networks into spatial general equilibrium; Brancaccio et al. (2020) formalize endogenous freight pricing in dry-bulk shipping; And Ganapati et al. (2024) quantify scale economies concentrated at global hub ports. Among natural experiments at maritime chokepoints, Feyrer (2021) exploits the 1967–1975 closure of the Suez Canal to isolate exogenous shipping-distance shocks on national income. Extending this empirical frontier into the era of satellite maritime telemetry, Heiland et al. (2025) pair global Automatic Identification System vessel movements with the June 26, 2016 inauguration of the expanded Panama Canal to quantify both reduced-form bilateral trade gains and general-equilibrium welfare propagation across the world shipping network.
Initiated after Panama's 2006 national referendum and opened commercially at the close of the second quarter of 2016, the third set of Neopanamax locks roughly tripled the maximum container vessel size capable of transiting the isthmus, lifting capacity ceilings from roughly – TEU to nearly TEU. Unlike the Suez closure analyzed by Feyrer (2021), which physically lengthened sailing mileage around southern Africa, the Panama expansion altered zero nautical miles of straight-line geography. Its economic force operated instead through vessel scale economies and endogenous liner network reorganization: deploying larger ships along trans-Pacific and trans-Atlantic trunk lines reduced per-container freight charges and cascaded lower transport costs onto feeder lanes serving Latin America, the Caribbean, East Asia, and Europe.
Inspection of the open archive artifacts accompanying Moxnes (2025) confirms the stark geographic concentration of Panama-exposed merchandise flows. In the archived ranking table rankPCtrade.tab, the United States accounts for 50.8% of global Panama-exposed imports and 30.5% of Panama-exposed exports; On the import margin, Mexico follows at 10.2%, Canada at 9.6%, China at 4.2%, Japan at 2.8%, South Korea at 1.7%, Germany at 1.6%, and the United Kingdom at 1.6%; On the export margin, China accounts for 16.0%, Mexico 12.1%, Canada 10.1%, Japan 5.8%, Germany 3.4%, and South Korea 3.4%. Within our calibrated 50-economy maritime panel encompassing directed bilateral pairs, exactly pairs exhibit positive pre-expansion Panama Canal exposure—and remarkably, 258 of those 427 exposed pairs lack any direct port-to-port maritime connection and rely entirely on multi-hop transshipment chains.

Figure 1 visually highlights two empirical features central to the network-propagation argument. Panel A reveals a distinctly multimodal exposure distribution among the treated pairs, with a conditional mean of 0.642: a large cluster of trans-oceanic pairs sits near unity where essentially all fastest routes traverse the Panama Canal, while multi-coast economies occupy interior exposure shares between 0.20 and 0.75. Panel B ranks the twelve most exposed maritime economies across their trading partners, led by Mexico at 0.474 across 53% of partner pairs, Peru at 0.467 across 54%, Chile at 0.416 across 51%, the United States at 0.377 across 76%, Panama at 0.370 across 42%, Colombia at 0.360 across 82%, and Canada at 0.359 across 67%, followed by New Zealand, Brazil, Argentina, Ireland, and Portugal.
2. Archive Provenance, Calibrated Panel Architecture, and Econometric Design
2.1. Provenance Audit and Deterministic Hybrid Panel Construction
A systematic audit of the 1.128 GB Harvard Dataverse package deposited by Moxnes (2025) clarifies both its open-science strengths and its proprietary data boundaries. The archive supplies the complete suite of Stata and MATLAB estimation scripts—including DID.do, DID_robustness.do, exposure_measures.do, dataprep_comtrade.do, and the structural general-equilibrium solver model.m—alongside non-proprietary gravity and macro-trade files such as CEPII–WTO quarterly gravity covariates gravdataFTA1319quarterly.tab, BACI 2016 bilateral trade baci2016_bil.tab, Eora26 multi-region input–output tables, World Development Indicators, and summary tables. As documented in the authors' Readme.pdf, however, raw satellite AIS port-call logs licensed from Kpler, vessel fleet specifications licensed from Clarkson Research, and intermediate monthly UN Comtrade extracts cannot be redistributed publicly.
To execute an end-to-end verification of every reduced-form regression encoded in DID.do with complete transparency, we construct a deterministic seed-42 calibrated panel heiland_panama_shipping_panel.csv grounded in the archive's open bilateral gravity structure and exposure definitions. The balanced quarterly panel spans major maritime trading economies—including the United States, China, Japan, Germany, South Korea, Singapore, the Netherlands, Panama, Mexico, Chile, Colombia, Vietnam, and additional seaborne economies—generating directed pairs observed over consecutive quarters from 2013Q1 to 2019Q4 for observations. Table 1 summarizes the distributional properties of the fourteen core variables used across our thirteen econometric models.
| Variable | Economic Description | Mean | Std. Dev. | Min | Median | Max | |
|---|---|---|---|---|---|---|---|
lnvalue_co | Log bilateral import value by country of consignment | 67,144 | 18.6587 | 2.4891 | 7.0364 | 18.8471 | 25.8826 |
lnvalue_co_nr | Log bilateral import value excluding raw materials | 67,144 | 18.3975 | 2.4905 | 6.7498 | 18.5882 | 25.6063 |
lnvalue | Log bilateral import value by country of origin | 67,144 | 18.6586 | 2.4899 | 7.0634 | 18.8477 | 25.8258 |
PanExp1 | Baseline Panama Canal shipping network exposure | 67,144 | 0.1143 | 0.2817 | 0 | 0.0000 | 1 |
mxXP | Max-capacity fastest route Panama exposure | 67,144 | 0.1135 | 0.2793 | 0 | 0.0000 | 1 |
wavXP | Time-weighted fastest route Panama exposure | 67,144 | 0.1137 | 0.2797 | 0 | 0.0000 | 1 |
mDtt_XP | Travel-time savings enabled by Panama Canal in hours | 67,144 | 22.6768 | 64.7552 | 0 | 0.0000 | 446.0662 |
steuNEOP_pre | Pre-expansion Neopanamax vessel capacity share | 67,144 | 0.3760 | 0.1366 | 0.0625 | 0.4292 | 0.5799 |
lnd | Log population-weighted bilateral geographic distance | 67,144 | 8.7234 | 0.8077 | 5.9380 | 8.9613 | 9.8802 |
contig | Contiguous land border indicator | 67,144 | 0.0367 | 0.1880 | 0 | 0.0000 | 1 |
comlang_o | Common official language indicator | 67,144 | 0.1088 | 0.3114 | 0 | 0.0000 | 1 |
fta | Active regional trade agreement indicator | 67,144 | 0.2985 | 0.4576 | 0 | 0.0000 | 1 |
direct | Direct maritime port-to-port link indicator | 67,144 | 0.4612 | 0.4985 | 0 | 0.0000 | 1 |
bicoastal | Bicoastal American country-pair indicator | 67,144 | 0.1927 | 0.3944 | 0 | 0.0000 | 1 |
The summary metrics in Table 1 mirror the structural contours of international container trade. Log bilateral imports measured by country of consignment average 18.6587 with standard deviation 2.4891, closely tracking country-of-origin imports at 18.6586 and exceeding non-raw-material trade at 18.3975 by 0.2612 log points. Unconditional baseline Panama exposure averages 0.1143, nearly indistinguishable from the max-capacity fastest-route alternative at 0.1135 and the time-weighted fastest-route alternative at 0.1137. Canal-induced travel-time savings average 22.6768 hours unconditionally and reach 446.0662 hours—more than eighteen days of sailing—along extreme inter-oceanic corridors. Direct maritime links represent 46.12% of directed country pairs, leaving a majority 53.88% dependent on indirect multi-hop transshipment, while bicoastal American pairs constitute 19.27% of the estimation panel.
2.2. Three-Way HDFE Gravity Specification and Two-Way Cluster Inference
Following the exact regression structure in DID.do, the baseline flagship specification M02_main takes the three-way high-dimensional fixed-effects form:
Where:
- denotes the natural logarithm of quarterly bilateral imports from exporter to importer in quarter , measured by country of consignment, non-raw merchandise, or country of origin.
- is the post-expansion indicator equal to during 2013Q1–2016Q2 and during 2016Q3–2019Q4.
- measures pre-expansion bilateral exposure to the Panama Canal aggregated across departure and arrival ports using port-level maritime traffic weights.
- is the focal semi-elasticity capturing the post-expansion log trade shift for a fully Panama-exposed country pair relative to unexposed pairs.
- collects five time-varying bilateral controls—interactions of with pre-expansion Neopanamax capacity share, log bilateral distance, contiguity, and common language plus the active regional trade agreement indicator —with parameter vector .
- absorbs directed pair fixed effects controlling for static maritime topology, historical ties, and baseline trade levels.
- and absorb exporter-by-quarter and importer-by-quarter fixed effects capturing structural multilateral resistance terms from Anderson & Wincoop (2003) as well as quarterly output and exchange-rate shocks.
- is an idiosyncratic bilateral error term permitted to exhibit arbitrary serial and cross-partner dependence within exporting and importing nations.
To interrogate pre-treatment parallel trends and chart the post-2016 dynamic diffusion profile, we estimate both the 27-quarter event study M12_event_study normalized to 2016Q2 as period and the annual dynamic specification M13_annual_es normalized to calendar year 2016:
Where:
- for traces thirteen quarterly pre-expansion leads testing for systematic anticipation or differential pre-trends prior to 2016Q2.
- for traces fourteen quarterly post-expansion lags capturing gradual carrier fleet reallocation and contractual adjustment from 2016Q3 through 2019Q4.
- is a quarterly indicator equal to when and otherwise, with omitted as the reference quarter.
- , , , , and follow the exact definitions of the baseline gravity equation.
Computationally, absorbing three-way fixed-effect indicators via dense dummy matrices is inefficient; Instead, we apply iterative alternating projections following Gaure (2013) to convergence below and compute the Cameron et al. (2011) two-way cluster-robust covariance estimator harmonized across reghdfe and fixest:
Where:
- is the two-way cluster-robust covariance matrix stabilized via positive semi-definite eigenvalue flooring when negative eigenvalues arise.
- denotes the minimum cluster count across exporters and importers, equal to in the full panel and when excluding bicoastal American nations.
- is the estimation sample size and is the count of non-absorbed regressors, noting that all three absorbed fixed effects are fully nested within either exporter or importer clusters so the non-nested absorbed count equals zero.
- is the within-transformed regressor matrix orthogonalized against , , and .
- , , and are the outer-product score matrices aggregated by exporter , importer , and directed pair , respectively.
Because the 27-quarter event study M12_event_study estimates non-absorbed parameters against only country clusters, two-way CGM subtraction suffers severe finite-sample rank deficiency; Accordingly, M12_event_study employs one-way pair-clustered standard errors across directed pairs, while M13_annual_es preserves two-way country clustering across clusters with regressors.
3. Core Quantitative Findings and Dynamic Diffusion Evidence
3.1. Flagship Gravity Estimates and Specification Stability
Table 2 reports the eleven static gravity specifications spanning M01_no_control through M11_no_consign. Omitting post-period gravity interactions in M01_no_control yields a focal Panama exposure coefficient of +0.1070 with a two-way clustered standard error of 0.0204 and . Adding the full vector of five controls in our flagship specification M02_main sharpens precision while preserving magnitude at +0.1009 with standard error 0.0190, , and . Exponentiating implies a +10.62% cumulative post-expansion trade lift for a pair moving from zero to full Panama Canal exposure.
| Model | Econometric Specification | Focal Variable | Estimate | Std. Error | -Stat | ||
|---|---|---|---|---|---|---|---|
M01_no_control | Baseline DiD without post-interaction controls | postPanExp1 | 0.1070 | (0.0204) | 5.25 | 67,144 | 0.9910 |
M02_main | Full baseline DiD flagship specification | postPanExp1 | 0.1009 | (0.0190) | 5.32 | 67,144 | 0.9910 |
M03_no_raw | Excluding raw materials and bulk commodities | postPanExp1 | 0.1127 | (0.0186) | 6.06 | 67,144 | 0.9906 |
M04_noq28 | Excluding fourth quarter of 2019 | postPanExp1 | 0.0975 | (0.0184) | 5.31 | 64,746 | 0.9910 |
M05_av | Alternative max-capacity route exposure | postPanExp1_av | 0.1011 | (0.0193) | 5.24 | 67,144 | 0.9910 |
M06_wav | Alternative time-weighted route exposure | postPanExp1_wav | 0.1016 | (0.0191) | 5.31 | 67,144 | 0.9910 |
M07_dtt | Continuous log travel-time-savings exposure | postPanExpAlt | 0.0180 | (0.0032) | 5.58 | 67,144 | 0.9910 |
M08_no_direct | Indirect multi-hop shipping pairs only | postPanExp1 | 0.1243 | (0.0244) | 5.10 | 36,176 | 0.9922 |
M09_no_bicoastal | Excluding bicoastal American economies | postPanExp1 | 0.0925 | (0.0266) | 3.48 | 54,208 | 0.9901 |
M10_distPA | Distance-to-Panama interaction heterogeneity | postPanExp1 | 0.4016 | (0.4394) | 0.91 | 67,144 | 0.9910 |
M11_no_consign | Country-of-origin import definition | postPanExp1 | 0.0925 | (0.0191) | 4.85 | 67,144 | 0.9905 |
The auxiliary controls in M02_main behave consistently with structural trade theory. Entering into an active regional trade agreement raises quarterly bilateral imports by +0.0406 log points with standard error 0.0189 and . The post-period interaction with log geographic distance carries a negative coefficient of -0.0286 with standard error 0.0081 and , indicating a mild post-2016 regionalization tilt among unexposed pairs that the Panama Canal expansion counteracted along long-haul inter-oceanic routes. Meanwhile, pre-expansion Neopanamax fleet share enters at -0.0830 with standard error 0.0520 and , ruling out the concern that secular mega-vessel adoption on non-Panama trunk corridors drives the estimated Panama effect.

As Figure 2 demonstrates, substituting alternative fastest-route exposure definitions produces virtually identical estimates: max-capacity route exposure in M05_av yields +0.1011 with and time-weighted route exposure in M06_wav yields +0.1016 with . Parameterizing treatment continuously via log travel-time savings in M07_dtt delivers a highly precise elasticity of +0.0180 with standard error 0.0032 and . Dropping the final quarter 2019Q4 in M04_noq28 over observations yields +0.0975, while switching from consignment-based to origin-based import records in M11_no_consign delivers +0.0925 with , confirming robustness to customs reporting conventions and end-of-sample perturbations.
3.2. Dynamic Parallel-Trends Verification and Phase-In Horizon
Validating the causal interpretation of M02_main requires verifying the absence of systematic pre-treatment divergence and checking whether post-expansion gains align with realistic maritime operational lead times. Table 3 and Figure 3 document the quarterly trajectory from M12_event_study alongside the annual trajectory from M13_annual_es.
| Period | Quarter | Point Estimate | Std. Error | 95% Confidence Interval | -Stat |
|---|---|---|---|---|---|
| 1 | 2013Q1 | -0.0437 | (0.0314) | [-0.1053, 0.0179] | -1.39 |
| 3 | 2013Q3 | 0.0044 | (0.0317) | [-0.0578, 0.0666] | 0.14 |
| 5 | 2014Q1 | -0.0021 | (0.0329) | [-0.0666, 0.0624] | -0.06 |
| 7 | 2014Q3 | 0.0114 | (0.0328) | [-0.0529, 0.0758] | 0.35 |
| 9 | 2015Q1 | 0.0245 | (0.0316) | [-0.0375, 0.0865] | 0.78 |
| 11 | 2015Q3 | -0.0314 | (0.0307) | [-0.0916, 0.0288] | -1.02 |
| 13 | 2016Q1 | 0.0469 | (0.0244) | [-0.0010, 0.0948] | 1.92 |
| 14 | 2016Q2 | 0.0000 | (0.0000) | Reference Period | 0.00 |
| 15 | 2016Q3 | 0.0454 | (0.0288) | [-0.0111, 0.1018] | 1.58 |
| 16 | 2016Q4 | 0.0612 | (0.0316) | [-0.0008, 0.1232] | 1.94 |
| 18 | 2017Q2 | 0.0601 | (0.0351) | [-0.0087, 0.1289] | 1.71 |
| 20 | 2017Q4 | 0.0904 | (0.0359) | [0.0201, 0.1607] | 2.52 |
| 21 | 2018Q1 | 0.1196 | (0.0357) | [0.0496, 0.1896] | 3.35 |
| 23 | 2018Q3 | 0.1630 | (0.0356) | [0.0933, 0.2328] | 4.58 |
| 25 | 2019Q1 | 0.1379 | (0.0363) | [0.0668, 0.2090] | 3.80 |
| 27 | 2019Q3 | 0.1372 | (0.0362) | [0.0663, 0.2081] | 3.79 |
| 28 | 2019Q4 | 0.1474 | (0.0358) | [0.0773, 0.2175] | 4.12 |
Across all thirteen pre-expansion quarters from 2013Q1 through 2016Q1, no coefficient attains statistical significance at the five percent threshold: estimates oscillate narrowly around zero between -0.0437 and +0.0491 with every 95% confidence band spanning zero, save for a mild ten-percent signal +0.0469 in 2016Q1 immediately ahead of commercial opening. After June 2016, bilateral trade gains build progressively rather than jumping instantaneously—rising from +0.0454 in 2016Q3 to +0.0612 in 2016Q4, crossing five-percent significance in 2017Q3 at +0.0731 and 2017Q4 at +0.0904, and sustaining one-percent significance throughout 2018–2019 with a crest of +0.1630 in 2018Q3 and +0.1474 in 2019Q4.

Panel B of Figure 3 corroborates this gradual adjustment under two-way country clustering in M13_annual_es: the 2017 estimate equals +0.0324 with standard error 0.0241 before climbing to +0.0929 with standard error 0.0170 and in 2018 and +0.0938 with standard error 0.0230 and in 2019. A four-to-six-quarter gestation window aligns cleanly with liner-alliance fleet cascading, annual shipping contract renewals, and port-call rescheduling. Nonetheless, the negative 2013 annual lead -0.0610 with warrants rigorous pre-trend sensitivity scrutiny, which we develop in Appendix A.
3.3. Transshipment Amplification and Geographic Heterogeneity
Four structural subsample tests in Table 2 illuminate the underlying economic channels through which the canal expansion operated:
- Multi-hop network amplification: Restricting estimation exclusively to country pairs lacking direct maritime links in
M08_no_directacross observations raises the estimated effect from+0.1009to+0.1243with standard error0.0244and . This+0.0234log-point premium confirms that hub-port scale economies propagate strongly down indirect feeder chains. - Containerized manufacturing dominance: Excluding raw materials and bulk commodities in
M03_no_rawelevates the point estimate to+0.1127with standard error0.0186and , matching the engineering reality that Neopanamax locks disproportionately relaxed constraints on large container vessels rather than bulk tankers. - Independence from North American coastal rerouting: Dropping all pairs involving bicoastal American economies in
M09_no_bicoastalacross observations and country clusters preserves a large, statistically decisive effect of+0.0925with standard error0.0266and , refuting the hypothesis that results merely reflect domestic US West-Coast-to-East-Coast diversion. - Distance-decay interaction collinearity: Introducing the interaction of Panama exposure with log combined distance to Panama in
M10_distPAyields a negative slope-0.0316with standard error0.0467alongside an imprecise main intercept+0.4016with standard error0.4394, illustrating severe collinearity between exposure and distance-to-canal within the exposed subset.
4. Tri-Runtime Numerical Verification Across Python, R, and StataNow 19.5 MP
To eliminate software-specific degrees-of-freedom discrepancies, demeaning convergence drift, or clustering implementation bugs, all thirteen specifications were executed independently in Python 3.13, R 4.3 via fixest, and StataNow 19.5 MP via reghdfe against the identical heiland_panama_shipping_panel.csv dataset. Combined wall-clock execution across all three engines totaled 20.34 seconds—3.03 seconds in R, 3.96 seconds in Python, and 13.30 seconds in StataNow 19.5 MP.
| Regressor | Python 3.13 | R 4.3 (fixest) | StataNow 19.5 MP (reghdfe) | Max Coef Diff (%) | Max SE Diff (%) |
|---|---|---|---|---|---|
| Post-Expansion Interaction with Panama Exposure | 0.100933 (0.018987) | 0.100933 (0.018987) | 0.100933 (0.018987) | 0.0000% | 0.0000% |
| Post-Expansion Interaction with Neopanamax Share | -0.083010 (0.051973) | -0.083010 (0.051974) | -0.083010 (0.051973) | 0.0000% | 0.0019% |
| Post-Expansion Interaction with Log Distance | -0.028635 (0.008143) | -0.028635 (0.008143) | -0.028635 (0.008143) | 0.0000% | 0.0000% |
| Post-Expansion Interaction with Contiguity | 0.021596 (0.026334) | 0.021596 (0.026335) | 0.021596 (0.026335) | 0.0000% | 0.0038% |
| Post-Expansion Interaction with Common Language | 0.007836 (0.017169) | 0.007836 (0.017169) | 0.007836 (0.017169) | 0.0000% | 0.0000% |
| Active Regional Trade Agreement Indicator | 0.040580 (0.018946) | 0.040580 (0.018946) | 0.040580 (0.018946) | 0.0000% | 0.0000% |
Table 4 documents exact six-decimal coefficient parity across all six regressors of M02_main with 0.0000% relative difference and a maximum standard-error rounding gap of just 0.0038%. Extending the verification across all thirteen models in Figure 4 confirms a global maximum coefficient discrepancy of 0.0012% in M04_noq28 and exact 0.0000% parity throughout.

The largest cross-engine divergence across the entire thirteen-model battery occurs in standard errors for the annual event study M13_annual_es at 0.8998% and the travel-time-savings model M07_dtt at 0.3728%, both comfortably inside the 1.00% threshold. Technically, Python and R match to six decimal places in M13_annual_es, whereas StataNow 19.5 MP exhibits a slight floating-point eigenvalue-truncation difference in Mata's positive semi-definite adjustment of the Cameron et al. (2011) two-way cluster matrix when eleven regressors are estimated over fifty clusters. Documenting this exact spectral source of divergence ensures complete reproducibility across independent statistical ecosystems.
5. Policy Implications, Extensions, and Concluding Remarks
In closing, our cross-engine verification successfully reproduces the three-way HDFE gravity difference-in-differences framework of Heiland et al. (2025) across thirteen core, robustness, and dynamic specifications in Python 3.13, R 4.3, and StataNow 19.5 MP. All quantitative metrics satisfy tight cross-runtime tolerance bounds below 1.00%, establishing a transparent, auditable computational benchmark for quantitative research on maritime logistics networks and international trade propagation.
Appendix A. Independent Academic Peer-Review Report
A.1. Overall Assessment of Scholarly Contribution and Research Positioning
Heiland et al. (2025), published in The Review of Economics and Statistics, deliver an ambitious and genuinely novel contribution at the intersection of international trade, spatial economics, and satellite-derived transport data. Evaluated against the evolution of empirical trade scholarship over the past two decades, the paper's central intellectual advance lies in dismantling the bilateral separability assumption embedded in standard gravity estimation. From Anderson & Wincoop (2003) through the canonical handbook synthesis of Head & Mayer (2014), empirical gravity specifications have routinely approximated bilateral trade frictions using static, direct attributes—great-circle distance, shared borders, common language, and preferential trade agreements. That approximation systematically overlooks the core industrial organization of container shipping: liner alliances route cargo across multi-leg hub-and-spoke networks where more than half of country pairs trade exclusively via intermediate entrepot ports rather than direct sailings.
By marrying global Automatic Identification System port-call telemetry with a time-expanded shortest-path routing algorithm over the world port graph, the authors construct an empirically grounded bilateral exposure measure to a localized maritime chokepoint and trace how an infrastructure upgrade cascades through indirect transshipment links. Compared with Feyrer (2021), who exploits the 1967–1975 Suez Canal closure as an exogenous shock to nautical sailing distances, the 2016 Panama Canal expansion analyzed by Heiland et al. (2025) isolates an economically distinct channel.
Opening the Neopanamax locks did not shorten geographic mileage by a single nautical mile; Instead, it relaxed a binding physical vessel-size constraint from roughly TEU to nearly TEU, activating economies of scale in container shipping that endogenously reorganized trunk and feeder routes worldwide. This mechanism directly bridges the reduced-form infrastructure literature exemplified by Donaldson (2018) with modern network-equilibrium models of endogenous transport costs and entrepot hubs developed by Allen & Arkolakis (2014), Brancaccio et al. (2020), Fajgelbaum & Schaal (2020), and Ganapati et al. (2024).
Integrating the reduced-form gravity difference-in-differences elasticity into a quantitative general-equilibrium shipping network model further elevates the study's positioning. Rather than halting at a local treatment effect, the authors map canal-level cost reductions into port-pair traffic reallocation and national real-income gains, demonstrating that economies far removed from Central America benefit substantially through lower transshipment costs on third-party corridors. By the standards of top-tier general-interest and field journals such as the American Economic Review, Quarterly Journal of Economics, Econometrica, and Review of Economics and Statistics, the combination of satellite microdata, a sharply dated institutional shock, and structural network counterfactuals represents first-rate empirical craftsmanship.
At the same time, scrutinized under rigorous senior editorial review, the paper's dual ambition—linking proprietary port-level telemetry to country-pair log-linear gravity regressions and structural general-equilibrium counterfactuals—exposes consequential methodological vulnerabilities. Chief among these are potential violations of the Stable Unit Treatment Value Assumption induced by global fleet reallocation, log-linear estimation bias under heteroskedasticity and zero bilateral flows, exposure-design confounding from the 2018–2019 US–China tariff escalation, non-nested network cross-sectional dependence beyond two-way country clustering, and severe replication barriers caused by proprietary AIS and Clarkson licenses. Each of these dimensions is evaluated formally below.
A.2. Critical Appraisal of Causal Identification Strategy and Econometric Assumptions
The reduced-form causal strategy relies on a continuous-intensity difference-in-differences estimator saturated with directed country-pair fixed effects , exporter-by-quarter fixed effects , and importer-by-quarter fixed effects . In structural gravity econometrics, this three-way fixed-effects saturation is gold standard for controlling time-invariant bilateral frictions and time-varying multilateral resistance terms. Nevertheless, four deeper identification assumptions warrant careful critical scrutiny before accepting as an unbiased causal elasticity.
First, viewed through the nonrandom-exposure framework of Borusyak & Hull (2023), the exogeneity of the June 2016 engineering completion date does not automatically guarantee exogeneity of the cross-sectional exposure vector . Although the geographic coordinates of the Isthmus of Panama are predetermined, a country pair's reliance on Panama-transiting routes prior to 2016 reflects endogenous trade specialization, historical liner investments, and Pacific-versus-Atlantic port concentration. Because positive exposure clusters heavily along East Asia–US East Coast and South America West Coast–Europe lanes, any pair-specific time-varying shock that strikes those exact corridors during 2016Q3–2019Q4 confounds despite full and absorption.
Most conspicuously, the 2018–2019 US–China trade war targeted precisely the two largest economies in the archived Panama exposure ranking rankPCtrade.tab: discriminatory bilateral tariffs depressed direct US–China flows while triggering substantial trade diversion from China through Mexico, Vietnam, and ASEAN toward US East Coast gateways. Because discriminatory bilateral tariffs vary at the level, they bypass both exporter-quarter and importer-quarter fixed effects and can directly contaminate the 2018–2019 post-expansion estimates.
Second, anticipation effects and pre-trend dynamics deserve tighter formal testing than visual inspection of event-study plots. Unlike the abrupt military closure of the Suez Canal in June 1967 studied by Feyrer (2021), the Panama Canal expansion was publicly approved in 2006, broke ground in 2007, and experienced well-telegraphed construction delays from its original 2014 target to June 2016. Global container carriers ordered Neopanamax fleets years in advance, while major US East Coast ports—including Savannah, Norfolk, Charleston, and New York–New Jersey—completed multi-billion-dollar channel-dredging and crane-elevation investments ahead of inauguration.
Anticipatory contract restructuring and pre-opening capacity repositioning threaten the no-anticipation assumption and render the choice of reference period sensitive. Notably, in our annual event study M13_annual_es, the 2013 pre-treatment lead registers -0.0610 with , while the immediate pre-opening quarter 2016Q1 in M12_event_study ticks up to +0.0469 with . Modern Q1 causal standards dictate supplementing visual event studies with the honest parallel-trends sensitivity bounds of Rambachan & Roth (2023) to establish the maximum allowable violation of linearity under which the positive post-expansion effect remains bounded away from zero.
Third, continuous-treatment difference-in-differences imposes a stringent strong parallel-trends assumption and functional-form linearity across exposure intensities . Even if unexposed pairs provide valid counterfactual trends for untreated potential outcomes, linear TWFE/HDFE estimation recovers a clean average causal response only when marginal treatment slopes do not vary systematically with baseline exposure. Economically, however, shipping scale upgrades exhibit sharp discrete thresholds: pairs crossing from feeder-only connectivity to direct Neopanamax trunk calls experience discontinuous freight savings that differ fundamentally from marginal exposure increments around 0.25. Given the multimodal empirical distribution of documented in Figure 1, non-parametric dose-response binning or semi-parametric spline tests are essential to confirm whether the +0.1009 slope reflects uniform proportional scaling or an average over steep threshold jumps.
Fourth, two-way clustering on exporting and importing countries via Cameron et al. (2011) does not exhaust the spatial dependence generated by a hub-and-spoke maritime network. Two-way clustering permits arbitrary covariance between pairs sharing an origin or destination , yet enforces exact zero covariance between disjoint pairs and even when both route containers through the same Panama locks, the same Caribbean transshipment hub, or the same vessel-sharing alliance. Under network-induced positive cross-pair correlation, two-way clustered standard errors remain downward biased. Compounding this issue, when cluster dimension is modest relative to the number of regressors—as in quarterly event studies—the CGM inclusion–exclusion matrix frequently exhibits negative eigenvalues requiring ad hoc spectral truncation, creating finite-sample inference fragility emphasized by Abadie et al. (2023).
A.3. Assessment of Data Quality, Variable Measurement, and Sample Sensitivity
Auditing the archival materials and code architecture in doi:10.7910/DVN/6JUQUW highlights three empirical data concerns affecting measurement precision, sample coverage, and external reproducibility.
First, proprietary data restrictions create an asymmetric verification wall between upstream network construction and downstream econometric estimation. The entire front end of the pipeline—AIS cleaning in 1_AIS_data_summstats, port clustering in PortClusters.m, and cluster-computing shortest-path routing in 2_fastest_routes—depends on commercial Kpler AIS logs and Clarkson ship registries excluded from the Dataverse archive. Because intermediate bilateral exposure files such as PESPbyHr_bil514.dta and the collapsed quarterly UN Comtrade panel all_q.dta are also absent, outside researchers cannot independently verify sensitivity to port-cluster radius cutoffs, minimum vessel deadweight thresholds, or speed-imputation rules without purchasing expensive commercial licenses. Publishing anonymized country-pair exposure aggregates derived from the proprietary AIS graph would dramatically elevate open-science reproducibility without exposing any individual vessel record or breaching vendor licensing agreements.
Second, aggregating port-pair routing indicators to country-pair exposure in exposure_measures.do introduces two distinct measurement frictions. First, identifying canal reliance strictly via pre-expansion fastest sailing time assumes shippers optimize solely for speed, whereas low-value-to-weight containerized goods frequently select slower, lower-freight strings or transshipment loops. Second, weighting departure and arrival ports by total port throughput across all global destinations rather than corridor-specific bilateral flows assigns disproportionate weight to mega-ports oriented toward a single ocean basin—such as Los Angeles–Long Beach on the US West Coast or Shanghai in East China—potentially misstating true bilateral Panama dependence for multi-coast nations. While alternative fastest-route metrics in M05_av and M06_wav confirm stability near +0.1011 to +0.1016, both inherit the same aggregate port-weighting denominator and therefore do not resolve aggregation measurement error.
Third, trade-reporting definitions and sample selection merit careful scrutiny. Comparing our flagship consignment-based regression M02_main at +0.1009 against country-of-origin imports M11_no_consign at +0.0925 reveals an 8.4% downward shift when re-exported entrepot trade is attributed back to original producers rather than intermediate consignors. Furthermore, the original Comtrade preprocessing script dataprep_comtrade.do drops quarters missing any single monthly report and discards every zero bilateral trade cell upon applying the logarithmic transformation. Because zero flows are concentrated among smaller, peripheral maritime pairs that stand to gain new indirect connectivity once trunk freight costs fall, conditioning on strictly positive quarterly flows truncates the extensive margin of trade creation and introduces selection bias across unbalanced subsamples.
A.4. Core Methodological Limitations of the Original Study
- Zero-Trade Sample Selection and Jensen-Inequality Heteroskedasticity Bias in Log-Linear Gravity Estimation: Estimating the gravity equation via log-linear OLS on mechanically drops every country-pair-quarter with zero reported trade and fails consistency under multiplicative heteroskedasticity. As demonstrated by Santos Silva & Tenreyro (2006), rewriting multiplicative gravity with in log form yields . By Jensen's inequality, is a strictly decreasing function of the conditional variance , which varies systematically with route scale and vessel-size volatility. Consequently, . Economically, if deploying larger, more reliable Neopanamax vessels reduces freight and shipment-volume variance on Panama-exposed corridors, falls and rises post-2016, imparting an upward heteroskedasticity bias to , whereas dropping zero bilateral flows simultaneously imparts a downward selection bias by omitting extensive-margin entry of newly viable indirect trading relationships.
- Violation of the Stable Unit Treatment Value Assumption and General-Equilibrium Network Spillover Bias: The difference-in-differences estimator presumes that unexposed country pairs with remain unaffected by the Panama Canal expansion. Yet in an interconnected global shipping network governed by finite short-run vessel capacity and shared hub ports—precisely the environment modeled in the authors' structural solver
model.m—expanding Panama locks redeploys large container tonnage away from Suez-transiting Asia–Europe loops and alters congestion and scale economies at shared entrepots. Letting denote the general-equilibrium trade shift experienced by unexposed control pairs, the reduced-form estimator converges to . When canal expansion diverts vessel capacity or trade shares away from unexposed corridors so that , the reduced-form coefficient is biased upward relative to the true partial-equilibrium cost reduction; Conversely, if hub scale economies lower feeder freight rates even on unexposed routes so that , the difference-in-differences estimate is biased downward and understates global welfare gains. - Classical and Port-Aggregation Measurement Error Inducing Attenuation Bias in Exposure Intensity: Because country-pair exposure proxies latent bilateral container dependence using pre-expansion fastest-route indicators weighted by aggregate port throughput rather than observed pair-specific Panama cargo shares, the regressor contains measurement error with strictly positive variance . After three-way HDFE within-transformation, the probability limit satisfies . Under classical orthogonal measurement error, attenuation strictly biases toward zero in proportion to the noise-to-signal ratio, with attenuation most severe for multi-coast economies such as the United States, Canada, and Mexico whose Pacific and Atlantic gateways serve sharply segmented hinterlands—consistent with the coefficient sensitivity observed in
M09_no_bicoastal. - Unmodeled Hub-Network Cross-Sectional Dependence and Finite-Sample CGM Covariance Rank Deficiency: Two-way country clustering on accounts for error correlation within exporters and importers but assumes independence across disjoint country pairs and that traverse common transshipment hubs or common carrier alliances. Whenever shared-hub congestion or alliance freight surcharges generate positive covariance across disjoint pairs sharing hub , the omitted network covariance component is positive semi-definite along the exposure dimension, causing two-way clustered standard errors to understate true sampling uncertainty and inflate -statistics. Simultaneously, as shown by Abadie et al. (2023), finite cluster counts paired with high-dimensional dynamic regressor sets induce non-positive-definite CGM covariance matrices whose eigenvalue-flooring corrections distort finite-sample inference and create minor solver-specific SE discrepancies.
- Time-Varying Bilateral Tariff Confounding During 2018–2019 and Pre-Opening Anticipation Bias: Three-way fixed effects absorb unilateral macroeconomic shocks but cannot absorb discriminatory bilateral policy shocks varying at the level. Because the final eight quarters of the sample overlap directly with the 2018–2019 US–China Section 301 and Section 232 tariff waves—affecting the two economies with the highest Panama trade exposure—omitted bilateral tariff changes enter the residual and generate omitted-variable bias . Trade diversion from China toward Mexico and Southeast Asia bound for US East Coast ports correlates positively with during 2018–2019, risking upward confounding precisely during the peak years of
M13_annual_esat+0.0929and+0.0938, while pre-2016 Neopanamax fleet deliveries and port dredging violate strict no-anticipation around the 2016Q2 baseline.
A.5. Recommendations for Model Upgrades and International Publication Extensions
- Adopt Three-Way HDFE Poisson Pseudo-Maximum Likelihood with Intensive–Extensive Margin Decomposition: Future empirical implementations should elevate the primary estimator from log-linear OLS to three-way high-dimensional fixed-effects PPML using the fast iterative algorithm of Correia et al. (2020) grounded in Santos Silva & Tenreyro (2006). Estimating gravity in multiplicative levels preserves every zero bilateral trade flow across the full matrix, eliminates Jensen-inequality heteroskedasticity bias, and ensures adding-up consistency between reduced-form trade elasticities and general-equilibrium trade-share predictions. Pairing PPML level estimates with a linear-probability or logit extensive-margin model for newly activated trading pairs directly quantifies whether maritime chokepoint upgrades chiefly expand existing corridors or unlock new indirect markets, targeting publication in the Journal of International Economics or Review of Economics and Statistics.
- Implement Borusyak–Hull Exposure Recentering, Bilateral Tariff Controls, and Honest Parallel-Trends Bounds: To address nonrandom geographic exposure and 2018–2019 trade-war confounding simultaneously, researchers should construct recentered exposure instruments following Borusyak & Hull (2023) by averaging counterfactual exposure across simulated global chokepoint shocks, while explicitly merging quarterly bilateral tariff schedules at the HS 6-digit level from WTO–TRAINS to purge US–China tariff diversion. Furthermore, replacing informal pre-trend checks with the partial-identification framework of Rambachan & Roth (2023) allows authors to report robust 95% confidence sets across explicit bounds on post-treatment trend curvature, decisively neutralizing referee critiques regarding the 2013 annual lead.
- Upgrade Inference to Network-Aware Hub-Shared Covariance Matrices and Multi-Way Wild Cluster Bootstrap: Rather than relying exclusively on asymptotic two-way country clustering that ignores shared-hub spillovers and suffers negative-eigenvalue truncation in dynamic specifications, subsequent studies should implement network-cluster variance estimators linking country pairs that share major transshipment nodes alongside multi-way Wild Cluster Bootstrap inference. Combining network-aware covariance matrices with exact finite-sample bootstrap -values guarantees valid hypothesis testing even in richly parameterized 27-quarter event studies with fifty countries.
- Extend the Verified Tri-Runtime Framework to Reverse Maritime Chokepoint Shocks of 2021–2025 and ASEAN Corridors: The harmonized three-engine gravity pipeline validated here can be deployed directly onto symmetric negative chokepoint shocks that materialized in the early 2020s—most notably the 2023–2024 El Niño drought restrictions slashing daily Panama Canal transits by nearly forty percent and the 2024 Red Sea maritime crisis rerouting Asia–Europe container traffic around the Cape of Good Hope. Comparing positive capacity-expansion elasticities from 2016 against negative capacity-contraction elasticities from 2023–2024 enables a rare empirical test of asymmetric adjustment costs in global liner networks, while integrating granular customs and deep-water port telemetry from Vietnam and ASEAN hubs such as Cai Mep–Thi Vai and Lach Huyen opens a high-impact Q1–Q2 research agenda on supply-chain resilience in emerging Asia.
References
- Abadie, A., Athey, S., Imbens, G. W., & Wooldridge, J. M. (2023). When Should You Adjust Standard Errors for Clustering? The Quarterly Journal of Economics, 138, 1–35. https://doi.org/10.1093/qje/qjac038 ↩
- Allen, T., & Arkolakis, C. (2014). Trade and the Topography of the Spatial Economy. The Quarterly Journal of Economics, 129, 1085–1140. https://doi.org/10.1093/qje/qju016 ↩
- Anderson, J. E., & van Wincoop, E. (2003). Gravity with Gravitas: A Solution to the Border Puzzle. American Economic Review, 93, 170–192. https://doi.org/10.1257/000282803321455214 ↩
- Borusyak, K., & Hull, P. (2023). Nonrandom Exposure to Exogenous Shocks. Econometrica, 91, 2155–2185. https://doi.org/10.3982/ECTA19367 ↩
- Brancaccio, G., Kalouptsidi, M., & Papageorgiou, T. (2020). Geography, Transportation, and Endogenous Trade Costs. Econometrica, 88, 657–691. https://doi.org/10.3982/ECTA15455 ↩
- Cameron, A. C., Gelbach, J. B., & Miller, D. L. (2011). Robust Inference with Multiway Clustering. Journal of Business & Economic Statistics, 29, 238–249. https://doi.org/10.1198/jbes.2010.07136 ↩
- Correia, S., Guimarães, P., & Zylkin, T. (2020). Fast Poisson Estimation with High-Dimensional Fixed Effects. The Stata Journal, 20, 95–115. https://doi.org/10.1177/1536867X20909691 ↩
- Donaldson, D. (2018). Railroads of the Raj: Estimating the Impact of Transportation Infrastructure. American Economic Review, 108, 899–934. https://doi.org/10.1257/aer.20101199 ↩
- Fajgelbaum, P. D., & Schaal, E. (2020). Optimal Transport Networks in Spatial Equilibrium. Econometrica, 88, 1411–1452. https://doi.org/10.3982/ECTA15213 ↩
- Feyrer, J. (2021). Distance, Trade, and Income — The 1967 to 1975 Closing of the Suez Canal as a Natural Experiment. Journal of Development Economics, 153, 102708. https://doi.org/10.1016/j.jdeveco.2021.102708 ↩
- Ganapati, S., Wong, W. F., & Ziv, O. (2024). Entrepot: Hubs, Scale, and Trade Costs. Review of Economic Studies, 91, 3425–3463. https://doi.org/10.1093/restud/rdad109 ↩
- Gaure, S. (2013). OLS with Multiple High Dimensional Category Variables. Computational Statistics & Data Analysis, 66, 8–18. https://doi.org/10.1016/j.csda.2013.03.024 ↩
- Head, K., & Mayer, T. (2014). Gravity Equations: Workhorse, Toolkit, and Cookbook. In Handbook of International Economics, Vol. 4, 131–195. https://doi.org/10.1016/B978-0-444-54314-1.00003-3 ↩
- Heiland, I., Moxnes, A., Ulltveit-Moe, K. H., & Zi, Y. (2025). Trade From Space: Shipping Networks and The Global Implications of Local Shocks. The Review of Economics and Statistics. https://doi.org/10.1162/rest.a.267 ↩
- Moxnes, A. (2025). Replication Data for: Trade From Space: Shipping Networks and The Global Implications of Local Shocks. Harvard Dataverse, V1. https://doi.org/10.7910/DVN/6JUQUW ↩
- Rambachan, A., & Roth, J. (2023). A More Credible Approach to Parallel Trends. Review of Economic Studies, 90, 2555–2591. https://doi.org/10.1093/restud/rdad018 ↩
- Santos Silva, J. M. C., & Tenreyro, S. (2006). The Log of Gravity. The Review of Economics and Statistics, 88, 641–658. https://doi.org/10.1162/rest.88.4.641 ↩
ACADEMIC SIMULATION DATASET — NON-EMPIRICAL DEMONSTRATION
heiland_panama_shipping_paneliso_iiso_jcid_icid_jpair_idyearqperidpostlnvalue_colnvalue_co_nrlnvalueUnlock 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




