Flexible Damage Functions

Author

James Rising, Sebastian Cadavid Sanchez, Climate Impact Lab

Published

September 14, 2026

0.1 Energy: Non Electricity Country Collapsed

Flexible damage function parameters at the Country level.

Outcome units: kWh_per_capita. kWh per capita for non electricity, rebased to 2005 baseline; pre-aggregated to country in projection system

\[D_{it} = (\alpha_i T_t + \beta_i T_t^2) \cdot Y_{it}^{\gamma}\]

where \(\gamma\) is the income elasticity (fitted globally), \(\alpha_i\) is the linear coefficient, and \(\beta_i\) is the quadratic coefficient.


1 Global Estimation

1.1 Income Elasticity Estimation

The income elasticity \(\gamma\) is estimated using a fixed-effects regression:

\[y_{it} = \gamma \cdot \log(Y_{it}) + \mu_{g(i,T)} + \nu_t + \varepsilon_{it}\]

where \(\mu_{g(i,T)}\) are region-by-temperature-bin fixed effects and \(\nu_t\) are year fixed effects.

Table 1: Income Elasticity (Gamma) Estimation Results
Statistic Value
Income elasticity (\(\gamma\)) 0.0011
Standard error 1.02e-04
95% CI [0.0009, 0.0013]
R-squared 0.9850
Observations 167,580
Regions 245
Gamma quantiles 19

2 Parameter Distributions

2.1 8-Panel Summary

Row 1: gamma, alpha, beta, rsqr1. Row 2: rho, zeta, eta, rsqr2.

Using median gamma: 0.001125, 3,185 rows (of 4,655 total)
Figure 1: Distribution of Regional Parameters

2.2 Projection Equation and Parameter Definitions

The estimated parameters are used to project damages via Monte Carlo sampling:

\[D_{it}^k = (\hat{\alpha}_{ik} T_t + \hat{\beta}_{ik} T_t^2) Y_{it}^{\hat{\gamma}_k} + \hat{\theta}_{ik} T_t Y_{it}^{\hat{\gamma}_k} + \hat{\phi}_{it}^k\]

where \(k\) indexes the Monte Carlo draw. The parameters in each row of the output CSV control distinct components of this equation:

  • gamma: income elasticity \(\hat{\gamma}_k\), one of 19 quantile values drawn from \(N(\hat{\gamma}, SE(\hat{\gamma}))\)
  • alpha, beta: linear and quadratic temperature coefficients; \(\hat{\alpha}_{ik}\) and \(\hat{\beta}_{ik}\) are drawn from the joint normal defined by the VCV below
  • sigma11, sigma12, sigma22: variance-covariance matrix of \((\alpha, \beta)\), used for joint uncertainty sampling
  • rho: correlation between regional and global polynomial residuals \(\rho_i\), used to maintain spatial covariance across regions in Monte Carlo draws
  • zeta: temperature-dependent error scale \(\zeta_{ik}\); the run-specific error term \(\hat{\theta}_{ik}\) is drawn from \(N(0, \zeta_{ik})\)
  • eta: residual noise standard deviation \(\eta_{ik}\); the annual noise \(\hat{\phi}_{it}^k\) is drawn from \(N(0, \eta_{ik})\)
  • rsqr1, rsqr2: polynomial fit quality and error model fit, respectively

2.3 Summary Statistics

Table 2: Regional Parameter Summary
Parameter Mean Median Std Min Max N
alpha 0.008358 0.007314 0.004849 -0.0008621 0.04594 245
beta 0.001947 0.001785 0.0009727 0.0002524 0.00557 245
rho 0.8834 0.8953 0.07778 0.5812 0.9782 245
zeta 0.00145 0.001268 0.0006385 0.000199 0.005749 245
eta 0.002437 0.00219 0.001055 0.0003548 0.009605 245
rsqr1 0.948 0.9493 0.01229 0.8868 0.979 245
rsqr2 0.5772 0.576 0.02791 0.482 0.6467 245

3 Spaghetti Curves

Regional damage function curves showing D(T) = αT + βT² for sampled regions.

Figure 2: Regional Damage Functions

4 Zero Crossings

The zero crossing (extremum) of the parabola occurs at \(T^* = -\alpha / (2\beta)\).

Table 3: Zero Crossing Statistics
Category Count Percentage
β = 0 (no crossing) 0 0.0%
T > 20°C (beyond graph) 0 0.0%
T < 0°C (negative crossing) 242 98.8%
Valid crossings (0-20°C) 3 1.2%
Figure 3: Distribution of Zero Crossing Temperatures

5 Slope Analysis

Maximum slope between 0 and 10°C: \(\frac{dM}{dT} = \alpha + 2\beta T\)

The maximum occurs at either T=0 or T=10 (endpoints of interval).

Figure 4: Distribution of Maximum Slopes (0-10°C)

Convexity analysis omitted (beta constraint active).


6 R-squared Analysis

6.1 Polynomial Fit Quality (rsqr1)

