Flexible Damage Functions

Author

James Rising, Sebastian Cadavid Sanchez, Climate Impact Lab

Published

September 14, 2026

0.1 Agriculture: Wheat Combined Country Collapsed

Flexible damage function parameters at the Country level.

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

Outcome units: log_yield_change. Log change in wheat (combined spring + winter) 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.0645
Standard error 9.54e-03
95% CI [-0.0832, -0.0458]
R-squared 0.8763
Observations 140,014
Regions 138
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.064486, 138 rows (of 2,622 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.09362 -0.09363 0.2204 -1.116 0.4411 138
beta -0.02633 -0.02051 0.0286 -0.163 0 138
rho 0.3286 0.3381 0.2075 -0.3178 0.7163 138
zeta 0.0496 0.039 0.03611 0.01396 0.2765 138
eta 0.08014 0.06251 0.06153 0.02143 0.5043 138
rsqr1 0.663 0.7222 0.2652 0.04004 0.9785 138
rsqr2 0.5949 0.5926 0.07012 0.4313 0.768 138

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) 35 25.4%
T > 20°C (beyond graph) 0 0.0%
T < 0°C (negative crossing) 64 46.4%
Valid crossings (0-20°C) 39 28.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.4313 0.5491 0.5926 0.6364 0.7680

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.9822
Sum(η²) 1.4050
Sum(D²) at T=3.0°C 79.1285
N regions 138

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²
CHE -0.32 -0.0225 0.0393 0.979
MNE -0.261 -0.00858 0.0285 0.976
AUT -0.197 -0.0279 0.0309 0.974
CAF 0.0189 -0.00953 0.0792 0.04
SOM 0.396 -0.0954 0.158 0.142
BDI 0.141 -0.0373 0.0684 0.161
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.7468 | RMSE: 0.130162 | Sign agreement: 89.1%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 1.94°C
Region Raw Flex Residual
LUX -0.385 -0.387 -0.00117
VEN -0.0338 -0.0353 -0.00148
KOR -0.353 -0.35 0.00282
UZB -0.00746 -0.00348 0.00399
ZAF -0.302 -0.295 0.00715
IND -0.406 0.112 0.518
ZWE -0.172 0.238 0.409
MDG -0.145 0.245 0.391
COD -0.164 0.224 0.388
VNM -0.597 -0.218 0.379

Correlation: 0.7696 | RMSE: 0.121413 | Sign agreement: 87.7%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 1.94°C
Region Raw Flex Residual
HND -0.0729 -0.0742 -0.00124
MNG 0.23 0.229 -0.00127
TUN -0.12 -0.119 0.00149
PRT -0.375 -0.373 0.00232
ROU -0.21 -0.207 0.00343
IND -0.37 0.113 0.484
VNM -0.588 -0.221 0.367
COD -0.135 0.23 0.365
MDG -0.0849 0.269 0.354
THA -0.252 -0.563 -0.311

Correlation: 0.7447 | RMSE: 0.127929 | Sign agreement: 87.7%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 1.94°C
Region Raw Flex Residual
MNE -0.275 -0.275 5.95e-4
PRY -0.149 -0.147 0.00165
ECU -0.171 -0.173 -0.00231
HRV -0.26 -0.263 -0.00239
CA- 0.00842 0.0112 0.00275
IND -0.37 0.121 0.491
SOM -0.0948 0.273 0.368
MDG -0.0956 0.267 0.362
THA -0.231 -0.575 -0.344
MMR -0.428 -0.765 -0.337

Correlation: 0.7317 | RMSE: 0.133465 | Sign agreement: 88.4%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 1.94°C
Region Raw Flex Residual
ZMB -0.047 -0.0486 -0.00165
LTU -0.0821 -0.078 0.00403
ECU -0.175 -0.18 -0.00431
BOL -0.0298 -0.024 0.00581
ROU -0.204 -0.211 -0.00657
IND -0.311 0.12 0.431
MMR -0.355 -0.765 -0.41
BTN -0.822 -1.21 -0.392
THA -0.216 -0.586 -0.37
MDG -0.0552 0.297 0.352

Correlation: 0.7383 | RMSE: 0.129682 | Sign agreement: 87.0%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 1.94°C
Region Raw Flex Residual
LAO -0.0762 -0.0759 3.37e-4
KOR -0.35 -0.348 0.00206
LUX -0.384 -0.387 -0.0033
NAM -0.158 -0.152 0.0052
LTU -0.0828 -0.0755 0.00725
IND -0.397 0.113 0.51
SOM -0.205 0.297 0.503
MMR -0.332 -0.814 -0.482
VNM -0.601 -0.219 0.382
MDG -0.075 0.275 0.35

Correlation: 0.7190 | RMSE: 0.135181 | Sign agreement: 88.4%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 1.94°C
Region Raw Flex Residual
CA- 0.0112 0.0113 9.67e-5
BRA -0.19 -0.188 0.00151
JOR -0.0474 -0.0496 -0.00218
EST -0.0693 -0.0668 0.00246
PRT -0.368 -0.375 -0.00673
MMR -0.278 -0.814 -0.536
BTN -0.77 -1.22 -0.446
IND -0.321 0.119 0.44
THA -0.19 -0.588 -0.399
MDG -0.0692 0.283 0.352

Correlation: 0.8929 | RMSE: 0.165317 | Sign agreement: 95.7%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 4.19°C
Region Raw Flex Residual
AGO -0.414 -0.414 4.77e-4
ROU -0.49 -0.489 5.35e-4
BRA -0.387 -0.39 -0.00277
LTU -0.256 -0.26 -0.00403
TUR -0.425 -0.43 -0.0045
IND -0.881 -0.298 0.582
THA -0.699 -1.18 -0.476
MDG -0.289 0.152 0.441
ZWE -0.312 0.119 0.431
MAR -0.777 -0.347 0.43

