Flexible Damage Functions

Author

James Rising, Sebastian Cadavid Sanchez, Climate Impact Lab

Published

April 30, 2026

0.1 Agriculture: Cassava

Flexible damage function parameters at the Impact Region level.

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

Outcome units: physical

\[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.0060
Standard error 1.51e-03
95% CI [0.0030, 0.0090]
R-squared 0.9110
Observations 24,681,159
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.005998, 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.09698 -0.1052 0.09875 -0.3902 0.4364 24,326
beta -0.005788 -0.003626 0.007528 -0.08105 0 24,326
rho 0.2958 0.3156 0.2211 -0.4683 0.7634 24,324
zeta 0.01849 0.01411 0.01318 0 0.1286 24,326
eta 0.02659 0.02093 0.01771 0 0.1515 24,326
rsqr1 0.7948 0.9152 0.2444 0 0.9905 24,326
rsqr2 0.6621 0.6657 0.06749 0 0.8926 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) 8172 33.6%
T > 20°C (beyond graph) 4 0.0%
T < 0°C (negative crossing) 12632 51.9%
Valid crossings (0-20°C) 3518 14.5%
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.0000 0.6247 0.6657 0.7086 0.8926

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.9944
Sum(η²) 24.8349
Sum(D²) at T=3.0°C 4409.0044
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 α β η
USA.29.1751 -0.273 -0.00213 0.0182 0.99
USA.29.1755 -0.257 -0.00356 0.0181 0.989
USA.29.1763 -0.239 -0.00348 0.017 0.989
ETH.4.25.R4a10e1b431db4f7e -0.00137 -6.14e-5 0.0275 0.00131
AGO.14.114 8.01e-4 -5.65e-4 0.0193 0.00317
COL.10.R7bbad41f60e74b20 0.00676 -0.00175 0.0203 0.00348
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 2098: 292,536 rows

Correlation: 0.9051 | RMSE: 0.082758 | Sign agreement: 95.3%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 2.05°C
Region Raw Flex Residual
FJI.R13886963f95ae1bc 0 0 0
TUV.R06fb643237e8113e 0 0 0
CAN.11.182.3200 -0.181 -0.181 -1.23e-6
MYS.5.35 0.043 0.043 1.81e-6
IND.28.411.1596 -0.238 -0.238 2.62e-6
PHL.Rfb548f506b985526 -0.0171 0.591 0.609
PHL.41 -0.0185 0.57 0.588
PHL.48 -0.00543 0.563 0.568
ETH.10.57.R0aa5fd76345b0e2d -0.227 0.275 0.502
AUS.11.1376 -1.18 -0.706 0.472

Correlation: 0.9338 | RMSE: 0.071345 | Sign agreement: 95.8%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 2.05°C
Region Raw Flex Residual
FJI.R13886963f95ae1bc 0 0 0
TUV.R06fb643237e8113e 0 0 0
DEU.4.13.Ra1bac1be693a542e -0.278 -0.278 2.26e-6
CAN.2.22.R6f834804abaa746c -0.0566 -0.0566 2.64e-6
AUS.4.160 -0.26 -0.26 -4.31e-6
PHL.Rfb548f506b985526 -0.00813 0.589 0.597
PHL.41 -0.0174 0.567 0.585
PHL.48 0.0166 0.56 0.544
PHL.12.186 0.0361 0.471 0.435
NRU.R48a30b843dc4b8e2 0.0321 0.391 0.359

Correlation: 0.9415 | RMSE: 0.082191 | Sign agreement: 95.0%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 2.05°C
Region Raw Flex Residual
FJI.R13886963f95ae1bc 0 0 0
TUV.R06fb643237e8113e 0 0 0
JPN.8.327 -0.144 -0.144 2.49e-6
AGO.6.39 0.0257 0.0257 -7.84e-6
KOR.10.146 -0.0307 -0.0307 -1.08e-5
PHL.Rfb548f506b985526 0.0461 0.588 0.542
PHL.41 0.0442 0.567 0.522
PHL.48 0.0807 0.56 0.479
SYR.14.58 -0.0629 -0.476 -0.413
PHL.12.186 0.0698 0.471 0.401