Figure 5: Regional Fit Quality (R-squared)

6.2 Error Model R-squared (rsqr2) Quantiles

Table 4: rsqr2 Quantiles
0% (Min) 25% 50% (Median) 75% 100% (Max)
0.4820 0.5583 0.5760 0.5921 0.6467

7 Modelled Variance

Modelled variance statistic: \(1 - \frac{\sum_i \eta_i^2}{\sum_i D_i^2}\)

Table 5: Modelled Variance Statistics
Statistic Value
Modelled variance 0.9967
Sum(η²) 0.0017
Sum(D²) at T=3.0°C 0.5286
N regions 245

8 Best- and Worst-Fitting Regions

The 3 worst- and 3 best-fitting regions by R-squared, with raw simulation data overlaid on the fitted polynomial curve. Red rows = worst fits, green rows = best fits.

Table 6: Best- and worst-fitting regions
Top 3 best fit (R²)   Top 3 worst fit (R²)
Region α β η R²
RWA 0.003 0.00431 0.00204 0.979
BDI 0.0102 0.0034 0.00276 0.973
ETH 0.00307 0.00368 0.00202 0.972
FRO 0.00351 5.20e-4 0.0012 0.887
IRL 5.91e-4 0.00121 0.00113 0.902
IMN 0.00128 0.00105 0.00109 0.906
Figure 6: Fitted polynomial with raw data for worst-fitting regions

9 Regional Parameter Maps

Maps of key parameters at the country level. Red = negative (damage increases with T), Blue = positive.

9.1 Alpha (Linear Coefficient)

Alpha (\(\alpha\)) represents the linear sensitivity to temperature. Regions with negative alpha experience damage that increases with the first degree of warming.

Figure 7: α (linear coefficient)

9.2 Beta (Quadratic Coefficient)

Beta (\(\beta\)) represents the curvature of the damage function.

The concavity (\(\beta \leq 0\)) constraint is enforced for this sector, meaning optimal temperature exists, damages accelerate beyond it.

Figure 8: β (quadratic coefficient)

9.3 R-squared (Fit Quality)

\(R^2\) measures the polynomial fit quality. Higher values indicate that the quadratic form captures more of the variance in the data.

Figure 9: R² (stage 1 fit quality)

10 F2: Flex vs Raw Comparison

Comparison of flexible damage function predictions against raw simulation means.

For each scenario (RCP × SSP × Model), we compute at the final year:

  • Flex predicted: \((\alpha \cdot T + \beta \cdot T^2) \cdot Y^\gamma\)
  • Raw actual: The outcome variable (y) from the source data

Year 2099: 65,780 rows

Correlation: -0.0908 | RMSE: 1.007732 | Sign agreement: 86.1%

Top 5 best predicted   Top 5 worst predicted
Year 2099 · Tmean across these regions: 1.96°C
Region Raw Flex Residual
BEL 0.0165 0.0188 0.00232
ARM 0.0321 0.0269 -0.00517
LUX 0.0106 0.0241 0.0135
GGY 0.0232 0.0063 -0.0169
MDA 0.0467 0.0219 -0.0249
SJM -3.14 0.0975 3.24
QAT 2.87 0.0111 -2.86
KWT 2.57 0.0154 -2.55
ARE 2.43 0.017 -2.42
BHR 2.16 0.0142 -2.14

Correlation: -0.1234 | RMSE: 0.799673 | Sign agreement: 85.7%

Top 5 best predicted   Top 5 worst predicted
Year 2099 · Tmean across these regions: 1.96°C
Region Raw Flex Residual
GGY 0.00568 0.0063 6.21e-4
LSO 0.0186 0.0147 -0.00392
BEL 0.0248 0.0188 -0.00592
LUX 0.033 0.0241 -0.00893
JEY 0.0187 0.00702 -0.0117
QAT 2.87 0.0111 -2.86
ARE 2.43 0.017 -2.42
SJM -2.28 0.0974 2.38
BHR 2.24 0.0142 -2.23
KWT 2.14 0.0154 -2.13

Correlation: -0.1255 | RMSE: 0.648977 | Sign agreement: 85.3%

Top 5 best predicted   Top 5 worst predicted
Year 2099 · Tmean across these regions: 1.96°C
Region Raw Flex Residual
MDA 0.0204 0.0218 0.00142
JEY 0.00445 0.00702 0.00256
LSO 0.0199 0.0147 -0.00526
ARM 0.0179 0.0269 0.00899
BEL 0.00929 0.0188 0.00952
QAT 2.66 0.0111 -2.65
KWT 2.14 0.0154 -2.13
ARE 1.98 0.017 -1.96
SJM -1.68 0.0974 1.77
BHR 1.67 0.0142 -1.66

Correlation: -0.1297 | RMSE: 0.573143 | Sign agreement: 84.5%

