Reproducibility Studies29 Min Read6153 Words

Putting Quantitative Trade Models to the Test: Multi-Engine Replication and Outlier Diagnostics of the US-China Trade War

This study conducts an independent multi-engine empirical replication and finite-sample diagnostic audit of Adao, Costinot, & Donaldson (2025) in The Quarterly Journal of Economics

Author:thuyetnn· EcoLab
Published:Nov 29, 2026
1/17
Putting Quantitative Trade Models to the Test: Multi-Engine Replication and Outlier Diagnostics of the US-China Trade War

1. Introduction and Research Context

Quantitative general-equilibrium models serve as the standard laboratory for evaluating the welfare effects of tariff escalations, trade agreements, and global supply-chain realignments (Arkolakis, Costinot, & Rodriguez-Clare, 2012⁠; Costinot & Rodriguez-Clare, 2014⁠; Caliendo & Parro, 2015⁠). Following the unprecedented wave of US-China tariff hikes in 2018 and 2019, empirical and structural analyses rapidly quantified short-run border pass-through and aggregate US welfare costs, led by Fajgelbaum et al. (2020) and Amiti, Redding, & Weinstein (2019)⁠. Yet a persistent methodological gap separated reduced-form causal evaluation from structural counterfactual modeling: Researchers lacked a disciplined, high-power statistical test capable of evaluating whether a quantitative trade model's welfare predictions survive contact with realized data.

Conventional goodness-of-fit diagnostics such as bivariate correlations or unweighted scatterplots between realized outcomes and model forecasts suffer from two severe flaws.

First, realized trade outcomes reflect a deluge of non-tariff demand, productivity, and exchange-rate shocks that attenuate raw correlations toward zero—specifically to with in the US-China trade war sample—even when the structural mechanism is economically informative.

Second, unweighted fit measures treat economically trivial product lines identically to major trade varieties, misaligning statistical rejection with welfare-relevant forecast error.

Adao, Costinot, & Donaldson (2025) resolve both limitations by formulating a welfare-relevant instrumental-variables specification test. By interacting the structural model's general-equilibrium Jacobian with standardized tariff shifters and weighting each variety by its first-order welfare contribution, their preferred instrument isolates tariff-driven variation precisely along the margins that govern aggregate welfare. Under correct specification and conditional exogeneity of tariff shifters relative to non-tariff disturbances, the welfare-weighted projection of prediction errors onto has zero mean.

This independent replication contributes four distinct empirical advances beyond routine code verification.

First, we audit the complete open Harvard Dataverse archive and construct a transparent, self-contained empirical dataset covering all welfare-relevant outcomes.

Second, we establish sub- numerical parity across Python, R, and StataNow 19.5 MP across 18 econometric specifications spanning Table 1, Table C.1, Figure 7 binscatters, IV-2SLS calibration slopes, and tail-trimmed sensitivity checks.

Third, we juxtapose the authors' Adao, Kolesar, & Morales (2019) shift-share standard errors against unit-level Eicker–Huber–White HC1 standard errors, exposing why inference diverges sharply across channels.

Fourth, we document an original finite-sample influence finding: A single extreme tariff-revenue observation, variety #10396, accounts for the entire positive sign of both the published tariff-revenue rejection and the pooled test point estimate, masking substantial tariff-revenue undershooting once that lone outlier is removed.

2. Data Architecture and Econometric Methodology

2.1. Archive Provenance and Empirical Sample Structure

The public Harvard Dataverse archive for Adao, Costinot, & Donaldson (2025) totals MB across 146 unrestricted files. While the authors' upstream MATLAB simulation and Jacobian-inversion scripts were executed on high-memory cluster nodes requiring GB to GB of RAM, the exact variety-level estimation dataset powering Table 1, Table C.1, and Figure 7 is deposited verbatim in tab_st0.txt, accompanied by exact output matrices and the 33-point structural elasticity grid in est_Fig_6.mat.

Our standardized empirical dataset preserves all observations representing varieties that account for 90% of US trade between Q3 2018 and Q3 2019. Every row maps cleanly to one of the three terms in the first-order open-economy welfare identity: Export prices with and positive welfare weight ⁠; Import prices with and negative welfare weight ⁠; And tariff revenue with and positive welfare weight ⁠. Following the authors' baseline specification, observed changes ⁠, model forecasts ⁠, prediction errors ⁠, and both instruments and are residualized against the baseline control matrix comprising a constant, outcome-channel indicators, and average tariff exposure.