Correlation: 0.9029 | RMSE: 0.090897 | Sign agreement: 95.9%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 2.05°C
Region Raw Flex Residual
FJI.R13886963f95ae1bc 0 0 0
TUV.R06fb643237e8113e 0 0 0
CHN.31.319.2212 -0.11 -0.11 7.71e-7
PNG.18.80 -0.0267 -0.0267 -8.89e-7
IDN.3.31 -0.0858 -0.0858 -6.50e-6
GIN.1.5.Rda4b5cf45d3e5b5e -0.799 -0.258 0.542
GIN.6.24.R77458477fdb26dc3 -0.805 -0.274 0.53
GIN.6.21.187 -0.804 -0.278 0.526
GIN.3.8.56 -0.805 -0.279 0.526
GIN.1.5.33 -0.769 -0.25 0.519

Correlation: 0.9149 | RMSE: 0.078364 | Sign agreement: 95.9%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 2.05°C
Region Raw Flex Residual
FJI.R13886963f95ae1bc 0 0 0
TUV.R06fb643237e8113e 0 0 0
USA.11.465 -0.394 -0.394 -3.41e-6
CHL.13.53.298 -0.591 -0.591 -4.03e-6
ARG.15.358 -0.41 -0.41 7.98e-6
OMN.6 -0.147 -0.662 -0.515
SAU.7 -0.224 -0.719 -0.494
MMR.11.43.210 -0.135 0.349 0.484
MMR.11.43.208 -0.147 0.332 0.479
MMR.11.41.191 -0.12 0.356 0.476

Correlation: 0.9392 | RMSE: 0.073116 | Sign agreement: 95.1%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 2.05°C
Region Raw Flex Residual
FJI.R13886963f95ae1bc 0 0 0
TUV.R06fb643237e8113e 0 0 0
USA.1.9 -0.36 -0.36 1.97e-6
USA.50.3050 -0.291 -0.291 3.16e-6
PAK.5.13.54 -0.118 -0.118 -3.52e-6
AUS.11.1276 -0.173 -0.684 -0.511
AUS.11.1302 -0.197 -0.707 -0.51
AUS.11.1376 -0.206 -0.707 -0.501
PHL.Rfb548f506b985526 0.0951 0.587 0.492
PHL.41 0.083 0.565 0.482

Correlation: 0.9553 | RMSE: 0.111964 | Sign agreement: 96.9%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 4.51°C
Region Raw Flex Residual
FJI.R13886963f95ae1bc 0 0 0
TUV.R06fb643237e8113e 0 0 0
IND.21.322.1292 -0.0737 -0.0737 -3.06e-6
GBR.4.171 -0.238 -0.238 1.03e-5
IND.31.466.1879 -0.54 -0.54 -1.32e-5
OMN.6 -0.678 -1.46 -0.778
ETH.10.57.R0aa5fd76345b0e2d -0.347 0.346 0.693
SYR.14.58 -0.363 -1.05 -0.689
SYR.14.59 -0.361 -0.986 -0.625
LCA.R3eb241720effe7f4 -0.39 -1.01 -0.623

Correlation: 0.9617 | RMSE: 0.105803 | Sign agreement: 98.0%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 4.51°C
Region Raw Flex Residual
FJI.R13886963f95ae1bc 0 0 0
TUV.R06fb643237e8113e 0 0 0
COL.7.330 -0.395 -0.395 -2.36e-7
RUS.49.1163.1280 -0.481 -0.481 5.19e-6
IND.33.529.2117 -0.156 -0.156 1.02e-5
TUR.48.R5570f5f28e7b75f0 -0.864 -1.6 -0.736
SOM.14.54 -0.152 -0.776 -0.624
SOM.15.57 -0.168 -0.79 -0.622
PSE.2.6 -0.433 -1.03 -0.594
BRA.5.R111a8142c02ae043 -0.494 -1.09 -0.593