Top 5 best predicted   Top 5 worst predicted
Year 2099 · Tmean across these regions: 1.96°C
Region Raw Flex Residual
SMR 0.0226 0.0204 -0.00221
LUX 0.0299 0.0241 -0.00576
ARM 0.0358 0.0269 -0.00891
BDI 0.0432 0.0332 -0.01
BEL 0.0072 0.0188 0.0116
QAT 2.66 0.0111 -2.65
KWT 1.99 0.0154 -1.97
ARE 1.98 0.017 -1.96
BHR 1.96 0.0142 -1.95
SGP 1.67 0.0157 -1.66

Correlation: -0.1208 | RMSE: 2.478060 | Sign agreement: 90.2%

Top 5 best predicted   Top 5 worst predicted
Year 2099 · Tmean across these regions: 4.20°C
Region Raw Flex Residual
POL 0.0856 0.0621 -0.0235
PRK -0.0184 0.0189 0.0372
IRL -0.0143 0.0242 0.0385
GBR 0.109 0.0365 -0.0726
KAZ -0.0475 0.0405 0.088
QAT 7.33 0.0285 -7.3
KWT 6.83 0.0355 -6.79
ARE 6.11 0.0427 -6.07
BHR 5.53 0.0371 -5.5
SJM -5.13 0.225 5.36

Correlation: -0.1480 | RMSE: 1.952866 | Sign agreement: 90.2%

Top 5 best predicted   Top 5 worst predicted
Year 2099 · Tmean across these regions: 4.20°C
Region Raw Flex Residual
POL 0.0673 0.0621 -0.00523
RWA 0.0992 0.0897 -0.00945
PRK -0.00511 0.0189 0.024
IRL -0.0159 0.0242 0.0401
ETH 0.139 0.0787 -0.0603
QAT 7.33 0.0285 -7.3
ARE 6.11 0.0427 -6.07
BHR 5.76 0.0371 -5.72
KWT 5.69 0.0355 -5.65
SGP 4.43 0.0412 -4.39

Correlation: -0.1525 | RMSE: 1.625691 | Sign agreement: 91.0%

Top 5 best predicted   Top 5 worst predicted
Year 2099 · Tmean across these regions: 4.20°C
Region Raw Flex Residual
PRK 0.0167 0.0188 0.00211
POL 0.0717 0.0621 -0.00959
KAZ 0.00513 0.0404 0.0353
AFG 0.034 0.0762 0.0422
GBR 0.0828 0.0365 -0.0463
QAT 6.92 0.0285 -6.89
KWT 5.8 0.0355 -5.76
ARE 5.07 0.0426 -5.02
BHR 4.39 0.0371 -4.35
SGP 4.08 0.0412 -4.04

Correlation: -0.1685 | RMSE: 1.452045 | Sign agreement: 90.6%

Top 5 best predicted   Top 5 worst predicted
Year 2099 · Tmean across these regions: 4.20°C
Region Raw Flex Residual
POL 0.0656 0.0621 -0.0035
GGY 0.0243 0.0281 0.00378
PRK 0.0287 0.0188 -0.00984
RWA 0.0745 0.0896 0.0151
SYR 0.0888 0.105 0.0158
QAT 6.92 0.0285 -6.89
KWT 5.37 0.0355 -5.33
BHR 5.15 0.0371 -5.11
ARE 5.07 0.0426 -5.02
SGP 4.21 0.0412 -4.17

10.1 Scenario Summary

Table 7: Fit statistics across all 12 scenarios
RCP SSP Model N Corr RMSE Sign%
rcp45 SSP2 high 245 -0.0908 1.00773 86.1%
rcp45 SSP2 low 245 -0.1234 0.799673 85.7%
rcp45 SSP3 high 245 -0.1255 0.648977 85.3%
rcp45 SSP3 low 245 -0.1297 0.573143 84.5%
rcp85 SSP2 high 245 -0.1208 2.47806 90.2%
rcp85 SSP2 low 245 -0.148 1.95287 90.2%
rcp85 SSP3 high 245 -0.1525 1.62569 91.0%
rcp85 SSP3 low 245 -0.1685 1.45205 90.6%

11 Data Reference

11.1 File Locations

Item Path
Regional CSV /project/cil/gcp/flex_damage_funcs/parameters/energy__non_electricity_country_collapsed__regional_parameters.csv
Global JSON /project/cil/gcp/flex_damage_funcs/parameters/energy__non_electricity_country_collapsed__global_results.json
Metadata JSON /project/cil/gcp/flex_damage_funcs/parameters/energy__non_electricity_country_collapsed__metadata.json

11.2 Column Definitions

Column Description
region Region identifier (hierarchical code, first 3 chars = country ISO3)
gamma Income elasticity quantile value
alpha Linear temperature coefficient
beta Quadratic temperature coefficient
sigma11 Var(alpha)
sigma12 Cov(alpha, beta)
sigma22 Var(beta)
rho Correlation with global residual process
zeta Temperature-dependent heteroskedasticity
eta Residual standard deviation
rsqr1 R-squared of polynomial fit
rsqr2 R-squared of error model

Report generated with FlexDamage v1.0.0