A debiased machine-learning method turns national CO2 totals and trade data into product-level emission rankings. On 129 products it tracks a life-cycle benchmark better than the usual weighted averages.
| P-DML Learner | Weighted average | ||||
| OLS | Ridge | LightGBM | WAVG | WAVG | |
| Property | (1) | (2) | (3) | (4) | (5) |
| Model fita | |||||
| Median RMSE | — | — | |||
| Median RMSE | — | — | |||
| Median | 59.5 | 47.9 | 69.4 | — | — |
| Benchmark validationb | |||||
| Pearson’s c | |||||
| Spearman’s c | |||||
| Kendall’s | 0.0681 | -0.0329 | |||
| Weighted Kendall’s | 0.233 | 0.487 | 0.494 | -0.185 | 0.0807 |
| Mean absolute rank deviation | 39.8 | 30.3 | 30.4 | 43.5 | 37.6 |
| Root mean squared rank deviation | 50.3 | 40 | 38.6 | 53.7 | 47.1 |
| Median relative benchmark deviationd | 55.3 | 34.2 | 60.8 | — | — |
| Treatments & controls | |||||
| Treatments (products) | 129 | 129 | 129 | 129 | 129 |
| Country controls () | 5 | 5 | 5 | 0 | 0 |
| Product controls () | 1044 | 1044 | 1044 | 0 | 0 |
| Country FE | ✗ | ✗ | |||
| DML | |||||
| Countriese | 132 | 132 | 132 | 23-107 | 23-113 |
| Years | 27 | 27 | 27 | 24-29 | 24-29 |
| Observations per treatment | 3168 | 3168 | 3168 | — | — |
| Learner | OLS | Ridge | LightGBM | — | — |
| Panel approach | FD exact | FD exact | FD exact | Temporal avg. | Temporal avg. |
| Cross-fitting folds | 5 | 5 | 5 | — | — |
| Cross-fitting repetitions | 5 | 5 | 5 | — | — |
Notes:
Median model fit statistics across treatments (products). Standard errors clustered at country-level.
The benchmark correspondence metrics are computed on the 129 products for which a granular Sato (2014) emission intensity is available.
Benchmark correlations compare each model’s estimate or WAVG indicator with the benchmark. Significance levels are: , , and .
Benchmark deviations equal the estimate benchmark; the median relative benchmark deviation is the median over products of . They are omitted for WAVG indicators, whose units are those of their country outcome.
Only countries for which are used to calculate WAVG indicators.
Going deeper
Picture a shared kitchen bill. You know what each household paid in total and what dishes each one cooked, but not what each dish cost. The usual trick is to say a dish costs what the households that cook it pay on average.
That fails because rich households cook many dishes and pay more for everything. This paper instead asks, for each dish, how a household's bill moves when it cooks a bit more of that dish while every other dish and household trait stays put. Flexible prediction tools handle the huge list of other dishes.
Tested on countries' carbon bills, the dish ranking matches an outside price list better than the averages, though the prices come out the wrong size. On a made-up bill with known prices, it finds the order when the bill is clean, and loses it quickly as noise is added.
The abstract, word for word, with the six densest phrases unpacked.
Incorporating sustainability outcomes and other objectives into economic complexity and relatedness analyses requires detailed product-level indicators. However, such fine-grained measures are often scarcely available and may be biased by unobserved confounding factors1. We therefore propose a trade-based Product-level Debiased Machine Learning (P-DML)2 approach that isolates the contribution of granular (4-digit of the Harmonized System) product exports to a country-level outcome, while accounting for high-dimensional country and product controls3. We apply the method to national CO2 emissions and validate the resulting product-level estimates against an external, life cycle-based product emission benchmark4. The P-DML estimates correspond considerably better5 with this benchmark than conventional weighted average-based indicators. Moreover, in a semi-synthetic setting in which the outcome is generated from observed exports and known product emission factors, P-DML recovers information on the true product ranking6, whereas the weighted average does not. Together, these results highlight the importance of addressing confounding bias when deriving product-level indicators from an aggregate outcome using trade data.
Read the method and the two result tables.
Skip Section 3 if you know weighted-average product indicators.
Sceptics should check how much the ranking win rests on, and how fragile it is.
Taken together, these results show that the machine learners rank products considerably more in line with the empirical benchmark than both the OLS model and the weighted average indicators. Nonetheless, while there is considerable agreement in ranks, it is clear that the P-DML models produce estimates that are not comparable to the benchmark in magnitude. This difference in scale may be expected, as both quantities measure different things: whereas the benchmark only captures the emissions embodied in producing one kg of product p, smashθparp captures the change in total national emissions associated with an additional kg of exports of p, which also includes emissions from upstream suppliers and from complementary activities, such as power generation and transport, that expand together with these exports but are not fully absorbed by the controls. In addition, because exports typically make up only a fraction of a product’s domestic output, export volumes act as a scaled-down proxy for the underlying production activity, which could further inflate the estimated per-kg effects.
Notably, the P-DML rank correlation falls substantially at relative noise scales that are small compared to the variation in the product signal: on average, Spearman’s ρ drops to 0.89 at kappa=0.1%par and to 0.43 at kappa=1%par. This sensitivity arises because the noise scale kappa is defined relative to the aggregate signal of all products combined, whereas θp is identified only from the variation in product p’s exports that is not explained by other products and controls. This product-specific signal is a small fraction of the aggregate, so the effective noise relative to each individual product effect is considerably larger than kappa suggests. The weighted average, by contrast, is virtually insensitive to this form of noise, since kappa is calibrated to the year-to-year variation in the product signal within countries, which is negligible compared to the cross-country differences in outcome levels that drive the weighted average.
However, while the Sato2014 dataset contains emission factors for more than a thousand unique product codes, its effective resolution is much lower, as revealed by the many products that get identical emission factors assigned (see Appendix 9 \parSato2014Sato (2014) Empirical Product Emissions Benchmark). For this reason, we exclude low-resolution products for which there are other products with the exact same product emission factor when evaluating the correspondence between COpar2pSatopar and the P-DML or WAVG estimates. This allows us to assess the external validity of the estimates using the 129 products for which we have high confidence that the benchmark value is specific to that 4-digit product, rather than a value shared across an entire product group or the imputed world average. Therefore, treatments are restricted to the 129 granular Sato products, while the controls still contain all 1044 other HS4 products.
Nothing on this page was recomputed. Every claim points to the paper so you can check it.
More latest news
Read all