Correlation: 0.9131 | RMSE: 0.151856 | Sign agreement: 94.9%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 4.19°C
Region Raw Flex Residual
BLR -0.406 -0.405 8.05e-4
BRA -0.391 -0.39 9.01e-4
AZE -0.288 -0.286 0.00191
CZE -0.525 -0.523 0.00248
COL -0.44 -0.437 0.00346
THA -0.612 -1.21 -0.603
BTN -2.19 -2.75 -0.557
IND -0.85 -0.302 0.548
CHN -0.569 -0.927 -0.359
COD -0.375 -0.0385 0.337

Correlation: 0.9000 | RMSE: 0.188439 | Sign agreement: 94.9%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 4.19°C
Region Raw Flex Residual
SVK -0.473 -0.475 -0.00238
CHL -0.287 -0.29 -0.00291
TUN -0.361 -0.358 0.00326
NOR -0.196 -0.2 -0.00348
AUS -0.42 -0.424 -0.00426
BTN -1.93 -2.79 -0.858
THA -0.531 -1.24 -0.711
MMR -1.16 -1.66 -0.501
CHN -0.468 -0.96 -0.492
ARE -0.618 -1.06 -0.442

Correlation: 0.8965 | RMSE: 0.206953 | Sign agreement: 93.5%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 4.19°C
Region Raw Flex Residual
IRL -0.496 -0.495 1.71e-4
UGA -0.319 -0.32 -5.86e-4
AUS -0.423 -0.423 -7.69e-4
ARG -0.381 -0.379 0.00208
ESP -0.573 -0.569 0.00385
BTN -1.94 -2.89 -0.946
THA -0.48 -1.26 -0.784
MMR -1.08 -1.66 -0.576
EGY -0.226 -0.687 -0.461
NPL -1.08 -1.53 -0.455

Correlation: 0.9040 | RMSE: 0.162307 | Sign agreement: 94.2%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 4.19°C
Region Raw Flex Residual
PRK -0.51 -0.511 -0.00112
BIH -0.584 -0.586 -0.0017
MNE -0.618 -0.612 0.00657
TUR -0.426 -0.436 -0.00942
SWZ -0.335 -0.325 0.01
MMR -1 -1.76 -0.76
BTN -2.08 -2.68 -0.604
IND -0.85 -0.302 0.548
THA -0.66 -1.18 -0.524
SOM -0.417 -0.00839 0.409

Correlation: 0.8856 | RMSE: 0.204741 | Sign agreement: 92.8%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 4.19°C
Region Raw Flex Residual
UGA -0.305 -0.304 3.95e-4
CZE -0.522 -0.524 -0.00237
BLZ -0.262 -0.264 -0.00243
MNE -0.615 -0.612 0.00321
ETH -0.311 -0.314 -0.00389
BTN -1.92 -2.89 -0.972
MMR -0.928 -1.76 -0.836
THA -0.488 -1.27 -0.782
CHN -0.486 -0.954 -0.468
TKM -0.148 -0.572 -0.424
Note · countries with no wheat combined data (shown white on every map above; the GCP wheat combined pipeline does not run sims for non-producing countries): ABW, AIA, ALA, AND, ASM, ATA, ATF, ATG, BES, BHR, BHS, BLM, BMU, BRB, BRN, BVT, CCK, CIV, CL-, COK, COM, CPV, CRI, CUB, CUW, CXR, CYM, CYP, DJI, DMA, DOM, ESH, FJI, FLK, FRO, FSM, GAB, GGY, Ghana, GIB, GIN, GLP, GMB, GNB, GNQ, GRD, GRL, GUF, GUM, HKG, HMD, HTI, Indonesia, IMN, IOT, ISL, JAM, JEY, KHM, KIR, KNA, LBR, LCA, LIE, LKA, MAC, MAF, MCO, MDV, MHL, MNP, MSR, MTQ, MUS, MYT, NFK, NIU, NRU, PAN, PCN, Philippines, PLW, PNG, PRI, PYF, QAT, REU, SGP, SGS, SHN, SJM, SLB, SLE, SMX, SP-, SPM, STP, SUR, SYC, TCA, TGO, TKL, TLS, TON, TTO, TUV, TWN, UMI, VAT, VCT, VGB, VIR, VUT, WLF, WSM.

10.1 Scenario Summary

Table 7: Fit statistics across all 12 scenarios
RCP SSP Model N Corr RMSE Sign%
rcp45 SSP2 high 138 0.7468 0.130162 89.1%
rcp45 SSP2 low 138 0.7696 0.121413 87.7%
rcp45 SSP3 high 138 0.7447 0.127929 87.7%
rcp45 SSP3 low 138 0.7317 0.133465 88.4%
rcp45 SSP4 high 138 0.7383 0.129682 87.0%
rcp45 SSP4 low 138 0.719 0.135181 88.4%
rcp85 SSP2 high 138 0.8929 0.165317 95.7%
rcp85 SSP2 low 138 0.9131 0.151856 94.9%
rcp85 SSP3 high 138 0.9 0.188439 94.9%
rcp85 SSP3 low 138 0.8965 0.206953 93.5%
rcp85 SSP4 high 138 0.904 0.162307 94.2%
rcp85 SSP4 low 138 0.8856 0.204741 92.8%

11 Data Reference

11.1 File Locations

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