Table 1: Descriptive Statistics of Model Variables
Outcome GroupVariableNMedianStd. Dev.P1P99Max
Pooled SampleWelfare Weight 24,1930.00010.0044-0.00480.00690.2843
Pooled SampleObserved Change 24,193-0.07103.5362-1.74951.6833544.0335
Pooled SampleModel Forecast 24,193-0.01880.0498-0.02160.22880.4788
Pooled SamplePrediction Error 24,193-0.06723.5345-1.74641.6713543.8051
Pooled SamplePreferred IV 24,19311.6563131.0319-494.3611249.88312,972.9715
Export PricesObserved Change 5,687-0.01400.7106-2.27092.37775.7484
Import PricesObserved Change 9,2530.00970.5704-2.11311.76457.0973
Tariff RevenueObserved Change 9,253-0.09255.6623-0.14100.2835544.0335

Table 1 immediately highlights a striking distributional anomaly in tariff revenue. Across the central 98% of the tariff-revenue distribution, residualized changes span only to ⁠, yet the sample maximum rockets to —nearly times the 99th percentile—inflating the tariff-revenue standard deviation to ⁠. This extreme right-tail leverage directly drives the finite-sample sensitivity analyzed in Section 3.3.

2.2. Specification Test Equivalence and IV-2SLS Calibration Design

The baseline quantitative model of Fajgelbaum et al. (2020) parameterizes foreign export supply elasticity , variety substitution elasticity , foreign import demand elasticity , product substitution elasticity , and home-foreign composite elasticity . Given the first-order structural forecast , Adao, Costinot, & Donaldson (2025) define their IV-based specification test on any sample of size as:

Where:

  • denotes the IV-based specification test statistic evaluated at structural parameter vector under instrument ;
  • denotes the count of variety outcomes in the target sample ;
  • denotes either the preferred general-equilibrium instrument or the naive instrument after residualizing on baseline controls;
  • denotes the observed Q3 2018 to Q3 2019 residualized outcome change for variety ;
  • denotes the structural general-equilibrium forecast produced by the baseline model at .

Because channel indicators belong to the baseline control set, the sample means of , , and equal zero to machine precision around in the pooled sample and inside each outcome subsample. Defining the population second-moment normalized instrument , ordinary least squares estimation of the linear projection below yields an exact algebraic identity with the published moment statistic:

Where:

  • represents , , or , multiplied by for import prices to align with negative welfare weights;
  • is the intercept term, which vanishes identically under zero-mean residualization;
  • is the slope parameter whose OLS estimate identically recovers ;
  • is the variance-normalized instrument constructed from ;
  • captures idiosyncratic non-tariff outcome disturbances orthogonal to tariff shocks under the null.

To evaluate scale-free forecast proportionality directly, we further estimate an exactly identified IV-2SLS calibration regression instrumenting structural forecasts with :

Where:

  • is the realized residualized outcome change for variety ;
  • is the structural second-stage intercept;
  • is the predictive calibration slope, where perfect model calibration corresponds strictly to ;
  • is the structural forecast instrumented by in the first stage;
  • and are the first-stage intercept and relevance coefficient;
  • and denote second-stage and first-stage disturbances, respectively.

For statistical inference, we systematically compare the authors' Adao, Kolesar, & Morales (2019) shift-share standard errors—both ignoring and incorporating first-stage parameter estimation uncertainty—alongside Eicker–Huber–White HC1 robust standard errors computed identically across Python, R, and StataNow 19.5 MP.

3. Empirical Replication Results and Cross-Engine Verification

3.1. Pooled Welfare Tests and Outcome-Channel Decomposition

Table 2 compiles our full-sample replication of Table 1 from the original study. The linear correlation between realized outcomes and structural predictions is only with , confirming that unweighted fit metrics are overwhelmed by non-tariff volatility. Projecting onto the preferred general-equilibrium instrument produces a realized response of versus a structural prediction of , yielding a pooled specification error of .

Table 2: Quantitative Model Estimation and Hypothesis Testing Results
SpecificationPoint EstimateAKM SE Without Est. Unc.AKM SE With Est. Unc.HC1 Robust SEAKM p-valueN
Linear Correlation 0.0413————24,193
Naive IV Test 0.59390.65700.67270.60130.368124,193
Preferred GE IV Test 0.15180.21190.23050.61820.518124,193

Comparing precision across instruments validates the central theoretical promise of the paper. Relative to the naive instrument with AKM SE ignoring estimation uncertainty and accounting for estimation uncertainty, the general-equilibrium preferred instrument trims standard errors roughly threefold to and , respectively. Incorporating estimation uncertainty across the five structural elasticities raises the preferred-IV standard error by merely , demonstrating that non-tariff shock variance dominates statistical uncertainty.

Disaggregating the pooled test into its three constituent welfare channels across Figure 1 and Table 3 reveals why aggregate non-rejection warrants careful interpretation. For export prices at , realized responses at track structural predictions at closely, leaving a negligible specification error of with AKM SE and . By contrast, for sign-flipped import prices at , the realized projection of exceeds the model forecast of by , triggering strong rejection under both shift-share inference with AKM SE and and conservative unit-level inference with HC1 SE , , and . Our IV-2SLS calibration regression for import prices in specification M14 confirms strong first-stage relevance with and , estimating with HC1 SE and rejecting unity at .

