Flexible Damage Functions

Author

James Rising, Sebastian Cadavid Sanchez, Climate Impact Lab

Published

September 14, 2026

0.1 Agriculture: Wheat Winter Country Collapsed

Flexible damage function parameters at the Country level.

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

Outcome units: log_yield_change. Log change in winter wheat 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.1339
Standard error 9.89e-03
95% CI [-0.1532, -0.1145]
R-squared 0.9207
Observations 93,343
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.133851, 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.2955 -0.3175 0.5119 -1.811 0.9932 138
beta -0.05391 -0.04439 0.05763 -0.2671 0 138
rho 0.475 0.4764 0.2752 -0.5671 0.9261 138
zeta 0.1259 0.11 0.07328 0.03358 0.4077 138
eta 0.1917 0.1659 0.109 0.06253 0.7165 138
rsqr1 0.6611 0.7045 0.2425 0.07531 0.9735 138
rsqr2 0.6138 0.6127 0.07042 0.4509 0.8101 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) 47 34.1%
T > 20°C (beyond graph) 0 0.0%
T < 0°C (negative crossing) 56 40.6%
Valid crossings (0-20°C) 35 25.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.4509 0.5668 0.6127 0.6533 0.8101

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.9856
Sum(η²) 6.6997
Sum(D²) at T=3.0°C 464.3386
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²
AUT -0.401 -0.0722 0.0686 0.973
DEU -0.335 -0.0751 0.0625 0.972
CHE -0.827 -0.0672 0.137 0.966
BDI 0.143 -0.0495 0.207 0.0753
ZWE 0.371 -0.107 0.294 0.0976
KAZ 0.125 -0.0556 0.158 0.165
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: 2,024 rows

Correlation: 0.6652 | RMSE: 0.136967 | 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
SVN -0.339 -0.339 1.41e-4
BOL -0.154 -0.156 -0.00193
SLV -0.102 -0.0997 0.00233
UZB -0.0143 -0.0187 -0.00442
ARG -0.206 -0.201 0.00465
THA -0.271 -0.692 -0.421
MDG -0.124 0.258 0.383
NCL -0.133 -0.507 -0.374
LSO -0.217 0.127 0.344
TKM 0.0023 -0.335 -0.337

Correlation: 0.6779 | RMSE: 0.142811 | 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
NIC -0.0862 -0.0853 8.74e-4
HRV -0.346 -0.344 0.00179
UGA -0.139 -0.137 0.00252
ROU -0.21 -0.208 0.00275
CA- -0.00293 -0.00714 -0.00422
THA -0.258 -0.741 -0.483
NCL -0.123 -0.507 -0.384
MDG -0.0391 0.312 0.351
TKM 0.00902 -0.341 -0.35
MYS 0.0816 -0.238 -0.32

Correlation: 0.6841 | RMSE: 0.139984 | Sign agreement: 86.2%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 1.94°C
Region Raw Flex Residual
URY -0.31 -0.307 0.00289
LAO -0.063 -0.0585 0.00452
TZA -0.0189 -0.0142 0.00462
CA- -0.00161 -0.00718 -0.00558
LTU -0.0829 -0.0762 0.00667
THA -0.287 -0.704 -0.417
MDG -0.0357 0.328 0.363
SOM -0.186 0.137 0.323
TKM -0.0141 -0.331 -0.317
NCL -0.173 -0.486 -0.313

Correlation: 0.6435 | RMSE: 0.167016 | Sign agreement: 84.1%

Top 5 best predicted   Top 5 worst predicted
Year 2098 · Tmean across these regions: 1.94°C
Region Raw Flex Residual
MWI -0.00846 -0.00889 -4.30e-4
EST -0.0692 -0.0678 0.00139
UZB -0.0203 -0.0188 0.00145
BDI 0.0276 0.0319 0.0043
LVA -0.0351 -0.0272 0.00789
THA -0.208 -0.814 -0.605
TKM 0.0231 -0.356 -0.379
MEX -0.191 -0.566 -0.376
OMN -0.212 -0.586 -0.374
MDG -0.0199 0.346 0.366

Correlation: 0.8060 | RMSE: 0.210552 | 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
PRY -0.387 -0.387 5.51e-4
BLZ -0.0693 -0.0681 0.00113
HUN -0.521 -0.523 -0.002
MDA -0.473 -0.466 0.00622
FIN -0.198 -0.191 0.00645
THA -0.601 -1.49 -0.893
ARE -0.928 -1.55 -0.621
NCL -0.521 -1.09 -0.573
ECU -0.669 -1.17 -0.499
TKM -0.224 -0.723 -0.499

Correlation: 0.8231 | RMSE: 0.229328 | 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
LVA -0.186 -0.188 -0.00192
BLZ -0.0636 -0.07 -0.00639
FIN -0.2 -0.193 0.00705
GTM -0.195 -0.203 -0.00732
ZWE -0.102 -0.0944 0.00751
THA -0.575 -1.6 -1.03
ECU -0.65 -1.27 -0.617
ARE -0.937 -1.55 -0.612
NCL -0.523 -1.09 -0.571
MEX -0.639 -1.14 -0.5

Correlation: 0.8090 | RMSE: 0.223591 | 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
FRA -0.646 -0.645 3.13e-4
BEL -0.701 -0.702 -0.0012
SVN -0.726 -0.732 -0.00595
ITA -0.538 -0.547 -0.0095
GUY 0.0974 0.0846 -0.0128
THA -0.61 -1.52 -0.91
ARE -0.952 -1.53 -0.578
MMR -0.235 -0.807 -0.572
ECU -0.676 -1.19 -0.512
NCL -0.59 -1.05 -0.46

Correlation: 0.7486 | RMSE: 0.320678 | 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
FIN -0.197 -0.192 0.00418
DZA -0.33 -0.325 0.00497
KGZ -0.0283 -0.0228 0.00553
NOR -0.00948 -0.00168 0.00781
RWA -0.219 -0.211 0.00814
THA -0.461 -1.76 -1.3
ECU -0.618 -1.39 -0.776
OMN -0.524 -1.26 -0.74
ARE -0.805 -1.53 -0.726
MEX -0.511 -1.22 -0.712
Note · countries with no wheat winter data (shown white on every map above; the GCP wheat winter 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.6652 0.136967 87.0%
rcp45 SSP2 low 138 0.6779 0.142811 87.7%
rcp45 SSP4 high 138 0.6841 0.139984 86.2%
rcp45 SSP4 low 138 0.6435 0.167016 84.1%
rcp85 SSP2 high 138 0.806 0.210552 94.9%
rcp85 SSP2 low 138 0.8231 0.229328 95.7%
rcp85 SSP4 high 138 0.809 0.223591 94.2%
rcp85 SSP4 low 138 0.7486 0.320678 93.5%

11 Data Reference

11.1 File Locations

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