Flexible Damage Functions

Author

James Rising, Sebastian Cadavid Sanchez, Climate Impact Lab

Published

September 14, 2026

0.1 Agriculture: Corn Country Collapsed

Flexible damage function parameters at the Country level.

Change in corn yields (log change in yields) under full adaptation

Outcome units: log_yield_change. Log change in corn yield (kg/Ha, log scale): country-level rows extracted from the 1% winsorization aggregated.nc4 file, mean-collapsed over the MC ensemble (batch x GCM).

\[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.3228
Standard error 6.62e-03
95% CI [0.3098, 0.3358]
R-squared 0.9416
Observations 179,584
Regions 177
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.322802, 177 rows (of 3,363 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.01716 0.01336 0.01452 0.000886 0.09933 177
beta -0.002856 -0.002161 0.002512 -0.01718 0 177
rho 0.5968 0.5884 0.1504 0.1677 0.8625 177
zeta 0.001699 0.001211 0.001609 0.0002219 0.01421 177
eta 0.002823 0.002015 0.002564 0.0003596 0.01884 177
rsqr1 0.6412 0.6818 0.1716 0.0008874 0.894 177
rsqr2 0.5856 0.5875 0.05363 0.4326 0.7184 177

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) 1 0.6%
T > 20°C (beyond graph) 0 0.0%
T < 0°C (negative crossing) 0 0.0%
Valid crossings (0-20°C) 176 99.4%
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.4326 0.5497 0.5875 0.6216 0.7184

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.9869
Sum(η²) 0.0026
Sum(D²) at T=3.0°C 0.1956
N regions 177

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²
PSE 0.03 -0.00505 0.00223 0.894
JOR 0.023 -0.00387 0.00187 0.863
MWI 0.0587 -0.00986 0.00557 0.855
KWT 0.00143 -1.74e-4 0.00125 0.135
TTO 0.00298 -3.58e-4 0.0023 0.146
MAC 0.00228 -3.07e-4 0.00144 0.176
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 2098: 3,036 rows

Correlation: -0.0454 | RMSE: 1.065099 | Sign agreement: 41.2%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 1.94°C
Region Raw Flex Residual
JPN 0.208 0.216 0.00831
DNK 0.144 0.153 0.00915
NZL 0.164 0.177 0.0136
FIN 0.155 0.128 -0.0265
EST 0.156 0.201 0.0447
ZWE -0.124 3.23 3.36
MWI -0.0823 2.37 2.45
EGY -0.905 1.53 2.44
LBR 0.0495 2.48 2.43
DJI -0.214 2.03 2.24

Correlation: -0.1658 | RMSE: 0.913961 | Sign agreement: 39.0%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 1.94°C
Region Raw Flex Residual
NZL 0.159 0.166 0.00715
JPN 0.201 0.208 0.00744
FIN 0.143 0.125 -0.018
DNK 0.118 0.14 0.0221
BRN 0.0288 0.0738 0.045
SOM -0.176 2.64 2.82
ZWE -0.129 1.94 2.07
EGY -0.848 1.18 2.03
PSE -0.489 1.52 2
DJI -0.635 1.27 1.9

Correlation: -0.1308 | RMSE: 0.805815 | Sign agreement: 40.7%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 1.94°C
Region Raw Flex Residual
NZL 0.162 0.16 -0.00176
JPN 0.201 0.193 -0.00804
DNK 0.13 0.139 0.00932
FIN 0.134 0.117 -0.0173
KOR 0.299 0.343 0.0439
ZWE -0.138 2.24 2.38
EGY -0.894 1.18 2.07
DJI -0.317 1.5 1.82
TKM -0.799 0.872 1.67
PSE -0.558 1.1 1.66

Correlation: -0.3103 | RMSE: 0.727279 | Sign agreement: 32.2%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 1.94°C
Region Raw Flex Residual
NZL 0.159 0.16 0.00122
JPN 0.195 0.198 0.00323
FIN 0.127 0.116 -0.0111
MAC 0.111 0.129 0.018
DNK 0.119 0.138 0.0195
EGY -0.804 0.922 1.73
UZB -0.532 1.19 1.72
SOM -0.289 1.41 1.7
PSE -0.514 1.1 1.61
TKM -0.745 0.861 1.61

Correlation: -0.2595 | RMSE: 0.828965 | Sign agreement: 42.9%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 1.94°C
Region Raw Flex Residual
NZL 0.179 0.185 0.0066
DNK 0.171 0.158 -0.0126
JPN 0.258 0.238 -0.02
EST 0.169 0.205 0.0361
KOR 0.348 0.39 0.0421
EGY -0.83 1.51 2.34
ZWE -0.248 2.08 2.33
DJI -0.327 1.54 1.86
JOR -0.7 1.14 1.84
UZB -0.58 1.24 1.82

Correlation: -0.2296 | RMSE: 0.770751 | Sign agreement: 35.0%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 1.94°C
Region Raw Flex Residual
KOR 0.274 0.278 0.00427
DNK 0.13 0.139 0.00939
BRN 0.0696 0.06 -0.00955
NZL 0.177 0.164 -0.0132
JPN 0.23 0.211 -0.0191
SOM -0.246 1.84 2.09
EGY -0.85 1.02 1.87
DJI -0.756 0.953 1.71
ZWE -0.159 1.53 1.69
UZB -0.563 1.13 1.69

Correlation: 0.0724 | RMSE: 1.261585 | Sign agreement: 35.6%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 4.19°C
Region Raw Flex Residual
FIN 0.133 0.143 0.0103
DNK 0.165 0.185 0.0204
MAC 0.21 0.178 -0.0329
TWN 0.335 0.373 0.0381
EST 0.16 0.199 0.0396
EGY -1.94 1.46 3.4
ZWE -0.259 2.86 3.12
JOR -1.56 1.09 2.65
PSE -1.19 1.43 2.62
DJI -0.659 1.92 2.58

Correlation: -0.0635 | RMSE: 1.159442 | Sign agreement: 31.6%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 4.19°C
Region Raw Flex Residual
FIN 0.123 0.14 0.0163
MAC 0.136 0.178 0.0415
DNK 0.121 0.169 0.0486
PRK 0.341 0.399 0.0583
JPN 0.317 0.247 -0.0698
EGY -1.77 1.13 2.9
SOM -0.471 2.37 2.84
PSE -1.18 1.43 2.61
IRQ -1.7 0.743 2.44
DJI -1.22 1.2 2.41

Correlation: -0.0434 | RMSE: 1.130721 | Sign agreement: 29.9%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 4.19°C
Region Raw Flex Residual
PRK 0.326 0.362 0.0356
MAC 0.204 0.164 -0.0402
FIN 0.0828 0.13 0.0476
DNK 0.115 0.168 0.0524
TWN 0.258 0.335 0.0764
EGY -1.92 1.12 3.05
JOR -1.67 0.873 2.54
ZWE -0.461 1.98 2.44
PSE -1.4 1.04 2.43
TKM -1.65 0.716 2.36

Correlation: -0.2350 | RMSE: 1.036896 | Sign agreement: 26.0%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 4.19°C
Region Raw Flex Residual
PRK 0.301 0.32 0.0195
FIN 0.0939 0.129 0.0355
DNK 0.125 0.167 0.0418
MAC 0.216 0.164 -0.0519
LAO 0.27 0.341 0.0706
EGY -1.7 0.878 2.57
PSE -1.3 1.04 2.33
UZB -1.32 0.977 2.3
TKM -1.57 0.707 2.28
IRQ -1.68 0.555 2.23

Correlation: -0.1912 | RMSE: 1.147809 | Sign agreement: 29.4%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 4.19°C
Region Raw Flex Residual
DNK 0.18 0.191 0.0111
FIN 0.136 0.148 0.0126
MAC 0.192 0.175 -0.0165
BRN 0.232 0.205 -0.0269
EST 0.154 0.203 0.0495
EGY -1.92 1.43 3.35
JOR -1.64 1.08 2.72
TKM -1.66 0.802 2.46
DZA -1.56 0.899 2.46
ZWE -0.598 1.84 2.44

Correlation: -0.1634 | RMSE: 1.112292 | Sign agreement: 23.7%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 4.19°C
Region Raw Flex Residual
FIN 0.134 0.141 0.00787
BRN 0.167 0.13 -0.0375
DNK 0.115 0.168 0.0533
PRK 0.284 0.34 0.0568
JPN 0.324 0.25 -0.074
EGY -1.82 0.975 2.79
JOR -1.6 0.766 2.36
PSE -1.38 0.954 2.33
UZB -1.38 0.929 2.31
DZA -1.64 0.668 2.31
Note · countries with no corn data (shown white on every map above; the GCP corn pipeline does not run sims for non-producing countries): ABW, AIA, ALA, AND, ARE, ASM, ATA, ATF, BES, BHR, BLM, BMU, BVT, CCK, CL-, COK, CUW, CXR, CYM, CYP, ESH, FLK, FRO, FSM, GBR, GGY, GIB, GLP, GNQ, GRL, HMD, IMN, IOT, IRL, ISL, JEY, KIR, KNA, LCA, LIE, MAF, MCO, MDV, MHL, MLT, MTQ, MYT, NFK, NIU, Norway, NRU, OMN, PCN, PLW, PYF, QAT, SGS, SHN, SJM, SLB, SMX, SP-, SPM, SWE, SYC, TCA, TKL, TON, TUN, TUV, UMI, VAT, VGB, VIR, WLF, WSM.

10.1 Scenario Summary

Table 7: Fit statistics across all 12 scenarios
RCP SSP Model N Corr RMSE Sign%
rcp45 SSP2 high 177 -0.0454 1.0651 41.2%
rcp45 SSP2 low 177 -0.1658 0.913961 39.0%
rcp45 SSP3 high 177 -0.1308 0.805815 40.7%
rcp45 SSP3 low 177 -0.3103 0.727279 32.2%
rcp45 SSP4 high 177 -0.2595 0.828965 42.9%
rcp45 SSP4 low 177 -0.2296 0.770751 35.0%
rcp85 SSP2 high 177 0.0724 1.26158 35.6%
rcp85 SSP2 low 177 -0.0635 1.15944 31.6%
rcp85 SSP3 high 177 -0.0434 1.13072 29.9%
rcp85 SSP3 low 177 -0.235 1.0369 26.0%
rcp85 SSP4 high 177 -0.1912 1.14781 29.4%
rcp85 SSP4 low 177 -0.1634 1.11229 23.7%

11 Data Reference

11.1 File Locations

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