Figure 1: Pooled Welfare-Relevant IV Specification Tests and Outcome-Channel Decomposition
Figure 1: Pooled Welfare-Relevant IV Specification Tests and Outcome-Channel Decomposition

In the baseline tariff-revenue sample at , realized projection of appears to outstrip the structural forecast of by with AKM SE and . Because import price increases enter welfare negatively while tariff revenues enter positively, the unflipped import-price gap of and the baseline tariff-revenue gap of partially cancel in the pooled test, while high export-price variance dilutes aggregate precision.

3.2. Tri-Runtime Numerical Parity Across Python, R, and StataNow 19.5 MP

To eliminate software-specific numerical artifacts, we independently executed all 18 specifications from M01 through M18 in Python, R, and StataNow 19.5 MP on adao_trade_war_iv_test.csv. Total wall-clock time across all three engines was seconds, comprising seconds in Python, seconds in R, and seconds in StataNow 19.5 MP.

Table 3: confirms virtual machine-precision identity across all three statistical environments: Maximum cross-runtime coefficient discrepancy is at M07 and maximum HC1 standard-error discrepancy is at M11, roughly four orders of magnitude tighter than the tolerance threshold
Model SpecificationPythonRStataMax Diff %HC1 SEN
M01 Pooled Preferred IV Specification Error0.15180.15180.15180.0000080.618224,193
M02 Pooled Naive IV Specification Error0.59390.59390.59390.0000000.601324,193
M03 Pooled Observed Outcome Projection0.49790.49790.49790.0000120.621724,193
M04 Pooled FGKK Predicted Outcome Projection0.34610.34610.34610.0000010.033424,193
M05 Export Prices Observed Projection1.14171.14171.14170.0000111.71725,687
M06 Export Prices Predicted Projection1.21101.21101.21100.0000010.10785,687
M07 Export Prices Specification Error-0.0693-0.0693-0.06930.0001121.70435,687
M08 Sign-Flipped Import Prices Observed Projection0.54000.54000.54000.0000000.09119,253
M09 Sign-Flipped Import Prices Predicted Projection0.20770.20770.20770.0000030.01869,253
M10 Sign-Flipped Import Prices Specification Error0.33230.33230.33230.0000010.08789,253
M11 Tariff Revenue Observed Projection1.14021.14021.14020.0000061.22549,253
M12 Tariff Revenue Predicted Projection0.36830.36830.36830.0000030.02319,253
M13 Tariff Revenue Specification Error0.77190.77190.77190.0000021.22479,253
M14 Import Prices IV-2SLS Calibration Slope2.60032.60032.60030.0000030.43559,253
M15 Pooled Preferred IV Excluding Outlier #10396-0.3150-0.3150-0.31500.0000060.401224,192
M16 Tariff Revenue Error Excluding Outlier #10396-0.4488-0.4488-0.44880.0000000.08939,252
M17 Tariff Revenue Error 1% Trimmed-0.4960-0.4960-0.49600.0000000.02729,067
M18 Import Prices Error 1% Trimmed0.30600.30600.30600.0000020.07089,067
Figure 2: Twenty-Bin Scatter Projections of Observed Changes and FGKK Predictions on the Preferred IV
Figure 2: Twenty-Bin Scatter Projections of Observed Changes and FGKK Predictions on the Preferred IV

Figure 2 reproduces Figure 7 across 20 equal-sized quantile bins. Export-price observed and predicted slopes align closely in Panel A, whereas sign-flipped import prices display a visibly steeper realized slope than the model predicts in Panel B. Most remarkably, Panel C exposes a stark visual paradox: Although the baseline tariff-revenue fit line slopes sharply upward at , nearly every quantile bin lies below zero with a flat-to-negative red dotted slope of once observation #10396 is removed.

3.3. Single-Observation Influence Discovery and Structural Elasticity Frontier

Notice from Table 3 that while HC1 and AKM standard errors closely agree for import prices at versus , the tariff-revenue HC1 standard error of explodes to times the AKM standard error of . Motivated by the finite-sample robustness framework of Broderick, Giordano, & Meager (2023)⁠, we computed exact per-observation contributions across all varieties.

Table 4: Quantitative Model Estimation and Hypothesis Testing Results
Sensitivity SpecificationError EstimateHC1 SEHC1 p-valueShift vs. BaselineN
Pooled Baseline Preferred IV M01+0.15180.61820.80600.000024,193
Pooled Excluding Outlier #10396 M15-0.31500.40120.4324-0.466824,192
Tariff Revenue Baseline M13+0.77191.22470.52850.00009,253
Tariff Revenue Excluding #10396 M16-0.44880.08930.0000-1.22079,252
Tariff Revenue 1% Trimmed M17-0.49600.02720.0000-1.26799,067
Import Prices Baseline M10+0.33230.08780.00020.00009,253
Import Prices 1% Trimmed M18+0.30600.07080.0000-0.02639,067

