Flexible Damage Functions

Author

James Rising, Sebastian Cadavid Sanchez, Climate Impact Lab

Published

April 30, 2026

0.1 Energy: Total

Flexible damage function parameters at the Impact Region level.

Outcome units: kWh_per_capita — kWh per capita, rebased to 2005 baseline (positive = more energy consumed)

\[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.0658
Standard error 5.84e-03
95% CI [0.0544, 0.0773]
R-squared 0.9637
Observations 16,638,984
Regions 24,326
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.065848, 24,326 rows (of 462,194 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.3736 -0.1083 0.6287 -5.381 0.2375 24,326
beta 0.03525 0.02153 0.04059 0 0.3184 24,326
rho 0.1825 0.2013 0.1356 -0.2165 0.5754 24,326
zeta 0.04323 0.0371 0.03315 0.0042 0.3829 24,326
eta 0.0673 0.05115 0.05389 0.006658 0.6037 24,326
rsqr1 0.6976 0.8528 0.3102 1.197e-08 0.9876 24,326
rsqr2 0.6159 0.6007 0.08914 0.2977 0.8653 24,326

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) 8730 35.9%
T > 20°C (beyond graph) 63 0.3%
T < 0°C (negative crossing) 2807 11.5%
Valid crossings (0-20°C) 12726 52.3%
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.2977 0.5431 0.6007 0.6767 0.8653

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.9976
Sum(η²) 180.8409
Sum(D²) at T=3.0°C 74133.5855
N regions 24,326

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 α β η
AUS.6.730 0.0301 0.0192 0.00788 0.988
AUS.6.R2c5c70f09ece3e5d 0.0236 0.0195 0.00761 0.988
AUS.6.532 0.0305 0.02 0.00825 0.987
PAK.1.1.3 -0.0132 0.00192 0.0778 0.0015
ETH.10.56.468 -0.026 0.0066 0.0891 0.00154
ETH.3.15.72 -0.0148 0.00517 0.102 0.00176
Figure 6: Fitted polynomial with raw data for worst-fitting regions

9 Regional Parameter Maps

Maps of key parameters at the impact region 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: 195,024 rows

Correlation: 0.9034 | RMSE: 2.470493 | Sign agreement: 62.0%

Top 5 best predicted   Top 5 worst predicted
Year 2099 · Tmean across these regions: 1.96°C
Region Raw Flex Residual
COD.6.24.84 0.815 0.816 0.00137
ETH.8.41.Rc7a37bc0fe05b897 0.193 0.195 0.00174
AGO.9.78 0.561 0.559 -0.00177
TZA.14.65 0.652 0.654 0.00178
TZA.14.71 0.586 0.583 -0.00294
CAN.8.117.2359 -6 -20.1 -14.1
RUS.65.1741.1858 -6.32 -20 -13.7
CAN.8.119.2375 -5.37 -18.9 -13.5
CAN.8.119.2371 -5.06 -18.3 -13.2
RUS.5.108.108 -5.78 -18.9 -13.1

Correlation: 0.8878 | RMSE: 2.421343 | Sign agreement: 61.5%

Top 5 best predicted   Top 5 worst predicted
Year 2099 · Tmean across these regions: 1.96°C
Region Raw Flex Residual
CAF.11.Rf4cf76f387926273 0.335 0.336 0.00124
AGO.9.78 0.561 0.559 -0.00177
BGD.6.23.66.R965ed56cb8321b6e 0.465 0.466 0.00196
AGO.9.71 0.556 0.559 0.0032
ZMB.4.28 0.585 0.588 0.00328
RUS.65.1741.1858 -5.33 -19.7 -14.3
CAN.8.117.2359 -6.12 -20.2 -14
RUS.5.108.108 -4.85 -18.6 -13.7
CAN.8.119.2375 -5.48 -18.9 -13.4
CAN.8.119.2371 -5.16 -18.3 -13.2

Correlation: 0.8877 | RMSE: 2.334862 | Sign agreement: 61.6%

Top 5 best predicted   Top 5 worst predicted
Year 2099 · Tmean across these regions: 1.96°C
Region Raw Flex Residual
BRA.25.5196.9734 0.681 0.681 1.55e-4
BRA.13.2255.4498 0.38 0.38 -2.50e-4
BRA.25.4973.9397 0.658 0.658 -2.88e-4
AGO.15.133 0.377 0.376 -3.32e-4
BRA.21.3957.7553 0.292 0.292 -4.04e-4
RUS.65.1741.1858 -4.73 -19.4 -14.7
CAN.8.117.2359 -6.17 -20.2 -14
RUS.5.108.108 -4.3 -18.3 -14
CAN.8.119.2375 -5.53 -18.9 -13.4
CAN.8.119.2371 -5.2 -18.3 -13.1

Correlation: 0.8681 | RMSE: 2.349399 | Sign agreement: 61.9%

Top 5 best predicted   Top 5 worst predicted
Year 2099 · Tmean across these regions: 1.96°C
Region Raw Flex Residual
TLS.R3ea0f0a0c1b4eca3 0.352 0.352 2.19e-4
COL.20.695 0.51 0.51 -2.43e-4
AGO.15.133 0.377 0.376 -3.32e-4
BOL.4.45.148 -0.0522 -0.0517 4.30e-4
SLB.4 0.226 0.227 5.32e-4
RUS.65.1741.1858 -4.74 -19.4 -14.7
CAN.8.117.2359 -5.15 -19.8 -14.6
RUS.5.108.108 -4.31 -18.3 -14
CAN.8.119.2375 -4.61 -18.5 -13.9
CAN.8.119.2371 -4.34 -17.9 -13.6

Correlation: 0.8836 | RMSE: 4.756923 | Sign agreement: 59.8%

Top 5 best predicted   Top 5 worst predicted
Year 2099 · Tmean across these regions: 4.20°C
Region Raw Flex Residual
ETH.3.21.141 1.17 1.17 5.10e-4
MMR.12.50.244 1.15 1.15 0.0023
COD.8.33.118 1.77 1.77 -0.00262
ETH.3.20.128 1.48 1.48 -0.003
ETH.8.41.355 1.45 1.45 -0.00429
CAN.8.117.2359 -11.2 -38.6 -27.3
RUS.65.1741.1858 -11.8 -37.3 -25.5
CAN.8.119.2375 -10.2 -35.6 -25.3
RUS.5.108.108 -9.32 -34.3 -24.9
CAN.8.119.2371 -9.73 -34.4 -24.7

Correlation: 0.8591 | RMSE: 4.592908 | Sign agreement: 59.6%

Top 5 best predicted   Top 5 worst predicted
Year 2099 · Tmean across these regions: 4.20°C
Region Raw Flex Residual
TZA.11.50 0.636 0.634 -0.00175
COM.R444cfbcaa6c2c1fe 0.748 0.745 -0.00208
ZWE.4.R960bd0af211ee36f 0.653 0.656 0.00219
MMR.12.50.244 1.15 1.15 0.0023
ETH.8.31.208 -0.205 -0.208 -0.00319
CAN.8.117.2359 -11.5 -38.6 -27.2
RUS.65.1741.1858 -9.96 -36.7 -26.7
RUS.5.108.108 -7.86 -33.7 -25.8
CAN.8.119.2375 -10.4 -35.6 -25.2
CAN.8.119.2371 -9.92 -34.5 -24.5

Correlation: 0.8538 | RMSE: 4.340869 | Sign agreement: 59.9%

Top 5 best predicted   Top 5 worst predicted
Year 2099 · Tmean across these regions: 4.20°C
Region Raw Flex Residual
BRA.24.4447 0.681 0.681 -8.25e-5
BRA.25.4793.9151 1.03 1.03 -1.29e-4
BRA.25.R7f299d95bf449678 1.03 1.03 -4.07e-4
MMR.7.21.106 0.652 0.651 -4.97e-4
MOZ.4.R6f0062c500003e40 0.73 0.729 -5.28e-4
RUS.65.1741.1858 -8.83 -36.2 -27.4
CAN.8.117.2359 -11.6 -38.7 -27.1
RUS.5.108.108 -6.97 -33.2 -26.2
CAN.8.119.2375 -10.5 -35.7 -25.2
CAN.8.119.2371 -9.99 -34.5 -24.5

Correlation: 0.8224 | RMSE: 4.371570 | Sign agreement: 60.2%

Top 5 best predicted   Top 5 worst predicted
Year 2099 · Tmean across these regions: 4.20°C
Region Raw Flex Residual
PER.15.134.1325 1.29 1.29 -3.75e-4
MAR.3.7.R887e70b9115f1dee 0.0225 0.0229 4.12e-4
MMR.7.21.106 0.652 0.651 -4.97e-4
PER.13.113.1122 1.26 1.26 -8.34e-4
PER.11.102.986 1.29 1.29 -9.56e-4
CAN.8.117.2359 -9.67 -37.8 -28.2
RUS.65.1741.1858 -8.86 -36.3 -27.4
RUS.5.108.108 -6.99 -33.3 -26.3
CAN.8.119.2375 -8.8 -34.9 -26.1
CAN.8.117.2350 -9.86 -35.3 -25.4

10.1 Scenario Summary

Table 7: Fit statistics across all 12 scenarios
RCP SSP Model N Corr RMSE Sign%
rcp45 SSP2 high 24,326 0.9034 2.47049 62.0%
rcp45 SSP2 low 24,326 0.8878 2.42134 61.5%
rcp45 SSP3 high 24,326 0.8877 2.33486 61.6%
rcp45 SSP3 low 24,326 0.8681 2.3494 61.9%
rcp85 SSP2 high 24,326 0.8836 4.75692 59.8%
rcp85 SSP2 low 24,326 0.8591 4.59291 59.6%
rcp85 SSP3 high 24,326 0.8538 4.34087 59.9%
rcp85 SSP3 low 24,326 0.8224 4.37157 60.2%

11 Data Reference

11.1 File Locations

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