Flexible Damage Functions

Author

James Rising, Sebastian Cadavid Sanchez, Climate Impact Lab

Published

April 30, 2026

0.1 Energy: Total Country

Flexible damage function parameters at the Country level.

Outcome units: kWh_per_capita — kWh per capita for total, 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.0659
Standard error 1.46e-02
95% CI [0.0374, 0.0945]
R-squared 0.9084
Observations 3,519,180
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.065944, 245 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.1815 0.01711 0.4118 -2.674 0.2105 245
beta 0.01481 0.003429 0.02152 0 0.1522 245
rho 0.01998 0.001438 0.1547 -0.3454 0.4272 245
zeta 0.06013 0.03785 0.05814 0.009076 0.5209 245
eta 0.1115 0.06899 0.1097 0.01697 0.9411 245
rsqr1 0.5421 0.5944 0.2231 0.000334 0.8839 245
rsqr2 0.5448 0.544 0.0627 0.3349 0.7273 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) 108 44.1%
T > 20°C (beyond graph) 3 1.2%
T < 0°C (negative crossing) 38 15.5%
Valid crossings (0-20°C) 96 39.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.3349 0.5073 0.5440 0.5871 0.7273

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.9810
Sum(η²) 5.9819
Sum(D²) at T=3.0°C 315.3118
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 α β η
AND -0.992 0.0318 0.214 0.884
LIE -0.964 0.0343 0.224 0.869
RUS -1.25 0.0569 0.305 0.846
YEM -0.0129 0.00435 0.0749 0.00902
MAR -0.0921 0.0203 0.0875 0.0431
PCN -0.0266 0.0079 0.039 0.0743
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.8483 | RMSE: 1.713103 | Sign agreement: 66.9%

Top 5 best predicted   Top 5 worst predicted
Year 2099 · Tmean across these regions: 1.96°C
Region Raw Flex Residual
ERI 0.324 0.323 -5.93e-4
MDG 0.514 0.466 -0.048
KEN 0.528 0.454 -0.074
ETH 0.495 0.395 -0.0992
ZWE 0.707 0.599 -0.108
SJM -3.14 -9.69 -6.55
FIN -1.11 -6.11 -5
EST -0.846 -5.14 -4.3
CAN -0.656 -4.71 -4.06
SWE -0.61 -4.66 -4.05

Correlation: 0.7949 | RMSE: 1.631276 | Sign agreement: 66.5%

Top 5 best predicted   Top 5 worst predicted
Year 2099 · Tmean across these regions: 1.96°C
Region Raw Flex Residual
COM 0.326 0.341 0.0147
ERI 0.361 0.323 -0.0379
ZMB 0.601 0.539 -0.0615
GIN 0.338 0.275 -0.0637
MOZ 0.417 0.326 -0.0913
SJM -2.28 -9.42 -7.13
FIN -1.08 -6.08 -5.01
EST -0.601 -4.92 -4.32
SWE -0.673 -4.73 -4.06
CAN -0.668 -4.72 -4.05

Correlation: 0.7685 | RMSE: 1.566423 | Sign agreement: 66.9%

Top 5 best predicted   Top 5 worst predicted
Year 2099 · Tmean across these regions: 1.96°C
Region Raw Flex Residual
LBR 0.28 0.271 -0.00971
CPV 0.342 0.324 -0.0178
SWZ 0.278 0.301 0.0226
TON 0.223 0.248 0.0249
NPL 0.112 0.147 0.0355
SJM -1.68 -9.23 -7.55
FIN -0.964 -6 -5.03
EST -0.729 -5.03 -4.3
CAN -0.672 -4.73 -4.05
SWE -0.534 -4.57 -4.04

Correlation: 0.6813 | RMSE: 1.569390 | Sign agreement: 67.8%

Top 5 best predicted   Top 5 worst predicted
Year 2099 · Tmean across these regions: 1.96°C
Region Raw Flex Residual
BLM 0.43 0.433 0.00354
COK 0.16 0.155 -0.00508
TLS 0.347 0.34 -0.0069
ASM 0.382 0.368 -0.0138
DMA 0.451 0.435 -0.0159
SJM -0.907 -9 -8.1
FIN -0.948 -5.99 -5.04
EST -0.532 -4.86 -4.33
CAN -0.566 -4.62 -4.06
SWE -0.518 -4.56 -4.04