Table 4 and Figure 3 uncover a striking empirical reversal. Variety #10396, accounting for just of the sample, carries — times larger than the second-largest value of in the entire dataset—combined with ⁠. Alone, this single observation injects into the tariff-revenue test and into the pooled test. Excluding #10396 flips the tariff-revenue realized projection from to and reverses the specification error from to ⁠, simultaneously shrinking the HC1 standard error -fold to with and ⁠.

Symmetric 1% trimming at confirms this reversal at with SE ⁠, ⁠, and ⁠. Substantively, rather than overshooting the benchmark trade model, realized tariff revenues systematically undershot first-order linear predictions—consistent with nonlinear quantity contraction, trade rerouting, and tariff evasion. Conversely, the import-price misspecification barely budges under 1% trimming, shifting from to with SE and ⁠, proving it is a genuine, broad-based empirical divergence.

Figure 3: Single-Observation Influence Diagnostics (#10396) and Tariff-Revenue Sign Reversal
Figure 3: Single-Observation Influence Diagnostics (#10396) and Tariff-Revenue Sign Reversal
Table 5: Analytical Summary — Single-Observation Influence Discovery and Structural Elasticity Frontier
Structural ParameterGrid RangeFGKK BaselineNon-Rejected Region at 5%Rejected Region at 5%Predicted Welfare Range in % GDP
Foreign Export Supply 0.00 with with to
Foreign Import Demand 1.04Only at with with down to
Variety Substitution 2.53Entire grid with None rejected down to

Table 5 and Figure 4 synthesize the 33 structural calibrations from Figure 6 of the original paper. Confirming the authors' theoretical design, the preferred IV test displays zero rejection power along —where welfare shifts are negligible—while sharply rejecting both ⁠, where predicted welfare turns negative down to of GDP, and ⁠, where terms-of-trade gains inflate predicted welfare to of GDP.

Figure 4: Preferred IV Rejection Frontier and Welfare Shifts Across 33 Structural Parameterizations
Figure 4: Preferred IV Rejection Frontier and Welfare Shifts Across 33 Structural Parameterizations

4. Discussion and Policy Implications

Our replication underscores three broader lessons for trade policy evaluation and open-economy macroeconomics. First, Adao, Costinot, & Donaldson (2025) deliver an indispensable bridge between structural counterfactuals and design-based econometrics: Weighting variety-level forecast errors by their first-order welfare relevance directs statistical power precisely toward welfare-pivotal elasticities and rather than noisy, low-weight micro margins.

Second, the juxtaposition of persistent import-price over-response at and outlier-cleaned tariff-revenue undershooting at signals that first-order linearized trade models systematically understate extensive-margin exits, supply-chain rerouting, and nonlinear Laffer curvature during large discrete tariff hikes. For trade-open manufacturing hubs deeply embedded in US-China value chains, fiscal projections based on linearized tariff formulas risk substantially overestimating customs revenue while misjudging border price pass-through.

5. Conclusion

This independent replication verified Adao, Costinot, & Donaldson (2025) across 18 econometric specifications on the original US-China trade war dataset in Python, R, and StataNow 19.5 MP, achieving maximum cross-engine discrepancy and exact four-decimal fidelity to published Tables 1 and C.1. Beyond confirming computational reproducibility, our diagnostic extension uncovers two critical empirical realities behind the pooled non-rejection: A highly robust -fold excess responsiveness in import prices and an extreme single-observation fragility at tariff-revenue variety #10396, whose removal flips the tariff-revenue error from to with and reveals systematic tariff-revenue undershooting relative to the linearized benchmark trade model.

Appendix A. Independent Academic Peer-Review Report

A.1. Overall Assessment of Scholarly Contribution and Research Positioning

Adao, Costinot, & Donaldson (2025) tackle a foundational methodological divide in international economics that has persisted ever since quantitative trade modeling rose to prominence following Arkolakis, Costinot, & Rodriguez-Clare (2012), Costinot & Rodriguez-Clare (2014), and Caliendo & Parro (2015). Reduced-form trade empirics excels at credible local identification of tariff pass-through (Amiti, Redding, & Weinstein, 2019; Fajgelbaum et al., 2020) yet struggles to aggregate micro elasticities into general-equilibrium welfare. Conversely, structural general-equilibrium models deliver complete counterfactual welfare evaluations yet historically relied on informal fit plots or low-power correlation checks rather than formal, welfare-aligned hypothesis tests.

The paper's enduring conceptual innovation is to recast model validation as a targeted moment condition governed by the researcher's exact welfare functional. Rather than testing the implausibly strict hypothesis that every micro-level equation holds without misspecification, the authors prove that local specification errors are benign for welfare forecasting if and only if they are orthogonal to first-order welfare weights along exogenous policy shifters. By synthesizing shift-share inference theory (Adao, Kolesar, & Morales, 2019; Goldsmith-Pinkham, Sorkin, & Swift, 2020; Borusyak, Hull, & Jaravel, 2022) with quantitative trade Jacobians, the authors produce a test statistic that triples precision relative to naive tariff instruments and focuses rejection power directly onto welfare-pivotal parameters and ⁠.

From a senior referee perspective, however, the empirical application in Section 5 reveals a notable tension between the elegance of the asymptotic framework and the raw realities of customs microdata. Historically, quantitative computable general-equilibrium models were often criticized as empirically unfalsifiable because high-dimensional structural parameter spaces could always accommodate aggregate moments post hoc. By projecting multi-dimensional prediction errors onto a scalar welfare-aligned moment driven by exogenous policy shifters, Adao, Costinot, & Donaldson (2025) construct a genuinely falsifiable validation standard applicable far beyond tariffs—including spatial urban equilibrium, carbon border adjustments, and industrial subsidies. Yet rigorous scientific scrutiny demands evaluating both the original paper and our replication's own methodological architecture against four explicit pillars of cross-examination:

First, exact algebraic equivalence between the published shift-share moment statistic and variance-normalized OLS regressions under zero-mean residualization, verified to across Python, R, and StataNow 19.5 MP.

Second, transparent separation between Adao, Kolesar, & Morales (2019) shift-share standard errors and Eicker–Huber–White HC1 standard errors, explicitly explaining why the two estimators diverge by in tariff revenue while matching closely in import prices.

Third, exact finite-sample influence verification proving that the single-observation sign flip at #10396 is an indisputable numerical property of the deposited tab_st0.txt archive rather than a software or sample-construction artifact; And fourth, clear demarcation of external validity limits between one-year linearized border outcomes and nonlinear multi-year general-equilibrium reallocation.

A.2. Critical Appraisal of Causal Identification Strategy and Econometric Assumptions

The identification framework of Adao, Costinot, & Donaldson (2025) rests on two demanding econometric assumptions whose fragility warrants rigorous scrutiny. First, consistency of requires that US and Chinese tariff shifters be conditionally exogenous with respect to unobserved non-tariff supply and demand shocks given the sparse baseline control vector comprising channel dummies and mean exposure. Yet institutional evidence on the 2018–2019 Section 301 tariffs and retaliatory schedules documented by Fajgelbaum et al. (2020) and Amiti, Redding, & Weinstein (2020) demonstrates deliberate political and industrial targeting: US tariffs disproportionately hit intermediate machinery and strategic Chinese manufacturing sectors, while Chinese retaliatory tariffs specifically targeted politically sensitive US agricultural exports.

Those exact product categories simultaneously experienced global industrial deceleration, currency depreciation, and anticipatory inventory front-running during 2018–2019. Controlling solely for a linear average-exposure scalar leaves substantial scope for sector-specific unobserved trends to correlate with tariff shocks. Under the shock-level quasi-experimental theory of Borusyak, Hull, & Jaravel (2022)⁠, valid shift-share inference requires conditional shock exogeneity alongside a sufficiently large effective number of mutually independent shocks; Because bilateral trade-war tariff variance concentrates overwhelmingly on a single trading partner, China, and a compact set of statutory tariff lists, the effective shock-level sample size is orders of magnitude smaller than the nominal variety count.

Second, the published baseline inference in Table 1 and Table C.1 relies on unclustered shift-share standard errors under Adao, Kolesar, & Morales (2019), implicitly assuming independent tariff shocks across individual HS10 variety-country pairs. In reality, US-China trade war tariffs were enacted in discrete statutory tranches applying identical or ad-valorem hikes simultaneously across thousands of Chinese HS10 varieties sharing common NAICS industries and bilateral macroeconomic shocks.

Ignoring country-sector clustering systematically downward-biases shift-share variance estimates, inflating Type I rejection rates in Table C.1 and artificially narrowing the non-rejected elasticity intervals in Figure 6. Moreover, juxtaposing AKM standard errors at against unit-level HC1 standard errors at in tariff revenue exposes a critical algebraic property of shift-share variance formulas: Because AKM aggregates variety residuals linearly within each shifter as before squaring, an extreme idiosyncratic variety outlier can be muted or smoothed inside the shifter-level sum if its exposure share is spread across shifters, whereas HC1 squares directly at the variety level and immediately flashes an acute leverage warning. Although the authors' MATLAB script includes a country-sector clustering toggle, baseline tables report only the unclustered specification.

Third, the scalar pooled test inherently suffers from cross-channel cancellation. Because welfare aggregates export prices positively, import prices negatively, and tariff revenues positively, severe structural misspecifications of opposite sign can net out cleanly in a one-degree-of-freedom statistic. A parallel caveat governs the 33-point elasticity grid in Figure 4: While insensitivity across confirms that aggregate national welfare is robust to domestic variety substitution given and ⁠, it simultaneously demonstrates that the welfare-weighted test lacks diagnostic power to detect severe misspecification in ⁠, even though critically governs sectoral and regional distributional incidence across domestic workers and regions. Consequently, failing to reject at the pooled level with validates only accidental cancellation within the specific 2018–2019 tariff mix rather than structural invariance across alternative counterfactual policy vectors such as universal tariffs.

A.3. Assessment of Data Quality, Variable Measurement, and Sample Sensitivity

Auditing the deposited empirical dataset tab_st0.txt uncovers three substantive measurement and sample-construction vulnerabilities that materially affect empirical interpretation. First and foremost is the unbounded ratio definition of tariff-revenue changes. Whereas export and import price outcomes are measured in log differences—naturally dampening extreme multiplicative noise—the tariff-revenue outcome in estimation_preliminary_steps.m is computed as an unclipped linear percentage change relative to Q3 2018 duty-inclusive import value without winsorization or symmetric midpoint scaling. When a variety's Q3 2018 denominator is small relative to its Q3 2019 duty surge, the linear ratio explodes.

Observation #10396 exemplifies this pathology: Its residualized change of exceeds the 99th percentile of by nearly two thousandfold and exceeds the second-largest value in the entire 24,193-row sample by ⁠. As demonstrated in Section 3.3, dropping this lone observation flips the tariff-revenue discrepancy from to with and reverses the pooled estimate from to ⁠.

Crucially, this is not a minor cosmetic perturbation but a complete reversal of economic substance: Whereas the uncleaned Table C.1 Panel D suggests that US customs collected far more tariff revenue than the benchmark model predicted, the outlier-free evidence proves that realized tariff revenue systematically undershot first-order linear predictions as importers diverted sourcing to third countries and contracted Chinese shipment volumes nonlinearly. This finding directly corroborates the finite-sample IV fragility warnings of Young (2022) and Broderick, Giordano, & Meager (2023)⁠.

Second, customs unit values, measured as total trade value divided by physical quantity, serve as noisy proxies for true variety prices. Across export varieties, observed price changes exhibit a standard deviation of against a structural forecast standard deviation of merely —a noise-to-signal ratio approaching ⁠. That overwhelming measurement noise inflates the export-price AKM standard error to and the HC1 standard error to ⁠, leaving the export-price test virtually powerless against economically large specification errors below units. Beyond classical attenuation of raw correlations, tariff-induced within-HS10 quality upgrading via Alchian–Allen composition shifts induces non-classical measurement error positively correlated with tariff intensity, potentially biasing realized import-price projections upward.

Third, restricting the estimation sample to varieties accounting for 90% of initial trade that maintain strictly positive quantities in both Q3 2018 and Q3 2019 induces endogenous extensive-margin selection. Varieties hit with prohibitive tariffs that collapse to zero trade drop out of log-difference price samples entirely. Surviving varieties systematically exhibit lower demand elasticities and higher border pass-through than exiting varieties, tilting observed import-price changes away from the full-equilibrium prediction. Compounding this selection issue is temporal wave overlap: Comparing Q3 2018 against Q3 2019 conflates early Section 301 List 1 and List 2 tariffs already active during the Q3 2018 baseline with List 4A tariffs enacted only in September 2019 at the very close of the outcome window, creating phase misalignment between theoretical tariff shifters and realized price adjustments.

A.4. Core Methodological Limitations of the Original Study

Synthesizing our theoretical critique and empirical diagnostics, five core structural limitations govern the sign and magnitude of estimation bias on ⁠:

  1. Unbounded Finite-Sample Outlier Bias from Linear Tariff-Revenue Ratios: Because is a linear moment average, its influence function is unbounded as ⁠. Any single variety combining a tiny baseline denominator with injects an explosive positive finite-sample bias ⁠. In the deposited QJE dataset, variety #10396 alone generates of upward bias in tariff revenue and in the pooled test, inverting genuine revenue undershooting at into apparent overshooting at ⁠.
  2. First-Order Linearization Bias Under Large Discrete Tariff Shocks: Constructing model forecasts via the first-order Jacobian omits quadratic curvature ⁠. Because tariff revenue is strictly concave along the Laffer curve under – tariff jumps, first-order linear approximations systematically overpredict tariff revenue with ⁠. This generates a systematic negative specification bias on the tariff-revenue channel, matching the to gap uncovered once outlier #10396 is removed.
  3. Political Tariff-Targeting Endogeneity and Correlated Sector Shocks: Whenever unobserved industry shocks correlate with statutory tariff targeting, the estimator absorbs an omitted-variable bias ⁠. Anticipatory stockpiling and sector-specific supply bottlenecks during 2018–2019 positively covary with tariff exposure, biasing sign-flipped import-price responses upward with and amplifying the IV-2SLS calibration slope to ⁠.
  4. Extensive-Margin Survival Selection Bias: Conditioning log-price regressions on positive trade continuation truncates the most elastic varieties that exit US imports after tariff hikes. Because survival probability decreases in elasticity and increases in pass-through, conditional expectations satisfy ⁠, imparting an upward selection bias to observed import-price pass-through while understating extensive-margin relocation documented by Flaaen, Hortacsu, & Tintelnot (2020)⁠.
  5. Understated Variance Under Unclustered Shift-Share Inference and Short-Run Border-to-Retail Disconnect: Treating policy-wave tariff shocks as independent across HS10 lines yields downward-biased variance estimates ⁠, inflating rejection probabilities across disaggregated channels and elasticity grids. Simultaneously, as Cavallo et al. (2021) establish, border pass-through over a one-year window diverges markedly from retail consumer price incidence due to sticky retailer margins and inventory buffers, introducing ambiguous dynamic bias when equating one-year border price shifts with steady-state consumer welfare.

A.5. Recommendations for Model Upgrades and International Publication Extensions

Five concrete upgrades would elevate this research agenda to an even higher standard of empirical robustness and policy utility. First, tariff-revenue outcomes should be reformulated using bounded symmetric Davis–Haltiwanger–Schuh midpoint growth rates alongside routine leave-one-out influence diagnostics and Huber M-estimation for shift-share moments. That single modification simultaneously eliminates denominator-explosion outliers like #10396 and incorporates extensive-margin zeros cleanly without sample truncation, ensuring that revenue-channel hypothesis tests reflect broad economic behavior rather than isolated arithmetic anomalies.

Second, researchers should evaluate exact nonlinear general-equilibrium forecasts directly inside the specification test rather than relying on first-order Jacobian linearizations, pairing the pooled test with a joint multi-channel Wald test across export prices, import prices, and tariff revenue so cross-channel cancellations can no longer masquerade as structural validation.

Third, inference should routinely report country-sector clustered shift-share standard errors alongside Imbens–Kolesar small-sample adjustments and Oster (2019) selection-on-unobservables bounds to certify whether import-price rejections survive plausible sector-level demand confounders.

Fourth, extending the empirical horizon from Q3 2019 through 2023 while linking customs border data to retail scanner prices (Cavallo et al., 2021⁠) will disentangle short-run contractual stickiness from medium-run plant relocation and third-country trade deflection. Complementing that empirical extension with formal pre-trend placebo tests—projecting Q3 2016 to Q3 2017 pre-trade-war price and revenue changes onto the exact same 2018–2019 preferred instrument —would provide an indispensable falsification benchmark against pre-existing sectoral trends and anticipatory inventory accumulation. Furthermore, institutionalizing multi-engine verification alongside deterministic finite-sample leverage reporting in top-journal replication packages guarantees that future welfare counterfactuals cannot silently rest on a single extreme ratio observation.

Finally, this welfare-weighted IV testing architecture holds immense value for emerging trade hubs such as Vietnam and ASEAN economies: Applying the exact same tri-runtime protocol to granular HS8–HS10 customs panels over 2018–2025 enables rigorous empirical testing of general-equilibrium predictions for deep trade agreements including CPTPP and EVFTA as well as US reciprocal tariff realignments across Southeast Asian manufacturing chains. Crucially, embedding leave-one-out influence tables and dual shift-share versus unit-level variance reporting inside regional policy impact assessments will guard ministries of finance and trade against projecting illusory tariff-revenue windfalls from skewed customs denominators while pinpointing sectors where import-price pass-through systematically exceeds baseline Armington elasticities.

References

  1. Adao, R., Costinot, A., & Donaldson, D. (2025). Putting Quantitative Models to the Test: An Application to the US-China Trade War. The Quarterly Journal of Economics, 140, 1471–1524. https://doi.org/10.1093/qje/qjae041 ↩
  2. Adao, R., Kolesar, M., & Morales, E. (2019). Shift-Share Designs: Theory and Inference. The Quarterly Journal of Economics, 134, 1949–2010. https://doi.org/10.1093/qje/qjz025 ↩
  3. Amiti, M., Redding, S. J., & Weinstein, D. E. (2019). The Impact of the 2018 Tariffs on Prices and Welfare. Journal of Economic Perspectives, 33, 187–210. https://doi.org/10.1257/jep.33.4.187 ↩
  4. Amiti, M., Redding, S. J., & Weinstein, D. E. (2020). Who's Paying for the US Tariffs? A Longer-Term Perspective. AEA Papers and Proceedings, 110, 541–546. https://doi.org/10.1257/pandp.20201018 ↩
  5. Arkolakis, C., Costinot, A., & Rodriguez-Clare, A. (2012). New Trade Models, Same Old Gains? American Economic Review, 102, 94–130. https://doi.org/10.1257/aer.102.1.94 ↩
  6. Borusyak, K., Hull, P., & Jaravel, X. (2022). Quasi-Experimental Shift-Share Research Designs. Review of Economic Studies, 89, 181–213. https://doi.org/10.1093/restud/rdab030 ↩
  7. Broderick, T., Giordano, R., & Meager, R. (2023). An Automatic Finite-Sample Robustness Metric: When Can Dropping a Little Data Make a Big Difference? arXiv Preprint, 2011.14999. https://doi.org/10.48550/arXiv.2011.14999 ↩
  8. Caliendo, L., & Parro, F. (2015). Estimates of the Trade and Welfare Effects of NAFTA. Review of Economic Studies, 82, 1–44. https://doi.org/10.1093/restud/rdu035 ↩
  9. Cavallo, A., Gopinath, G., Neiman, B., & Tang, J. (2021). Tariff Pass-Through at the Border and at the Store: Evidence from US Trade Policy. American Economic Review: Insights, 3, 19–34. https://doi.org/10.1257/aeri.20190536 ↩
  10. Costinot, A., & Rodriguez-Clare, A. (2014). Trade Theory with Numbers: Quantifying the Consequences of Globalization. In Handbook of International Economics, Vol. 4, pp. 197–261. https://doi.org/10.1016/B978-0-444-54314-1.00004-5 ↩
  11. Fajgelbaum, P. D., Goldberg, P. K., Kennedy, P. J., & Khandelwal, A. K. (2020). The Return to Protectionism. The Quarterly Journal of Economics, 135, 1–55. https://doi.org/10.1093/qje/qjz036 ↩
  12. Flaaen, A., Hortacsu, A., & Tintelnot, F. (2020). The Production Relocation and Price Effects of US Trade Policy: The Case of Washing Machines. American Economic Review, 110, 2103–2127. https://doi.org/10.1257/aer.20190611 ↩
  13. Goldsmith-Pinkham, P., Sorkin, I., & Swift, H. (2020). Bartik Instruments: What, When, Why, and How. American Economic Review, 110, 2586–2624. https://doi.org/10.1257/aer.20181047 ↩
  14. Oster, E. (2019). Unobservable Selection and Coefficient Stability: Theory and Evidence. Journal of Business & Economic Statistics, 37, 187–204. https://doi.org/10.1080/07350015.2016.1227711 ↩
  15. Young, A. (2022). Consistency without Inference: Instrumental Variables in Practical Application. European Economic Review, 147, 104112. https://doi.org/10.1016/j.euroecorev.2022.104112 ↩
Replication DatasetEmpirical
CSVadao_trade_war_iv_test
24,193 obs11 varsUTF-8 CSVZIP: DOCX · PDF · CSV · Code
Members Only
Variables:variety_idind_xind_mind_tww_dwdy_mc_dwdx_mc_dwdyt_mc_dwzn_wmc_dwzw_wmc_dwoutcome_type
Script Preview · R · Stata · Python
EcoLab Research Community

Unlock 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.

Three Verified R · Stata · Python Scripts

Aligned with Study Variable Names, Robust Covariance Specifications, and Diagnostic Checks

Cleaned UTF-8 CSV Empirical Dataset

Ready for Immediate Execution in Your Local Statistical Environment for Independent Verification

Complete ZIP Replication Archive

Bundled with Journal-Formatted DOCX & PDF Manuscripts, Empirical CSV Dataset, All Three R · Stata · Python Scripts, and Execution Notes

Membership Plans

Every Download Link Is Cryptographically Signed for Active Members and Refreshes Seamlessly on the Article Page

Cite This Resource

EcoLab Quantitative Research (2026). Putting Quantitative Trade Models to the Test: Multi-Engine Replication and Outlier Diagnostics of the US-China Trade War. EcoLab Journal of Quantitative Economics and Econometrics. https://ecolab.io.vn/blog/en/putting-quantitative-trade-models-test

Run Live Models on EcoData

Access 886,528+ verified economic indicators and estimate 328+ econometric models directly across Python, R, and Stata.

Frequently Asked Questions

This study employs IV-2SLS · GE-IV · OLS over an empirical sample of N = 24,193, independently cross-verified across Python, R, and Stata on the EcoData and EcoLab quantitative research platform.

Related Studies

Weekly Research Digest

Receive 100% Real-Data Replication Studies and Audit Briefs

Every week we deliver verified Stata, R, and Python replications, draft audit checklists, and end-to-end empirical studies straight to your inbox.

Zero spam. One-click unsubscribe included in every issue.