1. Introduction
Agricultural production is often exposed simultaneously to chronic climatic conditions and acute weather extremes [
1]. High temperatures can reduce yields nonlinearly once crop-specific thresholds are exceeded, while water deficits, atmospheric demand, and excess precipitation can impair crop growth through distinct physiological and field-management pathways [
2,
3,
4,
5]. At broader scales, anthropogenic climate change has generally slowed agricultural productivity growth, increasing concern about how changing hazards will alter production risk and the institutions designed to manage it [
6,
7].
The U.S. Federal Crop Insurance Program is a central component of agricultural risk management [
8]. Because indemnity records identify commodities, locations, timing, and reported causes of loss, insurance data also provide an extensive archive for examining weather-related agricultural damages [
9,
10]. Previous work has linked warming to increased yield risk and program costs and has shown that insurance incentives may influence adaptation to extreme heat [
9,
11,
12,
13,
14]. Cause-of-loss records further show that drought and excess moisture are among the most consequential weather-related categories in the program [
10,
15]. Corn, soybeans, and wheat are major U.S. field crops with documented sensitivities to high temperature and water-related stress [
2,
3,
4,
5], providing a useful basis for evaluating whether relationships between climate and claim severity exhibit consistent spatial structure across cropping systems. These studies establish that climate matters for insured agricultural losses, but most empirical analyses estimate average relationships over large geographic domains or impose a common functional form across locations.
A spatially uniform relationship is unlikely to describe the full U.S. agricultural system. Crop calendars, cultivars, soils, irrigation, management, hazard climatology, and insurance participation vary geographically: a climate variable that is informative for claim severity in one production region may add little information elsewhere, and the locally important predictors of drought claims may differ from those associated with excess-moisture claims. National average coefficients or global machine-learning importance scores can obscure this fine-grained nonstationarity.
Geographically weighted methods address spatial nonstationarity by estimating models within locally defined subsets of the data [
16]. Geographically weighted regression allows relationships between predictors and an outcome to vary across space, but it generally requires a prespecified functional form and may be difficult to interpret when relationships are nonlinear or strongly interactive [
17]. Random forests provide a complementary approach by representing nonlinear relationships and interactions through ensembles of regression trees without requiring a predetermined response surface [
18]. Geographically weighted random forests combine spatial localization with the flexibility of random forests by fitting separate ensembles within neighborhoods surrounding focal locations [
19]. The resulting local models can be used to map geographic variation in predictor importance and model behavior. Although this approach does not provide conventional hypothesis tests or causal estimates, it is well suited to a national county panel in which the climate variables associated with agricultural insurance claim severity are expected to vary geographically. Recent applications of geographically weighted random forests have similarly used local models to characterize spatial heterogeneity in predictor importance, including large-area population-health analyses [
20]; the present study extends this framework to agricultural insurance data and climate claim severity relationships.
This study asks: (1) where is the combined local usefulness of climate predictors greatest for explaining positive agricultural insurance claim severity; (2) which climate predictor is locally dominant; and, (3) how do these patterns differ among corn, soybeans, and wheat and between drought and excess-moisture damage causes? To address these questions, we analyze county–month observations from 1994–2022 using six county-centered geographically weighted random forest models, emphasizing spatial heterogeneity in conditional claim severity by evaluating the size of positive payments per claim among county–months in which at least one positive insurance payment occurred. This approach does not estimate claim probability, total expected loss, or exposure-normalized insurance risk.
2. Materials and Methods
2.1. Study Design and Analytical Units
The study area was the conterminous United States, with insurance observations organized as a county–month–year panel for 1994–2022. Separate models were fitted for each of the six combinations formed by crossing three commodities (corn, soybeans, and wheat) with two damage causes (drought and excess moisture/precipitation/rain). Insurance records were derived from publicly available U.S. Department of Agriculture Risk Management Agency (RMA) cause-of-loss and Summary of Business resources [
21,
22]. Insurance payments were adjusted for inflation using the monthly U.S. city average Consumer Price Index for All Urban Consumers (CPI-U), not seasonally adjusted, and expressed in constant 2022 dollars.
The analysis was limited to county–months with at least one positive insurance payment for the specified commodity and damage cause. Observations with non-positive losses per claim were excluded because the analysis was designed to model the severity of positive insurance payments. The results therefore characterize spatial variation in conditional claim severity only for county–months in which a positive payment occurred and do not estimate claim occurrence, unconditional expected loss, or exposure-normalized agricultural insurance risk. The number of counties included in each model varies because commodity production, reported damage causes, and positive insurance payments are not distributed uniformly across the United States. The overall analytical workflow, from insurance and climate data preparation through county-centered geographically weighted random forest modeling, is summarized in
Figure 1.
2.2. Claim-Severity Outcome and Inflation Adjustment
The primary response was positive real insurance loss per claim, expressed in constant 2022 U.S. dollars. Nominal losses were adjusted using the monthly Consumer Price Index for All Urban Consumers, U.S. city average, all items, not seasonally adjusted (Bureau of Labor Statistics series
CUUR0000SA0) [
23]. The modeled response was
where
c,
m, and
t index county, month, and year. The logarithmic transformation reduced the leverage of the strongly right-skewed loss distribution while retaining small positive values. In the
Supplemental Materials and associated datasets, this transformed response is denoted as
log_real_loss_per_claim; this variable is exactly the
transformation defined above.
Dividing loss by claim count adjusts the outcome for the number of claims represented in a county–month, but does not normalize by insured acreage, liability, premium, policy count, coverage level, or other measures of insurance exposure. The outcome therefore represents payment severity per claim, not a loss rate or total agricultural vulnerability. All references to claim severity in this study refer to conditional positive payment severity among county–months in which at least one indemnity was recorded, rather than unconditional agricultural loss or exposure-normalized insurance risk.
2.3. Climate Predictors and Temporal Controls
Each model included six monthly climate predictors: precipitation (
ppt), maximum temperature (
tmax), minimum temperature (
tmin), vapor-pressure deficit (
vpd), actual evapotranspiration (
aet), and soil moisture (
soil). The soil variable represents monthly soil-moisture conditions from TerraClimate and should not be interpreted as a soil taxonomic class. Because the study spans the conterminous United States and multiple crop-production regions, categorical soil properties were not included as predictors in the present analysis. Together, these variables represent water supply, thermal conditions, atmospheric moisture demand, realized land-surface water use, and soil-water availability. Monthly climate and climatic water-balance data were obtained from TerraClimate through the University of Idaho’s Northwest Knowledge Network THREDDS data service [
24]. The gridded data were spatially subset to the conterminous United States and aggregated to county polygons using coverage-fraction-weighted means across raster cells intersecting each county. This procedure produced one observation for each county, year, month, and climate variable.
The RMA temporal field used in the analysis is month of loss, which identifies the month in which the insured loss occurred, rather than the month in which a claim was filed or an indemnity was paid [
21]. County-month climate values for 1994–2022 were joined to the insurance records by county FIPS code, year of loss, and month of loss. Monthly climate variables were used to align environmental conditions directly with the reported month of loss and to provide a consistent temporal specification across commodities, damage causes, and production regions. We did not impose lagged, cumulative, or growing-season windows because the relevant antecedent period may differ by commodity, crop phenology, production region, and damage mechanism. The resulting models should therefore be interpreted as evaluating associations between climate conditions during the reported loss month and conditional claim severity; potential effects of antecedent or cumulative climate conditions are not represented explicitly.
Because calendar year had high permutation importance in the primary models, robustness was evaluated by refitting all six final GWRF models without the year term, while retaining the six climate predictors and the seasonal sine and cosine controls. All other model settings were held constant. The resulting climate importance surfaces and model-wide predictor rankings were compared with the primary year-controlled models (see
Supplementary Materials, Tables S34–S36).
Temporal stability was also evaluated by refitting the six final GWRF models separately for 1994–2008 and 2009–2022 using the same 500-tree,
specification, including the year and seasonal controls. County-level total positive climate importance, dominant-predictor agreement, and model-wide predictor rankings were compared for counties represented in both periods. Comparisons were repeated after restricting to counties with at least 50 and 100 local observations in both periods (
Supplementary Materials, Tables S46–S48 and Figure S67).
To account for recurring seasonal structure, calendar month was represented using sine and cosine terms:
where
m denotes calendar month. Calendar year was included as a continuous temporal control to absorb broad long-term changes in program structure, technology, management, reporting, and climate that were not otherwise represented by the monthly predictors.
2.4. County-Centered Geographically Weighted Random Forest
Random forests estimate an ensemble of regression trees from resampled data and randomly selected predictor subsets, allowing flexible representation of nonlinear and interacting relationships [
18]. Similar geographically localized random-forest approaches have been used to evaluate spatial heterogeneity in predictive relationships across large geographic domains [
20]. In the county-centered geographically weighted random forest design, one local random forest was centered on every eligible focal county. The focal county was represented by a reproducible anchor row used only to supply coordinates. The full monthly panel for the focal county and neighboring counties remained available to fit the local model.
Neighborhoods were defined using a location-based adaptive bandwidth. For each focal county, the primary model selected the 10 nearest unique eligible county locations, including the focal county. The bandwidth therefore refers to counties rather than panel rows. An adaptive bandwidth of unique county locations was selected to preserve strong geographic localization while retaining sufficient observations for local model fitting. A broader specification was evaluated as a sensitivity analysis to assess the effect of increased spatial smoothing. This design avoided zero-distance and duplicated-location problems that arise when repeated monthly observations are treated as independent spatial locations. Within each adaptive neighborhood, observations were weighted by distance from the focal county using a bi-square spatial kernel. These weights were supplied to the local ranger model as case weights, so observations from counties nearer the focal county contributed more strongly to fitting the local forest. Because spatial distance was defined at the county-location level, all monthly observations from the same county received the same spatial weight within a given focal model.
For observation
i relative to focal county
c, the spatial weight was
where
is the distance between the county associated with observation
i and focal county
c, and
is the adaptive local bandwidth. The kernel assigned its greatest weight to observations from the focal county and decreased to zero at the local bandwidth.
Because each selected county contributed all eligible monthly observations, local training sample sizes varied with historical support in the focal neighborhood. To identify local fits with limited training support, we used 50 local observations as a pragmatic low-support threshold. The primary analysis retained all eligible focal counties, but counties with fewer than 50 local observations were explicitly flagged (see
Supplementary Materials, Tables S5–S9). Sensitivity was evaluated by recalculating aggregate climate importance summaries and predictor rankings after restricting results to counties with at least 50 and at least 100 local observations. These thresholds were used as diagnostics of result stability rather than as criteria for refitting the primary GWRF models.
The final county-centered random forests used 500 trees,
mtry = 3, and a minimum node size of 5. Variable importance was calculated using permutation importance, and the bi-square spatial kernel weights described above were supplied to
ranger as case weights. The final model specification was:
Tree-count stability was evaluated by comparing results from 50, 250, and 500-tree ensembles. Comparisons included county-level total positive climate importance, climate-predictor rankings, and dominant-predictor agreement, including stratification by local training support. The 500-tree ensemble was retained as the final production specification (see
Supplementary Materials, Tables S28 and S29). The principal output was county-specific permutation importance from each county-centered local random forest. Importance was calculated using the unscaled permutation measure implemented in
ranger [
25]. For each predictor, values were permuted among out-of-bag observations, and importance was quantified as the average increase in out-of-bag squared prediction error relative to the unpermuted predictions. Larger positive values indicate greater predictive reliance on a variable within the fitted local model, while values near zero indicate little contribution to out-of-bag predictive performance. Negative values can occur when permutation does not degrade, or slightly improves, predictive performance, and should not be interpreted as evidence of a protective effect. Permutation importance measures predictive reliance rather than effect direction; it thus does not indicate whether higher predictor values increase or decrease claim severity and should not be interpreted causally.
A second run using an adaptive bandwidth of 25 unique county locations was generated as a sensitivity analysis. While the run is the primary analysis because it preserves greater geographic localization, the results were used to compare with the primary models using county-level correlations in total positive climate importance, dominant predictor agreement, model-wide predictor-rank correlations, and adjacent-county roughness.
2.5. Climate Importance Metrics and Map Construction
One direct county-level model output and two derived county-level summaries were used. The direct output was the signed permutation importance, , for climate predictor j at focal county c. Variable-specific maps display these values, including positive, near-zero, and negative importance values.
The first derived summary was total positive climate importance for focal county
c:
where
contains the six climate predictors. This index summarizes their combined positive importance without allowing negative values to offset positive values.
The second derived summary was the dominant local climate predictor,
provided that at least one climate predictor had positive importance. Counties with no positive climate importance were assigned a separate category. Dominance identifies the predictor with the largest positive importance within a county; it does not imply that its importance differs significantly from that of the second ranked predictor. To assess uncertainty in dominant-predictor classification, we calculated the relative importance margin between the two highest-ranked positive climate predictors and mapped locations with small rank margins (
Supplementary Materials, Tables S44 and S45 and Figures S65 and S66). Model-wide means and medians were calculated across eligible focal counties. Because importance scales depend on the fitted response and local data structure, comparisons of raw importance magnitudes across separately fitted models are purely descriptive. Within-model rankings and mapped spatial variation therefore provide the primary evidence. Predictor correlation was evaluated within the final local GWRF neighborhoods, and a grouped held-out permutation analysis was used to assess the robustness of broader climate-process signals to correlated predictors (see
Supplementary Materials, Tables S39–S43 and Figures S63 and S64).
Panel construction, spatial processing, GWRF estimation, summary statistics, and figure production were implemented in R 4.5.2. Local random forests were fitted using version 0.1.1 of the
gwrf package [
26], which was developed by the author to support geographically weighted random forests with adaptive neighborhoods defined by unique spatial locations, and is publicly available through the Comprehensive R Archive Network (CRAN). The package uses
ranger (version
0.18.1) as the random forest engine [
25]. This implementation allowed repeated county-month observations to be included without treating repeated rows from the same county as distinct neighboring locations. Core data management, spatial processing, and visualization packages included
arrow,
dplyr,
sf,
terra, and
ggplot2. Analysis code, package-version information, and supporting metadata are provided in the Data Availability Statement.
2.6. Model Performance and Validation
Predictive performance was evaluated using 10-fold cross-validation grouped by county. All monthly observations from a held-out county were excluded from model training, preventing repeated observations from the same spatial location from appearing in both the training and test sets. The same county-fold assignments were used to compare the geographically weighted random forest with an otherwise equivalent global random forest. Both approaches used the same response and predictors and were fitted with 500 trees, mtry = 3, and a minimum node size of 5. For GWRF, predictions for each held-out county were generated from a spatially weighted local model based on the 10 nearest eligible training counties using the same bi-square kernel as the primary analysis. Predictive performance was summarized using root mean squared error (RMSE), mean absolute error (MAE), and out-of-sample .
Local out-of-bag (OOB) performance was also obtained from each final 500-tree county-centered forest, with local OOB RMSE and
characterizing predictive performance within the fitted local neighborhood. Because monthly observations from the same neighboring counties remain within these local training datasets, OOB diagnostics were interpreted as measures of internal local-model fit rather than as substitutes for the county-grouped cross-validation. Complete validation results are provided in the
Supplementary Materials (Tables S30–S33 and Figure S62).
3. Results
3.1. Panel Coverage and Local Training Support
The six models included 74,527–129,966 eligible county–month–year observations accumulated over the full 1994–2022 study period, representing 1722–1934 unique focal counties (
Table 1). Each observation corresponded to one county in one month and year for a specified commodity and damage cause, conditional on a positive insurance payment. Corn and soybean observations were concentrated across the central and eastern United States, whereas wheat had a broader western and northern footprint. Mean local training support, defined as the number of eligible panel observations available to an individual county-centered forest from its adaptive county neighborhood, ranged from 426.4 to 759.1 observations across all models. Although average local support was substantially larger, some peripheral focal counties (particularly in the wheat–drought model) had limited training data, with the minimum local neighborhood containing 14 panel observations. These differences reflect commodity production geography and the frequency of eligible positive-payment observations.
Low-support model fits were uncommon in five of the six models, with under 2% of focal counties falling below the 50-observation threshold in the corn and soybean models and in the wheat excess-moisture model. Wheat drought was the exception, with 15.6% of focal counties below the 50-observation threshold. Additionally, sensitivity analyses using minimum-support thresholds of 50 and 100 observations showed that the model-wide highest-ranked climate predictor was unchanged at the 50-observation threshold in five of six models. In wheat drought, minimum temperature replaced maximum temperature as the highest-ranked mean predictor. The full support distributions and threshold-sensitivity results are provided in the
Supplementary Materials (Tables S5–S9).
Figure 2 summarizes the analytical workflow. For each focal county, the adaptive neighborhood was defined using unique county locations, while all eligible monthly observations from the selected counties were retained for local model fitting. The focal anchor observation supplied the coordinates used to center the local model and was not interpreted as a county-average prediction or residual.
Tree-count sensitivity indicated strong stability of the principal climate importance patterns. Comparing the original 50-tree results with the final 500-tree models, county-level total positive climate importance remained highly correlated across all six models (Pearson
0.970–0.988; Spearman
0.961–0.988), and the model-wide highest-ranked climate predictor was unchanged in all six models. Convergence was stronger between 250 and 500 trees, with median Pearson correlations of 0.974–0.994 across local-support classes and dominant-predictor agreement of 81.1–88.3%. These results supported the use of 500 trees for the final analysis (
Supplementary Materials, Tables S28 and S29).
3.2. Model-Wide Climate Importance Rankings
Permutation importance values represent unscaled increases in out-of-bag squared prediction error and are therefore not restricted to values between zero and one; larger positive values indicate greater predictive reliance within a fitted model. When averaged across focal counties, maximum temperature had the highest mean permutation importance in five of the six models (
Table 2). Its prominence was greatest in the corn and soybean drought models, with mean importance values of 0.767 and 0.788, respectively. In these two models, vapor pressure deficit ranked second (0.711 for corn and 0.617 for soybeans), followed by minimum temperature. The only exception to the overall maximum-temperature ranking was soybean excess moisture, with actual evapotranspiration ranked first (0.517), followed by maximum and minimum temperature. Corn excess moisture likewise showed relatively little separation among maximum temperature, actual evapotranspiration, and minimum temperature. The wheat models had lower mean climate importance values overall and less differentiation among the leading thermal and atmospheric-demand predictors. Strong local correlations were evident among maximum temperature, minimum temperature, and vapor pressure deficit, while grouped held-out permutation analyses showed consistent predictive contributions from broader thermal-demand and moisture/water-balance predictor groups across the six models (
Supplementary Materials, Tables S39–S43).
Year had the highest mean permutation importance among the temporal controls in all six models. Mean year importance ranged from 0.777 for wheat excess moisture to 2.282 for soybean excess moisture, with particularly high values in the corn- and soybean-excess-moisture models. This pattern indicates that broad temporal structure contributed substantially to local prediction. Because the year term may capture a mixture of technological change, policy and reporting shifts, changes in exposure and coverage, and long-term climatic variation, it was treated as a control variable rather than as a climate predictor.
A sensitivity analysis removing the calendar-year control showed that the principal spatial climate importance patterns were retained. County-level total positive climate importance remained strongly correlated with the primary models across all six commodity–damage-cause combinations (Pearson
0.918–0.958), and model-wide climate-predictor rankings remained similar (
0.829–1.000). Removing year increased the magnitude of climate importance but changed the highest-ranked climate predictor in only two of six models (see
Supplementary Materials, Tables S34–S36).
3.3. Total Positive Climate Importance
Total positive climate importance (the sum of positive local permutation-importance values across the six climate predictors) varied substantially among counties in every model (
Figure 3). In the corn and soybean models, counties with the highest values of this measure were concentrated primarily across the central and northern Great Plains and the western Corn Belt, especially in parts of the Dakotas, Nebraska, Kansas, Iowa, and Minnesota. This pattern was most spatially continuous in the corn-drought and soybean-drought models. The corresponding excess-moisture models retained a central Great Plains and Midwest concentration but displayed more localized hotspots and less continuous expansion into eastern and southern portions of their model regions.
Wheat displayed a different geographic pattern. In the drought model, elevated total positive climate importance extended farther west through portions of the northern Plains, southern High Plains, and interior West, while values were generally lower across many central-eastern counties. The wheat excess-moisture model showed elevated values across parts of the northern tier and central-to-southern Plains, together with scattered hotspots elsewhere. Collectively, the six maps demonstrate that total positive climate importance varied spatially rather than forming a geographically uniform pattern.
3.4. Dominant Local Climate Predictors
The identity of the climate predictor with the greatest positive local permutation importance varied across space, although several coherent regional patterns were evident (
Figure 4). Maximum temperature was the dominant predictor across broad portions of the corn- and soybean-drought domains, particularly from the central Great Plains through much of the Midwest. Vapor pressure deficit and other climate variables were dominant along portions of the western and northern margins of these domains and in smaller local clusters. In the corn and soybean-excess-moisture models, actual evapotranspiration was dominant across a broad Midwestern corridor extending approximately from Nebraska through Iowa, Illinois, Indiana, and Ohio. Outside this corridor, the excess-moisture maps showed greater local variation among maximum temperature, minimum temperature, precipitation, soil moisture, vapor pressure deficit, and actual evapotranspiration.
The wheat drought model displayed a different and more fragmented geographic pattern. Vapor pressure deficit was dominant across much of the northern portion of the wheat domain, particularly through parts of the northern Great Plains, whereas minimum temperature was prominent in the southern High Plains, including the Texas Panhandle and adjacent areas. Elsewhere, the dominant predictor changed frequently among neighboring counties, and some counties had no positive permutation importance for any of the six climate predictors. The wheat excess-moisture model was the most geographically heterogeneous, with frequent local changes in the highest-ranked predictor and no single climate variable dominating across a broad region.
These categorical maps represent the predictor with the highest positive permutation importance within each county. They should therefore be interpreted as local rankings rather than evidence that the mapped predictor controlled claim severity or was the sole driver of losses. Where two or more predictors had similar importance values, relatively small differences could determine the mapped category. 27.5–45.2% of counties had a relative importance margin of 10% or less between the two highest-ranked predictors across the six models (
Supplementary Materials, Tables S44 and S45 and Figures S65 and S66).
3.5. Spatial Variation in Maximum Temperature Importance
Because maximum temperature had the highest mean permutation importance in five of the six models, its county-level importance was examined in greater detail as a representative variable-specific result, with
Figure 5 illustrating why model-wide rankings alone are incomplete. In the corn and soybean-drought models, maximum temperature showed broadly positive importance across the Great Plains, Midwest, and parts of the eastern production domains, with localized areas of particularly high importance embedded within these regions. The corresponding excess-moisture models also showed positive maximum-temperature importance across much of the central agricultural region, but the spatial pattern was weaker and more variable, with scattered near-zero and negative values.
In the wheat drought model, positive maximum-temperature importance extended across portions of the northern Plains, southern High Plains, and interior West. The wheat excess-moisture model showed a weaker and more discontinuous spatial pattern, although localized areas of elevated importance remained. Positive values indicate that permuting maximum-temperature values increased out-of-bag prediction error and therefore reduced local predictive performance. They do not demonstrate that higher temperatures caused larger insurance payments. Determining effect direction and response shape would require a separate model-interpretation analysis beyond the scope of this study.
3.6. Bandwidth Sensitivity
The broader adaptive neighborhood of
unique county locations produced results that were generally consistent with the primary
analysis, although the exact identity of the dominant local predictor was more sensitive to bandwidth choice (
Table 3). Across the six models representing combinations of commodity and damage cause, Pearson correlations in county-level total positive climate importance between the two bandwidths ranged from 0.813 to 0.902, and Spearman rank correlations ranged from 0.771 to 0.904. Model-wide correlations in the rankings of the six climate predictors ranged from 0.943 to 1.000, and the top-ranked predictor was unchanged in five of the six models.
The only change in the top-ranked model-wide predictor occurred in the wheat drought model, for which maximum and minimum temperature were nearly indistinguishable under the primary bandwidth. Maximum temperature ranked first under , with a mean permutation importance of 0.371, compared with 0.369 for minimum temperature. Under , minimum temperature ranked slightly above maximum temperature. This change therefore reflected a near-tie rather than a substantial reordering of predictor importance.
County-level agreement in the dominant climate predictor ranged from 39.6% to 65.6%, indicating that the precise categorical assignment of the highest-ranked predictor was more bandwidth sensitive than total climate importance or model-wide predictor rankings. The broader neighborhoods substantially increased local training support and reduced standardized adjacent-county roughness by 5.5% to 19.3% across the six models. Thus, the broader bandwidth produced smoother importance surfaces and altered some local predictor classifications, but it did not materially change the broader conclusions concerning geographic variation in climate importance and model-wide predictor rankings.
3.7. Temporal Sub-Period Sensitivity
Refitting the six final GWRF models separately for 1994–2008 and 2009–2022 showed that broad climate-importance structure persisted across periods, although local patterns were not temporally fixed (
Figure 6). Among counties represented in both periods, county-level total positive climate importance showed moderate to strong correspondence, with Pearson correlations of 0.508–0.741 and Spearman correlations of 0.499–0.745 across the six models. Model-wide climate-predictor rankings were more stable, with Spearman correlations of 0.829–0.943, and the highest-ranked predictor was unchanged in four of six models. Agreement in the locally dominant predictor was lower, ranging from 20.6% to 34.6%, consistent with the near-tie sensitivity documented above. The same broad pattern remained after restricting comparisons to counties with at least 50 or 100 local observations in both periods (
Supplementary Materials, Tables S46–S48 and Figure S67).
3.8. Model Performance and Validation
County-grouped cross-validation included 624,570 held-out county–month observations across the six models. GWRF produced lower pooled RMSE and MAE and higher out-of-sample
than the corresponding global random forest in all six commodity and damage cause combinations. Across the 60 model-by-fold comparisons, GWRF had lower RMSE in 55 folds and lower MAE in 58 folds, indicating that spatial localization generally improved predictive performance when complete county histories were held out. County-level performance was more heterogeneous, however, showing that localization did not improve prediction uniformly at every location (
Supplementary Materials, Tables S30 and S31). Local OOB diagnostics provided complementary measures of performance within the fitted neighborhoods. Median local OOB
ranged from 0.138 to 0.388 across models, with positive local OOB
in 74.0–95.9% of focal counties. Lower OOB performance was most evident in the wheat models and in neighborhoods with limited local training support. Because neighboring county observations remain within these training datasets, the county-grouped cross-validation provides the more stringent assessment of out-of-sample performance (
Supplementary Materials, Tables S32 and S33 and Figure S62).
4. Discussion
4.1. Climate-Claim Relationships Are Spatially Nonstationary
A single nationwide climate–claim severity relationship does not adequately characterize the spatial structure observed in agricultural insurance data. Within the same commodity and reported damage cause, counties differed in both the magnitude of positive climate importance and in which climate predictor ranked highest locally. These results indicate that national or model-wide summaries can mask substantial geographic heterogeneity in the climate signals associated with positive claim severity.
The bandwidth sensitivity analysis supports this interpretation (
Table 3). County-level total positive climate importance remained strongly correlated between the
and
models, and model-wide predictor rankings were nearly unchanged. In contrast, agreement in the identity of the dominant local predictor was lower, and the broader
neighborhoods produced smoother spatial surfaces. Broad geographic patterns were therefore more robust than the precise county-level classification of the highest-ranked predictor. The dominant-predictor maps should be interpreted as spatially varying local rankings rather than as fixed boundaries between mechanistically distinct regions.
This result is consistent with the rationale for geographically weighted modeling. Observations assigned the same national outcome category may arise from different local combinations of hazard exposure, cropping systems, soils, water availability, management, and insurance structure. Geographical random forests make this heterogeneity explicit by fitting a separate nonlinear ensemble around each focal location [
19]. In this study, the method does not simply identify where insurance payments were large. It identifies where climate variables contributed more or less to locally predicting the severity of positive payments that had already occurred.
4.2. Drought Claims Emphasize Heat and Atmospheric Demand
Maximum temperature and vapor pressure deficit were the two highest mean-ranked climate variables in both corn and soybean drought models. Their maps also showed broad areas of positive importance across the central production belt. This pattern is physically plausible because high temperature and atmospheric moisture demand can intensify crop water stress and amplify the effects of precipitation deficits [
27,
28,
29,
30]. Previous yield and insurance studies have documented nonlinear heat damages, increased yield risk under warming, and potential insurance-related disincentives to adaptation to extreme heat [
2,
11,
13]. The GWRF results extend that literature by showing that predictive usefulness varies considerably within the national crop domain.
The analysis does not determine whether temperature or vapor pressure deficit is the proximate cause of higher payment severity, nor can correlated climate predictors be interpreted independently. Maximum temperature, minimum temperature, vapor pressure deficit, evapotranspiration, and soil moisture are physically linked. Permutation may distribute predictive credit among correlated variables differently across local forests [
31,
32]. The appropriate inference is that positive drought-claim severity contains a strong and geographically variable hydrothermal signal, not that any single climate variable has an isolated causal effect.
4.3. Excess Moisture Claims Reflect Multiple Hydroclimatic Pathways
The excess-moisture models produced more heterogeneous dominant-predictor mosaics than the corn and soybean drought models. Actual evapotranspiration ranked first for soybean excess moisture and nearly tied with maximum temperature for corn excess moisture. Precipitation itself was not the highest mean-ranked variable in either model. This does not imply that precipitation was unimportant to claims attributed to excess moisture. Monthly precipitation totals may incompletely represent saturation, drainage, antecedent soil conditions, evapotranspirative demand, field access, crop stage, and submonthly precipitation intensity. Excess precipitation can damage crops through delayed planting, waterlogging, erosion, disease, and reduced field operations [
3,
33,
34,
35].
The local importance of actual evapotranspiration, soil moisture, and temperature may reflect the broader water balance and crop-development context in which precipitation occurs rather than independent causal effects. Future directional analyses should examine interactions and conditional response shapes rather than interpreting importance maps as additive effects. Event-scale precipitation intensity and antecedent wetness metrics may improve the representation of excess moisture processes.
4.4. Wheat Differs from Corn and Soybeans
Wheat models had lower mean climate importance values and a different geographic footprint. Wheat production spans winter and spring systems, dryland and irrigated regions, and a wider range of western and northern climates than the primary corn and soybean domains. These differences likely contribute to the more fragmented dominant-predictor maps and counties with no positive climate importance in the wheat drought model.
Lower mean importance does not imply that wheat claim severity is insensitive to climate. It indicates that, given the monthly predictors, temporal controls, local sample sizes, and response definition, permuting individual climate variables caused a smaller average degradation in local predictive performance. Lower support in some wheat neighborhoods and greater production-system heterogeneity may also reduce stability. The local-support maps retained in the supplement are therefore important when interpreting geographically isolated patterns.
4.5. Long-Term Temporal Structure
The models retained substantial long-term temporal structure beyond that represented by the monthly climate predictors and seasonal controls. The continuous calendar-year covariate had the highest mean permutation importance of all predictors in every model, particularly in the corn- and soybean-excess-moisture models. However, calendar year is not a mechanistic driver: it may be absorbing changes in commodity prices and insurance coverage, technology, yields and management, program and reporting practices, the geographic composition of insured production, and long-term climate. Insurance subsidies may also influence crop choices and therefore the composition and geographic distribution of insured production [
36].
Including calendar year reduces the likelihood that the climate predictors serve as proxies for all long-term change, but it does not identify the source of the remaining temporal variation. The no-year sensitivity analysis further showed that removing this temporal control increased the magnitude of climate importance but did not fundamentally change the broader geographic patterns. Because the covariate may represent multiple climatic and nonclimatic processes simultaneously, its importance should not be interpreted as evidence of any single temporal mechanism. The temporal sub-period sensitivity analysis showed that broad model-wide climate-predictor rankings remained similar between 1994–2008 and 2009–2022, while county-level importance magnitudes and dominant-predictor classifications varied more substantially (
Figure 6;
Supplementary Materials, Tables S46–S48 and Figure S67). The full-period analyses provided as part of the
Supplemental Materials should therefore be interpreted as a long-term summary rather than as evidence that local climate-importance relationships were temporally fixed. More formal time-varying local models remain a subject for future work.
4.6. Implications for Agricultural Risk Analysis
The findings have three methodological implications. First, national agricultural-risk models should evaluate spatial nonstationarity explicitly rather than assume that a single climate-response structure applies across all production regions. Second, the most predictively useful climate variables may differ by commodity, reported damage cause, and location, suggesting that predictor selection and model interpretation should account for regional production and hazard contexts. Third, risk communication should distinguish among claim occurrence, conditional claim severity, and exposure-adjusted loss rates because these outcomes answer different scientific and actuarial questions.
The maps provide a geographic screening framework for identifying regions where more detailed process-based or actuarial analysis may be warranted. However, they are not premium-rating maps and should not be used directly to recommend insurance prices or program changes. Such applications would require explicit information on liability, insured acreage, coverage, and other measures of exposure, together with actuarial validation, decision-specific out-of-sample testing, and careful consideration of policy and producer behavior. Previous studies have shown that climate change can affect both yield risk and Federal Crop Insurance Program costs [
6,
12,
13,
14]. The present results suggest that these effects may be geographically differentiated in ways that pooled national models can obscure.
4.7. Limitations
Several aspects of the data and modeling approach limit how these results should be interpreted. The analysis is conditional on county–months with at least one positive insurance payment; the models therefore do not estimate whether a claim occurs, and cannot be interpreted as models of unconditional expected loss. Although dividing total payments by claim count adjusts the outcome for the number of claims, it does not control for insured acreage, liability, policy characteristics, coverage levels, price elections, or participation. Spatial differences may thus reflect both physical loss processes and the composition of the insurance system.
Reported damage cause is an administrative classification: a claim recorded as drought or excess moisture may involve interacting hazards, and classification or reporting practices may vary over time and space. Monthly county-level climate summaries may also obscure short-duration extremes, within-county environmental variation, crop stage timing, irrigation, soil properties, and antecedent conditions. In addition, local permutation importance is sensitive to predictor correlation, local training support, and model specification [
31,
32]. It measures predictive usefulness but does not provide effect direction, statistical significance, or causal attribution.
Some county-centered neighborhoods had relatively small local training samples, particularly in the wheat drought model, because adaptive neighborhoods guarantee a specified number of county locations rather than a fixed number of county–month observations. Finally, the bandwidth sensitivity analysis indicated that broad geographic patterns and model-wide predictor rankings were generally stable, but the exact county-level classification of the dominant climate predictor remained sensitive to neighborhood size. Temporal sub-period analyses likewise indicated that broad predictor rankings persisted between 1994–2008 and 2009–2022, but county-level importance magnitudes and dominant-predictor classifications were not temporally fixed.
5. Conclusions
This study evaluated whether the climate predictors associated with positive agricultural insurance claim severity vary geographically across the conterminous United States. County-centered geographically weighted random forests revealed substantial spatial heterogeneity across the six models representing combinations of commodity and damage cause. Maximum temperature was the highest mean-ranked climate predictor in five of the six models, while actual evapotranspiration ranked first for soybean excess-moisture claims. Maximum temperature and vapor pressure deficit were particularly prominent in the corn- and soybean-drought models, whereas the excess-moisture models exhibited more heterogeneous local predictor patterns.
The analysis also demonstrated that broad model-wide rankings do not fully represent local climate–claim relationships. Total positive climate importance and the identity of the highest-ranked climate predictor varied among counties within the same commodity and reported damage cause. The bandwidth sensitivity analysis showed that broad geographic patterns and model-wide predictor rankings were generally consistent between the and neighborhoods, although the dominant predictor assigned to individual counties was more sensitive to neighborhood size. Temporal sub-period analyses similarly showed that broad predictor rankings persisted between 1994–2008 and 2009–2022, while county-level importance patterns exhibited meaningful temporal variation. These results support the use of spatially localized models while emphasizing that mapped predictor boundaries should not be interpreted as fixed or mechanistically distinct regions.
The findings apply specifically to conditional payment severity among county–months with at least one positive insurance payment and do not estimate claim probability, unconditional expected loss, exposure-adjusted risk, or causal climate effects. Nevertheless, this work provides a reproducible geographic framework for identifying spatial variation in climate–claim relationships. Future research should integrate insured acreage, liability, coverage, and other measures of exposure; evaluate directional and interactive climate effects; and examine how these relationships change over time.