Correlation: 0.8049 | RMSE: 3.643431 | Sign agreement: 66.5%

Top 5 best predicted   Top 5 worst predicted
Year 2099 · Tmean across these regions: 4.20°C
Region Raw Flex Residual
ERI 0.85 0.694 -0.156
RWA 1.34 1.16 -0.178
BDI 1.72 1.52 -0.205
MDG 1.35 1 -0.352
CCK 1.38 0.821 -0.559
SJM -5.13 -17.8 -12.7
FIN -1.66 -11.5 -9.8
EST -1.15 -9.41 -8.27
NOR -1.09 -9.22 -8.13
CAN -0.581 -8.54 -7.96

Correlation: 0.7236 | RMSE: 3.367524 | Sign agreement: 66.5%

Top 5 best predicted   Top 5 worst predicted
Year 2099 · Tmean across these regions: 4.20°C
Region Raw Flex Residual
COM 0.748 0.732 -0.0159
KEN 0.958 0.934 -0.0239
GIN 0.76 0.59 -0.17
UGA 0.65 0.88 0.229
ERI 0.957 0.694 -0.263
SJM -3.73 -17.3 -13.6
FIN -1.61 -11.4 -9.79
EST -0.824 -9.01 -8.19
NOR -1.19 -9.35 -8.16
CAN -0.592 -8.55 -7.96

Correlation: 0.6988 | RMSE: 3.172386 | Sign agreement: 65.7%

Top 5 best predicted   Top 5 worst predicted
Year 2099 · Tmean across these regions: 4.20°C
Region Raw Flex Residual
COD 0.796 0.798 0.00197
ZMB 1.14 1.13 -0.00382
TON 0.668 0.658 -0.00945
MOZ 0.668 0.68 0.0115
TLS 0.684 0.716 0.0324
SJM -2.74 -17 -14.2
FIN -1.45 -11.2 -9.79
EST -0.991 -9.21 -8.22
NOR -0.964 -9.05 -8.09
CAN -0.584 -8.57 -7.98

Correlation: 0.5911 | RMSE: 3.156104 | Sign agreement: 66.1%

Top 5 best predicted   Top 5 worst predicted
Year 2099 · Tmean across these regions: 4.20°C
Region Raw Flex Residual
COD 0.786 0.773 -0.013
CXR 0.407 0.392 -0.0149
MOZ 0.636 0.62 -0.0162
NPL 0.314 0.294 -0.0206
MUS 0.882 0.843 -0.0388
SJM -1.48 -16.6 -15.1
FIN -1.43 -11.2 -9.8
EST -0.732 -8.9 -8.17
GRL -0.861 -8.98 -8.12
NOR -1.07 -9.18 -8.12

10.1 Scenario Summary

Table 7: Fit statistics across all 12 scenarios
RCP SSP Model N Corr RMSE Sign%
rcp45 SSP2 high 245 0.8483 1.7131 66.9%
rcp45 SSP2 low 245 0.7949 1.63128 66.5%
rcp45 SSP3 high 245 0.7685 1.56642 66.9%
rcp45 SSP3 low 245 0.6813 1.56939 67.8%
rcp85 SSP2 high 245 0.8049 3.64343 66.5%
rcp85 SSP2 low 245 0.7236 3.36752 66.5%
rcp85 SSP3 high 245 0.6988 3.17239 65.7%
rcp85 SSP3 low 245 0.5911 3.1561 66.1%

11 Data Reference

11.1 File Locations

Item Path
Regional CSV /project/cil/gcp/flex_damage_funcs/parameters/energy__total_country__regional_parameters.csv
Global JSON /project/cil/gcp/flex_damage_funcs/parameters/energy__total_country__global_results.json
Metadata JSON /project/cil/gcp/flex_damage_funcs/parameters/energy__total_country__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