Correlation: 0.9725 | RMSE: 0.164938 | Sign agreement: 97.3%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 4.51°C
Region Raw Flex Residual
FJI.R13886963f95ae1bc 0 0 0
TUV.R06fb643237e8113e 0 0 0
IND.33.540.2147 -0.124 -0.124 4.34e-5
IND.21.334.1410 -0.332 -0.332 6.02e-5
MNG.5.69 -0.623 -0.623 -6.99e-5
ISR.5 -0.761 -1.63 -0.869
ISR.2 -0.722 -1.57 -0.847
LBN.5 -0.742 -1.42 -0.678
SYR.14.58 -0.376 -1.05 -0.671
TGO.3.R00e2431dd5a6481a -0.202 -0.868 -0.665

Correlation: 0.9066 | RMSE: 0.179132 | Sign agreement: 96.8%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 4.51°C
Region Raw Flex Residual
FJI.R13886963f95ae1bc 0 0 0
TUV.R06fb643237e8113e 0 0 0
USA.2.71 -0.324 -0.324 -3.43e-6
THA.3.R54a58ba78ac1fc58 0.0173 0.0173 -4.63e-5
PHL.1 -0.209 -0.209 -7.40e-5
ISR.5 -0.63 -1.63 -1
ISR.2 -0.6 -1.57 -0.969
GIN.1.2.17 -1.47 -0.573 0.892
GIN.1.2.11 -1.46 -0.572 0.887
GIN.1.2.13 -1.46 -0.587 0.869

Correlation: 0.9304 | RMSE: 0.138886 | Sign agreement: 97.5%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 4.51°C
Region Raw Flex Residual
FJI.R13886963f95ae1bc 0 0 0
TUV.R06fb643237e8113e 0 0 0
FRA.73.82 -1.19 -1.19 1.10e-5
IND.12.134.481 -0.366 -0.366 -1.77e-5
AUS.4.R874d7ca7a97764c3 -0.714 -0.714 -2.22e-5
SOM.1.R472bf830dca32de3 -1.84 -0.617 1.22
SOM.1.1 -1.78 -0.636 1.15
SOM.7.29 -1.55 -0.481 1.07
SOM.2.6 -1.6 -0.538 1.06
SOM.8.Rfccc5a812678586e -1.59 -0.53 1.06

Correlation: 0.9532 | RMSE: 0.136844 | Sign agreement: 97.5%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 4.51°C
Region Raw Flex Residual
FJI.R13886963f95ae1bc 0 0 0
TUV.R06fb643237e8113e 0 0 0
IND.21.330.1371 -0.344 -0.344 -1.74e-6
NGA.19.350 -0.313 -0.313 -2.92e-6
IND.33.511.2064 -0.132 -0.132 -3.29e-6
AUS.11.1302 -0.603 -1.55 -0.952
AUS.11.1376 -0.606 -1.55 -0.948
AUS.11.1276 -0.579 -1.5 -0.924
AUS.5.386 -0.64 -1.54 -0.904
AUS.6.606 -0.598 -1.47 -0.872
Note · countries with no cassava data (shown white on every map above; the GCP cassava pipeline does not run sims for non-producing countries): ATA, BVT, CL-, HMD, IOT, SGS, SP-.

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.9051 0.082758 95.3%
rcp45 SSP2 low 24,326 0.9338 0.071345 95.8%
rcp45 SSP3 high 24,326 0.9415 0.082191 95.0%
rcp45 SSP3 low 24,326 0.9029 0.090897 95.9%
rcp45 SSP4 high 24,326 0.9149 0.078364 95.9%
rcp45 SSP4 low 24,326 0.9392 0.073116 95.1%
rcp85 SSP2 high 24,326 0.9553 0.111964 96.9%
rcp85 SSP2 low 24,326 0.9617 0.105803 98.0%
rcp85 SSP3 high 24,326 0.9725 0.164938 97.3%
rcp85 SSP3 low 24,326 0.9066 0.179132 96.8%
rcp85 SSP4 high 24,326 0.9304 0.138886 97.5%
rcp85 SSP4 low 24,326 0.9532 0.136844 97.5%

11 Data Reference

11.1 File Locations

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