Loading...
Loading...
Contributors:
Dataset URI:
10.5281/zenodo.23343066# Replication package: "Financing the Transition"Replicates every table and figure in the manuscript"Financing the Transition" (submitted to Energy Policy).## EnvironmentPython 3.11 with: pandas 3.0.2, numpy 2.4.4, statsmodels 0.15.0, linearmodels 7.0,pydynpd 0.2.2, pysyncon, matplotlib 3.10.9 (see `requirements.txt`).**Known issue (pydynpd 0.2.2).** With recent NumPy versions, `pydynpd/specification_tests.py`fails with `TypeError: only 0-dimensional arrays can be converted to Python scalars`(Hansen and Arellano-Bond tests). Wrapping the three conversions in `np.asarray(...).item()`(the `float(hansen_test)`, `float(p_value)` and `math.sqrt(d1 + d2 + d3)` / `float(d0 / ...)`lines) fixes it and reproduces the reported results exactly.## Run order (from `scripts/`)| Script | Produces | Manuscript item ||---|---|---|| `01b_build_extended_panel.py` | `data/processed/panel_extended_2010_2025.csv`, `panel_analysis_2010_2024.csv` | Data (Section 4) || `08_descriptives_extended.py` | `summary_statistics_extended.csv`, `correlation_matrix_extended.csv` | Tables 1, 2 || `03b_extended_fe_h2_h3.py` | `extended_fe_h2_h3_results.txt` | Table 3, CD test, Hausman test || `04b_extended_system_gmm.py` | `extended_system_gmm_results.csv/.txt` | Table 4 (Hansen/AR tests print to console) || `05b_extended_panel_ardl.py` | `extended_panel_ardl_results.txt`, `..._long_run_multipliers.csv` | Tables 5, 6 || `06b_synthetic_control_h4_real.py` | `synthetic_control_us_2025_h4.txt`, US figures | Figure 1, Figure B2 || `06_synthetic_control_demo.py` | `synthetic_control_india_2015.txt`, India figures | Figure B1 (pipeline validation) || `07_cips_test.py` | `cips_test_results.txt`, `cips_cadf_by_country.csv` | Section 7.3, Table B1 |`data/raw/` holds the raw pulls used by `01b`. The full Our World in Data file (about 9 MB) is notincluded; `owid_extract_18country.csv` is the 18-country extract taken from the Ember / Our World in DataYearly Electricity Data (github.com/owid/energy-data). Running `01b` regenerates both processed panelsbyte-for-byte from the raw files. `06_synthetic_control_demo.py` reads `data/processed/panel_core18_2010_2024.csv`,which is supplied.Figures are saved without in-image titles at 300 dpi (journal requirement); captions are in the manuscript.## Data sources (see `docs/DATA_ACCESS_LOG.md` and `docs/CODEBOOK.md`)World Bank WDI and WGI (World Bank API / Data360), World Uncertainty Index (FRED country series,Ahir, Bloom and Furceri 2022), Ember / Our World in Data Yearly Electricity Data (2026 release).Data were retrieved on 2026-09-15 and 2026-09-16. Check each provider's terms before redistribution.## VerificationAll tables were re-generated from the scripts and data in this folder and compared with the savedoutputs; results were identical (apart from run timestamps).
Keyword(s):
MeSH Term(s):
Grants and Funding:
No Grants or Funding Data Available
Associated Publication(s):
No Associated Publication Data Available
Supplementary Data:
No Supplementary Data Available
Related Dataset(s):
No Related Dataset Data Available
The National Library of Medicine (NLM) provides information about biomedical datasets. Inclusion on an NLM Web page does not imply endorsement of, or agreement with, the contents by NLM or the National Institutes of Health. Learn more: NLM Web Policies (nih.gov)