Flexible Damage Functions

Author

James Rising, Sebastian Cadavid Sanchez, Climate Impact Lab

Published

April 30, 2026

0.1 Agriculture: Soy

Flexible damage function parameters at the Impact Region level.

Change in soy 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.0086
Standard error 9.97e-04
95% CI [-0.0105, -0.0066]
R-squared 0.9813
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.008589, 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.01803 -0.03121 0.4395 -1.467 1.395 24,326
beta -0.02186 -0.0115 0.02841 -0.1863 0 24,326
rho -0.03837 -0.05636 0.2771 -0.5769 0.6167 24,312
zeta 0.03534 0.02584 0.03366 0 0.2798 24,326
eta 0.06293 0.04593 0.0637 0 0.6876 24,326
rsqr1 0.805 0.9177 0.2532 0 0.9969 24,326
rsqr2 0.5737 0.5754 0.0654 0 0.7923 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) 9204 37.8%
T > 20°C (beyond graph) 523 2.1%
T < 0°C (negative crossing) 8119 33.4%
Valid crossings (0-20°C) 6480 26.6%
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.5319 0.5754 0.6182 0.7923

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.9950
Sum(η²) 195.0396
Sum(D²) at T=3.0°C 39219.8657
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 α β η
ZAF.10.350 -0.586 -0.0664 0.0318 0.997
NAM.2.12 -0.773 -0.0511 0.0434 0.996
BRA.10.1286.2676 -0.715 -0.0479 0.0424 0.996
IND.30.458.1840 -0.00572 -0.00212 0.198 0.00301
BFA.41 0.0149 -0.00176 0.0822 0.00363
MLI.7.38 0.0196 -0.00334 0.0609 0.00442
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.9840 | RMSE: 0.153843 | Sign agreement: 94.8%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 2.05°C
Region Raw Flex Residual
AIA 0 0 0
BLM 0 0 0
BMU.R676c07148ce9acd1 0 0 0
CCK 0 0 0
CXR 0 0 0
DZA.41.1258 -2.8 -1.75 1.05
DZA.1.16 -2.79 -1.77 1.02
DZA.1.1 -2.79 -1.86 0.934
DZA.41.1261 -2.78 -1.85 0.932
DZA.1.5 -2.79 -1.88 0.908

Correlation: 0.9840 | RMSE: 0.166825 | Sign agreement: 94.9%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 2.05°C
Region Raw Flex Residual
AIA 0 0 0
BLM 0 0 0
BMU.R676c07148ce9acd1 0 0 0
CCK 0 0 0
CXR 0 0 0
DZA.41.1258 -2.77 -1.76 1.01
DZA.1.16 -2.74 -1.78 0.959
DZA.41.1261 -2.76 -1.86 0.902
DZA.1.5 -2.75 -1.89 0.858
DZA.1.1 -2.72 -1.86 0.854

Correlation: 0.9862 | RMSE: 0.159039 | Sign agreement: 95.5%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 2.05°C
Region Raw Flex Residual
AIA 0 0 0
BLM 0 0 0
BMU.R676c07148ce9acd1 0 0 0
CCK 0 0 0
CXR 0 0 0
DZA.41.1258 -2.65 -1.76 0.887
DZA.1.16 -2.63 -1.78 0.85
DZA.41.1261 -2.66 -1.87 0.789
DZA.1.1 -2.64 -1.87 0.775
DZA.41.1255 -2.66 -1.93 0.731

Correlation: 0.9840 | RMSE: 0.161433 | Sign agreement: 96.0%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 2.05°C
Region Raw Flex Residual
AIA 0 0 0
BLM 0 0 0
BMU.R676c07148ce9acd1 0 0 0
CCK 0 0 0
CXR 0 0 0
DZA.41.1258 -2.76 -1.77 0.993
DZA.1.16 -2.78 -1.79 0.986
DZA.1.1 -2.77 -1.87 0.895
DZA.41.1261 -2.75 -1.87 0.878
BGD.5.21.54.367 0.932 1.81 0.874

Correlation: 0.9839 | RMSE: 0.168240 | Sign agreement: 95.4%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 2.05°C
Region Raw Flex Residual
AIA 0 0 0
BLM 0 0 0
BMU.R676c07148ce9acd1 0 0 0
CCK 0 0 0
CXR 0 0 0
DZA.41.1258 -2.71 -1.75 0.962
MMR.2.8.45 0.625 1.58 0.958
MMR.11.41.197 0.86 1.81 0.955
MMR.2.8.42 0.628 1.57 0.94
MMR.11.41.196 1 1.94 0.939

Correlation: 0.9832 | RMSE: 0.166208 | Sign agreement: 95.6%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 2.05°C
Region Raw Flex Residual
AIA 0 0 0
BLM 0 0 0
BMU.R676c07148ce9acd1 0 0 0
CCK 0 0 0
CXR 0 0 0
DZA.41.1258 -2.69 -1.77 0.928
MMR.2.8.45 0.664 1.58 0.919
MMR.11.41.196 1.05 1.94 0.888
DZA.1.16 -2.67 -1.79 0.886
MMR.11.41.197 0.93 1.81 0.884

