Replication package: reduced-form climate-financial early-warning indicator

Published: 9 October 2026| Version 1 | DOI: 10.17632/vp29hycmr5.1
Contributor:
Omar Butt

Description

Replication code for the reduced-form early-warning indicator and backtest reported in "Forensic diagnostics for energy commodity risk: a reduced-form early-warning indicator from prices and atmospheric CO2". The package downloads the four public source series (Brent crude, European natural gas and Australian coal prices from the IMF Primary Commodity Price System via FRED; deseasonalised Mauna Loa CO2 from NOAA GML), builds the fourteen monthly features, runs the walk-forward Isolation Forest and return-surprise components, and reproduces every backtest statistic, the placebo test, the bootstrap intervals and Figures 1–2. Version 2 corrects the expanding percentile rank to exclude the Isolation Forest warm-up months; the padded Version 1 variant is still reported for comparison. No data files are redistributed.

Files

Categories

Energy Economics

Licence