Sources
Complete transparency on academic foundations, data sources, and computation methodology for each dimension. Every number in the TGFI is traceable to its origin.
Trade
Bilateral trade flows, tariffs, and trade barriers
Theoretical Foundation
Bilateral trade flows are determined by relative trade barriers (multilateral resistance), not just bilateral barriers. A country’s trade with any single partner depends on its barriers vis-à-vis ALL trading partners.
We use the gravity model to establish baseline expected trade levels for CN-US, CN-EU, and US-EU. Deviation of actual trade from gravity-predicted trade is our primary hard-data fragmentation signal: under-trading relative to the model indicates fragmentation; over-trading indicates cooperation.
Provides the definitive estimation guide for gravity equations: PPML (Poisson Pseudo-Maximum Likelihood) with exporter-time and importer-time fixed effects, addressing zero trade flows, heteroskedasticity, and multilateral resistance.
We follow their recommended PPML estimation methodology with proper fixed effects for our one-time gravity baseline calibration. This determines ‘expected’ bilateral trade volumes against which we measure deviations.
First formulation of the gravity model of trade: bilateral trade is proportional to the economic sizes of both countries and inversely proportional to the distance between them.
Historical foundation. The gravity equation Trade_ij ∝ (GDP_i × GDP_j) / Distance_ij underpins our baseline model. Tinbergen’s original insight remains the core of modern trade modeling.
Data Sources
- Bilateral import/export values (USD millions)
- By partner country (CHN, USA, EU27)
- Monthly frequency, seasonally adjusted
https://sdmx.oecd.org/public/rest/data/OECD.SDD.TPS,DSD_ITF@DF_ITF_GOODS_M/Sample API response
// Example: US imports from China, Jan 2026
{
"structure": { "dimensions": { "series": [
{ "id": "REF_AREA", "values": [{ "id": "USA" }] },
{ "id": "COUNTERPART_AREA", "values": [{ "id": "CHN" }] },
{ "id": "FLOW", "values": [{ "id": "M", "name": "Imports" }] }
]}},
"dataSets": [{
"series": { "0:0:0": {
"observations": {
"2026-01": [35821.4],
"2026-02": [33105.7],
"2026-03": [36290.1]
}
}}
}]
}- MFN applied tariff rates (simple & weighted average)
- Bound tariff rates
- Bilateral preferential rates where applicable
- By HS product code (6-digit)
https://tariffdata.wto.org/Sample API response
// Example: US weighted average applied tariff on Chinese goods reporter,partner,year,product,duty_type,avg_rate USA,CHN,2025,TOTAL,MFN,19.3 USA,CHN,2025,TOTAL,Applied,24.8 EU27,CHN,2025,TOTAL,MFN,5.1 EU27,CHN,2025,TOTAL,Applied,8.2
- Commodity-level bilateral trade (HS 6-digit)
- Trade value (USD) and net weight (kg)
- All reporter-partner combinations
https://comtradeapi.un.org/data/v1/get/C/A/HSComputation Pipeline
Pull monthly bilateral trade data (imports + exports) from OECD SDMX API for three pairs: CN–US, CN–EU, US–EU. Convert to USD at market exchange rates.
ΔS = (S_current – S_baseline) / S_baseline × 100
Negative sign: tariff increase = conflict signal
Widening deficit with adversarial partner = conflict signal
All sub-components normalized to [–100, +100] via min-max on historical range
Sources: NBER working papers, IMF staff discussion notes, BIS quarterly reviews, OECD policy papers, central bank publications. Each document classified on [–100, +100] cooperation–conflict spectrum.
70% hard data weight because bilateral trade has reliable, timely quantitative data. 30% text captures policy signals and sentiment not yet reflected in flows.
Validation
Pearson correlation between text score and hard data score across periods. Target: r > 0.6. If text and hard data tell conflicting stories, the convergence metric flags it.
Score spikes should align with known trade events: tariff announcements, FTA signings, trade war escalations. Manual review each quarter against event timeline.
Does the trade share deviation predict next-quarter actual trade volume changes? Granger causality test on historical data (2015\u20132025).
Monte Carlo: perturb text/hard weights by \u00b120% (1000 draws). Verify composite score ranking is stable across perturbations (rank correlation > 0.95).
Investment
FDI flows & screening
Paper selection, data source validation, and computation pipeline design for this dimension are under active review. Full provenance documentation will follow the same structure as the Trade section above.
Technology
Tech transfer & controls
Paper selection, data source validation, and computation pipeline design for this dimension are under active review. Full provenance documentation will follow the same structure as the Trade section above.
Finance
Currency & capital markets
Paper selection, data source validation, and computation pipeline design for this dimension are under active review. Full provenance documentation will follow the same structure as the Trade section above.
Leverage
Economic weaponization
Paper selection, data source validation, and computation pipeline design for this dimension are under active review. Full provenance documentation will follow the same structure as the Trade section above.
Policy
Government signals & diplomacy
Paper selection, data source validation, and computation pipeline design for this dimension are under active review. Full provenance documentation will follow the same structure as the Trade section above.
Update Schedule
| Layer | Source | Check Frequency | Source Lag |
|---|---|---|---|
| Text Score | NBER, IMF, BIS, OECD publications | Every 6 hours | T+0 (publication date) |
| Hard Data | OECD SDMX, WTO, UN COMTRADE | Daily | T+30 to T+180 days |
| Composite | Blended from above | On any source update | \u2014 |