Correlation: 0.9937 | RMSE: 0.294368 | Sign agreement: 97.7%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 4.51°C
Region Raw Flex Residual
AIA 0 0 0
BLM 0 0 0
BMU.R676c07148ce9acd1 0 0 0
CCK 0 0 0
CXR 0 0 0
SDN.3.10.47.158 -3.96 -5.65 -1.69
MAR.10.30.234.824 -4.16 -5.82 -1.66
ESH.Rcefd6804eb606f2b -3.91 -5.55 -1.64
MAR.10.30.Rf642e49e80267634 -4.15 -5.78 -1.63
MAR.13.46.341.1276 -4.11 -5.74 -1.62

Correlation: 0.9943 | RMSE: 0.282337 | Sign agreement: 97.8%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 4.51°C
Region Raw Flex Residual
AIA 0 0 0
BLM 0 0 0
BMU.R676c07148ce9acd1 0 0 0
CCK 0 0 0
CXR 0 0 0
NAM.4.Rd42f2f9e91996ddc -4.29 -5.81 -1.52
ERI.2.R63789c32ba29a018 -3.9 -5.42 -1.52
NAM.4.23 -4.26 -5.78 -1.52
SDN.3.10.47.158 -4.18 -5.68 -1.49
ZAF.7.248 -4.34 -5.83 -1.49

Correlation: 0.9924 | RMSE: 0.302291 | Sign agreement: 97.1%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 4.51°C
Region Raw Flex Residual
AIA 0 0 0
BLM 0 0 0
BMU.R676c07148ce9acd1 0 0 0
CCK 0 0 0
CXR 0 0 0
MAR.10.30.234.824 -4.47 -5.88 -1.41
IRN.5.44 -4.65 -6.04 -1.39
IRN.5.38 -4.65 -6.04 -1.38
IRN.27.233 -4.63 -6.01 -1.38
IRN.24.216 -4.64 -6.02 -1.38

Correlation: 0.9923 | RMSE: 0.328225 | Sign agreement: 97.0%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 4.51°C
Region Raw Flex Residual
AIA 0 0 0
BLM 0 0 0
BMU.R676c07148ce9acd1 0 0 0
CCK 0 0 0
CXR 0 0 0
ZAF.7.248 -4.26 -5.86 -1.6
DZA.31.938 -4.38 -5.96 -1.58
DZA.25.R082c81b504df4c40 -4.39 -5.97 -1.58
DZA.17.R07324a6d1a204546 -4.42 -5.99 -1.57
IRN.5.44 -4.49 -6.06 -1.57

Correlation: 0.9935 | RMSE: 0.302659 | Sign agreement: 97.6%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 4.51°C
Region Raw Flex Residual
AIA 0 0 0
BLM 0 0 0
BMU.R676c07148ce9acd1 0 0 0
CCK 0 0 0
CXR 0 0 0
MAR.10.30.234.824 -4.23 -5.84 -1.61
MAR.13.46.341.1276 -4.19 -5.76 -1.57
MAR.10.30.Rf642e49e80267634 -4.23 -5.8 -1.57
EGY.2 -4.22 -5.77 -1.55
DZA.17.R07324a6d1a204546 -4.38 -5.93 -1.54

Correlation: 0.9932 | RMSE: 0.293908 | Sign agreement: 97.2%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 4.51°C
Region Raw Flex Residual
AIA 0 0 0
BLM 0 0 0
BMU.R676c07148ce9acd1 0 0 0
CCK 0 0 0
CXR 0 0 0
DZA.17.R07324a6d1a204546 -4.49 -5.97 -1.49
DZA.25.R082c81b504df4c40 -4.47 -5.95 -1.48
DZA.25.705 -4.47 -5.95 -1.48
DZA.31.938 -4.47 -5.95 -1.48
ZAF.7.248 -4.38 -5.85 -1.47
Note · countries with no soy data (shown white on every map above; the GCP soy 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.984 0.153843 94.8%
rcp45 SSP2 low 24,326 0.984 0.166825 94.9%
rcp45 SSP3 high 24,326 0.9862 0.159039 95.5%
rcp45 SSP3 low 24,326 0.984 0.161433 96.0%
rcp45 SSP4 high 24,326 0.9839 0.16824 95.4%
rcp45 SSP4 low 24,326 0.9832 0.166208 95.6%
rcp85 SSP2 high 24,326 0.9937 0.294368 97.7%
rcp85 SSP2 low 24,326 0.9943 0.282337 97.8%
rcp85 SSP3 high 24,326 0.9924 0.302291 97.1%
rcp85 SSP3 low 24,326 0.9923 0.328225 97.0%
rcp85 SSP4 high 24,326 0.9935 0.302659 97.6%
rcp85 SSP4 low 24,326 0.9932 0.293908 97.2%

11 Data Reference

11.1 File Locations

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