1. Introduction
Vegetation dynamics are a key indicator of terrestrial ecosystem responses to global environmental change and play an important role in regulating carbon cycling, energy exchange, and ecosystem stability [
1,
2,
3]. Within the persistently warming climate, changes in vegetation of alpine ecosystems are attracting increasing attention, as these regions are characterised by strong climatic limitations, a short growing season and high sensitivity to environmental fluctuations [
4,
5]. To understand how alpine vegetation responds to changing climatic conditions, it is essential to predict trends in ecosystem evolution and to develop effective conservation strategies under future climate scenarios.
The Tibetan Plateau, known as the “Third Pole” of the Earth, is recognised as one of the largest alpine ecosystems in the world. It plays a crucial role in regional climate regulation, water resource conservation and biodiversity maintenance [
6,
7,
8,
9]. The eastern margin of the Tibetan Plateau, including the Western Sichuan Plateau, is characterised by complex topography, marked elevation gradients, and diverse vegetation types ranging from alpine meadow and alpine grassland to shrub and forest ecosystems [
10,
11,
12]. These environmental gradients result in significant spatial heterogeneity in vegetation distribution and ecological processes [
13,
14]. However, alpine ecosystems in this region are highly vulnerable to climate warming and changes in hydrothermal conditions, due to their limited thermal availability and fragile ecological structure [
15]. Therefore, quantifying vegetation changes and identifying their environmental drivers is essential to understanding ecosystem responses in high-altitude regions.
Vegetation indices derived from remote sensing technology provide an effective method for monitoring vegetation dynamics across large spatial and temporal scales [
2,
16,
17]. Among these indices, the normalised difference vegetation index (NDVI) has been widely used to assess vegetation activity and ecosystem changes [
6,
18]. The fractional vegetation coverage (FVC) estimated from NDVI provides a more direct reflection of vegetation structural characteristics and has been extensively applied in ecological assessments [
19,
20]. Previous studies have used linear regression, trend analysis and change detection methods to investigate vegetation trends on the Tibetan Plateau [
7,
11,
21]. However, most studies have focused on identifying patterns of vegetation greening or browning, and the mechanisms driving vegetation responses to environmental changes remain insufficiently understood.
The climate–vegetation interactions in alpine ecosystems are often more complex than instantaneous linear responses [
22,
23,
24]. The growth of vegetation may be influenced by historical climate conditions, which are linked to lagged climate–vegetation associations associated with soil moisture storage, thermal accumulation and physiological adaptation processes [
14,
25]. Temperature may regulate vegetation development through the cumulative supply of thermal energy, particularly in cold-limited alpine environments [
26]. Meanwhile, the impact of precipitation may depend on delayed water infiltration, soil moisture persistence and vegetation hydration processes [
14]. Although previous studies have examined climate–vegetation correlations, relatively few have quantified spatially explicit lagged responses between vegetation dynamics and multiple climatic factors across alpine regions [
27]. Therefore, determining the optimal lag period and comparing the relative importance of temperature and precipitation are crucial for improving the understanding of climate–vegetation feedback mechanisms.
Furthermore, vegetation dynamics are influenced not only by climate but are also regulated by a combination of various interacting environmental factors [
28,
29]. Topographical conditions, ecosystem types and climatic variables collaborate to shape vegetation distribution and productivity, particularly in mountainous regions characterised by significant environmental gradients [
11,
20]. Traditional statistical methods usually assume linear relationships and may fail to capture the nonlinear interactions and threshold effects between environmental variables effectively [
30]. Recent advances in the field of machine-learning provide new opportunities for exploring complex ecological relationships. Among these approaches, extreme gradient boosting (XGBoost) has demonstrated strong predictive performance in ecological modelling by capturing nonlinear relationships and interactions among predictors [
31]. However, the limited explainability of machine learning models remains a challenge for ecological applications. The SHapley Additive exPlanations (SHAP) framework provides an effective solution by quantifying the contribution of individual variables to model predictions and revealing the ecological mechanisms underlying complex model outputs [
32].
Although significant progress has been made in vegetation monitoring and the assessment of climate impacts, the long-term spatiotemporal characteristics of vegetation cover on the Western Sichuan Plateau still require further clarification. There remains a shortage of quantitative research into the lagged associations between temperature and precipitation and alpine vegetation growth. The relative contributions of climate, topography, and land-cover characteristics to the spatial variation in FVC, as well as their consistency across different periods, also remain insufficiently understood. Therefore, this study integrates remote sensing and climate data, trend analysis, lag analysis, and the XGBoost–SHAP-interpretable machine-learning framework to characterise FVC dynamics and environmental associations on the Western Sichuan Plateau between 2001 and 2024. The objectives of this study are (1) to describe the spatial distribution and temporal trends of FVC on the Western Sichuan Plateau; (2) to quantify lagged climate–vegetation associations between temperature and precipitation and FVC, and to identify the primary climate–vegetation response patterns; and (3) to quantify the nonlinear contributions of climatic, topographic, and land-cover variables to the spatial variation in FVC and examine their consistency across different periods using the XGBoost–SHAP framework. This study provides an integrated assessment of FVC spatial patterns, temporal trends, lagged climate–vegetation associations, and nonlinear environmental associations with FVC variability in a high-altitude region.
4. Materials and Methods
4.1. Study Area
The Western Sichuan Plateau, located in the Eastern Tibetan Plateau (
Figure 9a), is one of the world’s most important alpine ecosystems. The region is characterised by high elevation, complex and varied topography, and significant hydrothermal gradients, which have resulted in a diverse ecological environment and vegetation pattern (
Figure 9b). As an important ecological barrier and water conservation region in the upper reaches of the Yangtze River, the Western Sichuan Plateau plays a critical role in regional water regulation, biodiversity conservation, and ecological security maintenance. The study area contains a variety of alpine ecosystems, including alpine meadows, alpine grasslands, shrublands, and forest ecosystems [
39]. Due to the combined constraints of low temperature, short growing seasons, and fragile environmental conditions, vegetation conditions in this region are strongly shaped by climate variability, topographic gradients, and ecosystem characteristics [
40,
41]. The topography exhibits strong spatial heterogeneity, with elevation gradually increasing from the eastern mountains to the western plateau, forming distinct vertical vegetation zones and environmental gradients. In this study, the spatial boundary of the Western Sichuan Plateau was used to define the study area. All remote sensing preprocessing, spatial analysis, and ecological modelling were conducted on the Google Earth Engine (GEE) cloud computing platform (
https://developers.google.com/earth-engine, accessed on 29 July 2026). The total area of the study region is approximately 383,006.80 km
2.
4.2. Data Sources
This study integrated remote sensing, climate, topography, and land-cover datasets to characterise FVC dynamics and examine spatial environmental associations. The datasets used in this study are summarised in
Appendix A Table A1.
4.2.1. MODIS NDVI Data
Vegetation dynamics were characterised using the MODIS Terra Vegetation Index product (MOD13Q1, V 6.1). The MOD13Q1 product provides normalised difference vegetation index (NDVI) observations with a spatial resolution of 250 m and a temporal interval of 16 days, and has been widely applied in regional-scale vegetation monitoring studies [
29]. The MODIS NDVI dataset was obtained from the GEE (
https://developers.google.com/earth-engine/datasets/catalog/MODIS_061_MOD13Q1, accessed on 29 July 2026). The original NDVI values (
) were converted using the official scale factor provided by the dataset documentation:
The study period covered 2001–2024. All NDVI images were first clipped using the study boundary and subsequently used for FVC estimation and long-term vegetation change analysis.
4.2.2. Climate Data
Climate variables were obtained from the ERA5-Land Monthly Aggregated—ECMWF Climate Reanalysis dataset (
https://developers.google.com/earth-engine/datasets/catalog/ECMWF_ERA5_LAND_MONTHLY_AGGR, accessed on 29 July 2026). ERA5-Land provides high-resolution land surface climate information, which has been widely used to study ecosystem responses to climate variability [
3,
42]. Four climate variables were extracted in this study, including: 2 m air temperature (temperature_2m, TMEAN), minimum 2 m air temperature (temperature_2m_min, TMIN), maximum 2 m air temperature (temperature_2m_max, TMAX), and total precipitation (total_precipitation_sum, PRE). The spatial resolution of ERA5-Land data is approximately 11,132 m.
For ecological analysis, monthly climate variables were aggregated into annual-scale indicators corresponding to the vegetation growing season. Since the ERA5-Land temperature variables are expressed in kelvin (K), the temperature values were converted to degrees Celsius (°C):
Precipitation values were converted from metres (m) to millimetres (mm):
In addition, the Palmer Drought Severity Index (PDSI) derived from the TerraClimate dataset (
https://developers.google.com/earth-engine/datasets/catalog/IDAHO_EPSCOR_TERRACLIMATE, accessed on 29 July 2026) was used to characterise regional moisture conditions. The TerraClimate dataset has a spatial resolution of approximately 4638.3 m [
43]. Monthly PDSI values were averaged annually and incorporated into the environmental-association analysis to represent drought-related environmental stress.
4.2.3. Topographic and Land-Cover Datasets
Topographic information was obtained from the SRTM digital elevation model (
https://developers.google.com/earth-engine/datasets/catalog/USGS_SRTMGL1_003, accessed on 29 July 2026). The SRTM DEM dataset has a spatial resolution of approximately 30 m. Based on the DEM data, three topographic variables were derived, including elevation (DEM), slope, and aspect, which were used to characterise terrain-related environmental associations.
Land-cover variables were derived from the MODIS land-cover product (MCD12Q1, V 6.1,
https://developers.google.com/earth-engine/datasets/catalog/MODIS_061_MCD12Q1, accessed on 29 July 2026) and included as categorical descriptors of ecosystem type. These variables were used to represent broad differences in ecosystem structure and surface characteristics across the study region. Given the conceptual relationship between land-cover classification and vegetation cover, land-cover contributions were not interpreted as direct causal effects on FVC. The MCD12Q1 has a spatial resolution of 500 m and provides annual land-cover classification based on the International Geosphere-Biosphere Programme (IGBP) classification system (
Table A2). Annual land-cover maps from 2001 to 2024 were extracted and incorporated as categorical predictors in the environmental association analysis. Based on the original land-cover values (1–17), the land-cover categories were re-coded as LC_1–LC_17. This allowed land-cover types to be regarded as categorical variables rather than continuous numerical predictor variables in later machine-learning analyses.
4.3. Estimation of FVC
The FVC is an important quantitative indicator for characterising vegetation status and ecosystem structure, and has been widely applied in regional-scale vegetation monitoring studies. In this study, FVC was estimated using the pixel dichotomy model based on NDVI. This model assumes that a remote sensing pixel is composed of vegetation and non-vegetation components, and the proportion of vegetation within each pixel can be derived from the spectral difference between vegetation and background surfaces. The pixel dichotomy model was expressed as follows [
35,
44]:
where FVC represents fractional vegetation cover,
represents the NDVI value of the bare soil pixels, and
represents the NDVI value of the fully vegetated pixels. The calculated FVC values were constrained within the range of 0–1.
4.3.1. Annual Growing-Season NDVI Composite
Vegetation growth on the Western Sichuan Plateau is strongly constrained by low temperatures and a short growing season. Therefore, the period from May to September was selected as the vegetation growing season based on regional climatic conditions and vegetation phenology. To minimise the influence of cloud cover, atmospheric effects, and short-term anomalies, the maximum value composite (MVC) method was applied to generate annual growing-season NDVI composites [
14,
45]:
where
represents the annual growing-season maximum NDVI in year y, and
represents the NDVI observation during each composite period within the growing season.
Based on MOD13Q1 NDVI data from 2001 to 2024, annual maximum NDVI images for the growing season were generated for each year. These images were subsequently used for annual FVC estimation.
4.3.2. Fixed-Reference NDVI Endmembers
Traditional FVC estimation methods commonly use constant NDVI thresholds for vegetation and soil pixels. However, fixed thresholds may not adequately represent the overall background conditions of a heterogeneous region, while annually recalculated thresholds may introduce a temporally varying reference scale that complicates the interpretation of long-term trends. To address both issues, this study employed a fixed-reference endmember approach based on a common NDVI distribution over the entire study period.
For the entire study period, the long-term mean growing-season NDVI was calculated as:
where
represents the annual growing-season maximum NDVI in year i, and n = 24. The 5th and 95th percentiles of this long-term mean NDVI distribution were then extracted as the fixed soil and vegetation endmembers:
where P5 represents the 5th percentile and P95 represents the 95th percentile of the common NDVI distribution derived from the entire 2001–2024 study period. These fixed endmembers were applied consistently to all annual FVC estimates, avoiding an annually changing reference scale that could suppress or distort interannual FVC variability. The 5th percentile NDVI value was considered representative of the low-vegetation or bare-soil background, whereas the 95th percentile NDVI value represented dense vegetation conditions.
4.3.3. Multi-Year Mean FVC
To characterise the overall FVC pattern during the study period, the multi-year mean FVC was calculated using annual growing-season FVC values from 2001 to 2024:
where
represents the multi-year mean FVC,
represents the annual growing-season FVC value, and n = 24. The resulting multi-year average FVC was used to analyse the spatial distribution characteristics and patterns of FVC in the Western Sichuan Plateau.
4.4. Vegetation Trend Analysis
To quantify long-term vegetation change trends during 2001–2024, the Sen’s slope estimator combined with the Mann–Kendall (MK) significance test was applied to the annual growing-season FVC time series. The Sen-MK method is a non-parametric statistical approach that has been widely used in long-term ecological and environmental studies because it is insensitive to extreme values and does not require the time series to follow a normal distribution [
21,
24,
46].
4.4.1. Sen’s Slope Estimator
Sen’s slope estimator was used to quantify the magnitude and direction of annual FVC changes [
47]:
where
and
represent FVC values in years i and j, respectively. A positive Sen’s slope value indicates an increasing vegetation trend, suggesting vegetation improvement, while a negative value indicates vegetation degradation. The Sen’s slope value was calculated independently for each pixel to generate the spatial distribution of vegetation change rates across the study area.
4.4.2. Mann–Kendall Significance Test
The Mann–Kendall test was used to evaluate the statistical significance of vegetation trends. The MK statistic was calculated as [
42]:
where
and
represent FVC values in years i and j, respectively. The standardised statistic Z was subsequently calculated to determine the significance level of the observed trend. A significance threshold of
p < 0.05 was adopted to identify statistically significant changes.
Based on the direction of Sen’s slope and MK significance level, FVC trends were classified into five categories: significant improvement (Sen’s slope > 0, p < 0.05), non-significant improvement (Sen’s slope > 0, p > 0.05), stability (Sen’s slope = 0), non-significant degradation (Sen’s slope < 0, p > 0.05), and significant degradation (Sen’s slope < 0, p < 0.05). This classification system is used to quantify the spatial distribution and proportion of area for different vegetation change trends.
4.5. Climate Lag-Response Analysis
In alpine ecosystems, vegetation growth may be associated not only by current climatic conditions but also with antecedent climatic states, which can produce lagged climate–vegetation associations. Processes such as soil moisture persistence, thermal accumulation, and ecological adaptation are possible explanations for time offsets between climate variability and vegetation conditions. Therefore, this study employed monthly scale lagged correlation analysis to quantify statistical associations between antecedent temperature and precipitation conditions and subsequent FVC in the Western Sichuan Plateau.
The annual growing-season maximum FVC was used as the vegetation response variable. Monthly temperature and precipitation data from ERA5-Land were selected as climatic drivers. To remove the influence of the seasonal cycle, monthly climate anomalies were calculated by subtracting the long-term monthly climatology (2000–2024) from the raw monthly temperature and precipitation data. The lag correlation analysis between growing-season maximum FVC and climate variables was therefore performed using seasonally adjusted anomalies rather than raw monthly values. This avoids spurious lag correlations caused by seasonal phase shifts and co-movement between vegetation phenology and the annual climate cycle.
Considering that climatic impacts on alpine vegetation may persist for an extended period, 13 lag periods ranging from 0 to 12 months were considered. For each pixel, Pearson correlation coefficients between FVC and climatic variables under different lag periods were calculated:
where r represents the Pearson correlation coefficient,
represents the covariance between climate variables and FVC, and
and
represent the standard deviations of the corresponding variables.
The lag period corresponding to the maximum absolute correlation coefficient was defined as the optimal lag time:
The corresponding maximum correlation coefficient was defined as:
Finally, three spatial products were generated: (1) spatial distribution of maximum climate–vegetation correlation intensity; (2) spatial distribution of optimal lag time; (3) spatial distribution of correlation direction.
To compare the correlation strength between vegetation and temperature or precipitation, the maximum absolute correlation coefficient () was classified into five correlation strength categories: very weak (0–0.2), weak (0.2–0.4), moderate (0.4–0.6), strong (0.6–0.8), and very strong (0.8–1.0). In addition, optimal lag times were categorised into four groups: immediate association (0 months), short-term lag (1–3 months), medium-term lag (4–6 months), and long-term lag (7–12 months). These classifications were used as descriptive categories to quantify the spatial distribution of correlation strength and optimal lag time between temperature or precipitation and FVC.
4.6. XGBoost–SHAP Framework for Interpreting Environmental Associations with FVC Spatial Variation
Traditional statistical methods usually assume linear relationships and may not fully capture nonlinear associations among environmental variables. Recent advances in machine learning provide opportunities for representing complex relationships among predictors [
30,
31,
32]. In this study, the extreme gradient boosting (XGBoost) algorithm was integrated with the SHapley Additive exPlanations (SHAP) framework to quantify nonlinear associations between climatic, topographic, and land-cover variables and FVC. The XGBoost–SHAP framework was applied as an interpretable machine-learning approach rather than a causal inference model. It was designed to (1) evaluate how different environmental variable combinations explain spatial variation in FVC, and (2) compare the relative contributions of environmental variables to model predictions across the full study period and three sub-periods. Because DEM, slope, aspect, and land-cover characteristics are static or relatively stable over the study period, their SHAP contributions primarily represent spatial environmental heterogeneity rather than direct explanations of interannual FVC trends.
4.6.1. Environmental Variable Selection and Dataset Construction
To characterise the environmental conditions associated with spatial FVC variability, environmental variables were selected from three major categories: climate, topography, and land-cover characteristics. The response variable was annual growing-season maximum FVC. The explanatory variables included climate variables (TMEAN, TMIN, TMAX, PRE, PDSI), topographic variables (DEM, slope, aspect), and land-cover variables (LC). These variables represent climatic conditions, terrain gradients, and ecosystem-type information associated with spatial FVC heterogeneity. All environmental variables were spatially matched with FVC products and resampled to a unified spatial resolution of 250 m to ensure pixel-level correspondence.
All environmental variables were spatially matched with FVC products and resampled to a unified spatial resolution of 250 m to ensure consistency between predictor variables and vegetation observations. This spatial harmonisation ensured pixel-level correspondence among the response and predictor variables. However, spatial alignment to a common grid does not eliminate differences in the native spatial support of the datasets. Climate variables represent relatively coarse-scale environmental conditions, whereas DEM and land-cover datasets provide comparatively finer-scale spatial information. These differences in native spatial resolution were therefore considered when interpreting the relative contributions derived from the XGBoost–SHAP analysis. Accordingly, the SHAP-derived importance values represent the contribution of each predictor at its available spatial information scale after harmonisation, rather than a direct measure of intrinsic ecological importance that is independent of spatial resolution.
A spatial sampling strategy was subsequently applied to construct the machine-learning dataset. Each sample consisted of one annual growing-season maximum FVC and its corresponding environmental variables. The final dataset was used as input for XGBoost modelling, with FVC as the dependent variable and environmental factors as independent variables. To minimise inconsistencies that might result from different variable types, continuous variables (such as temperature, precipitation, DEM, and slope) were retained as numeric independent variables. Land-cover categories were converted into dummy variables using one-hot encoding before XGBoost modelling, avoiding artificial ordinal relationships among different land-cover classes. Because these categorical variables represent ecosystem structural conditions that are partly related to vegetation status, their SHAP contributions were interpreted as contextual or explanatory information rather than independent causal effects on FVC.
4.6.2. XGBoost Model Development
XGBoost is an optimised gradient boosting decision tree algorithm capable of capturing nonlinear relationships and interactions among ecological variables [
31,
32]. In this study, XGBoost was employed to evaluate the capability of different environmental variable combinations to represent observed FVC spatial variability. To evaluate the contribution of different environmental variable groups to FVC prediction, three XGBoost models with gradually increasing complexity were constructed:
The climate-only model considered only climatic variables:
This model was used to evaluate the explanatory power of climatic conditions alone for vegetation spatial variation.
- (2)
Climate–terrain model
The climate–terrain model incorporated topographic variables:
This model was designed to quantify the additional explanatory power provided by topographic heterogeneity.
- (3)
Full ecological model
The full ecological model integrated climatic, topographic, and land-cover information:
This model represents the comprehensive environmental association framework of spatial FVC variability by considering both environmental gradients and ecosystem structure.
All XGBoost models were implemented in a Python 3.14.7 environment. The objective function was set as squared-error regression. After removing pixels with missing values, the final modelling dataset consisted of 239,736 valid samples. These samples were used for XGBoost training and independent evaluation. Model performance was evaluated using three commonly used statistical metrics: coefficient of determination (R2), root mean square error (RMSE), and mean absolute error (MAE).
Coefficient of determination (
):
Root mean square error (RMSE):
Mean absolute error (MAE):
where
represents observed FVC values,
represents predicted FVC values,
represents the mean observed FVC value, and n represents the number of samples. Higher
values and lower RMSE and MAE values indicate better model predictive performance. Because spatial autocorrelation is an inherent property of environmental and remotely sensed variables, spatial blocking cannot completely eliminate spatial dependence within the study landscape. Therefore, the XGBoost performance metrics were interpreted as an assessment of model generalisation under spatially separated sampling rather than as a complete test of spatial independence.
4.6.3. Hyperparameter Optimisation
To avoid arbitrary parameter selection, XGBoost hyperparameters were optimised using RandomizedSearchCV with spatial cross-validation rather than being fixed a priori. The search was performed with 5-fold spatial GroupKFold cross-validation, in which all samples belonging to the same spatial block were kept together in either the training or the validation fold. The search space included the number of estimators (200–1000), learning rate (0.01–0.2), maximum tree depth (3–10), subsampling ratio (0.6–1.0), column sampling ratio (0.6–1.0), minimum child weight (1–7), and gamma (0–0.5). The optimal parameter combination was selected based on the highest cross-validated R
2 and then applied consistently to all three models and to the three sub-period analyses. The final optimal hyperparameters are reported in
Appendix A Table A3. This procedure ensures that the reported model performance is not dependent on a single arbitrary parameter set and that the hyperparameters are compatible with the spatial structure of the dataset.
4.6.4. Spatial Block Cross-Validation
To account for the spatial structure of the pixel-based dataset, spatially separated sampling units were used for model training and testing. Geographic coordinates were used to assign samples to spatial blocks, and the blocks rather than individual pixels were randomly divided into training and testing subsets. Consequently, spatially adjacent pixels within the same block were not independently allocated to both subsets.
The spatial block size was not set arbitrarily but was determined based on the spatial autocorrelation range of FVC. An exponential semivariogram model was fitted to the FVC data to estimate the distance over which spatial autocorrelation remained substantial. The estimated autocorrelation range was then used to guide block size selection, following the principle that the block size should be at least as large as the autocorrelation range to ensure that training and testing samples are spatially independent. To further evaluate the sensitivity of model performance to block size, a series of candidate block sizes (0.2°, 0.3°, 0.5°, 0.8°, and 1.0°) were tested. For each block size, the number of spatial blocks, R
2, and RMSE were recorded. Based on this sensitivity analysis, a block size of 0.5° was selected, as it was larger than the estimated autocorrelation range and provided stable model performance across the candidate sizes. The block size sensitivity results are provided in
Appendix A Table A4. After selecting the 0.5° block size, spatially grouped samples were divided into approximately 80% training blocks and 20% testing blocks, with all samples within a block assigned to the same subset.
Using the selected block size, spatial blocks were randomly assigned to training (80%) and testing (20%) subsets via GroupShuffleSplit. This strategy was adopted to reduce potential information leakage caused by spatially neighbouring observations and to provide a more conservative assessment of model generalisation. Although spatial dependence cannot be completely excluded, the use of spatially separated testing samples reduces the likelihood that the reported model performance is driven solely by direct neighbourhood overlap between training and testing observations.
4.6.5. SHAP-Based Interpretation of Environmental Associations with FVC
Although machine-learning models provide strong predictive performance, their internal decision-making processes are often difficult to interpret. Therefore, the SHapley Additive exPlanations (SHAP) framework was applied to quantify the contribution of individual environmental variables to XGBoost predictions. SHAP is based on cooperative game theory and decomposes the prediction output into the contribution of each predictor variable. For a given sample, the predicted FVC value can be expressed as [
32]:
where
represents the model prediction,
represents the baseline prediction, and
represents the marginal contribution of the i-th environmental variable.
The overall importance of each environmental factor was quantified using the mean absolute SHAP value:
where
represents the SHAP value of variable i for sample j.
The mean absolute SHAP values were further normalised to calculate the relative importance of each environmental factor:
A larger mean absolute SHAP value indicates a stronger contribution of the corresponding environmental factor to FVC spatial variation.
SHAP mean absolute values were calculated for each predictor to quantify its relative contribution to the XGBoost model output. Predictors were ranked according to their mean absolute SHAP values, and the complete ranking was visualised to facilitate comparison among climatic, topographic, and land-cover variables. In addition, SHAP dependence plots were used to characterise nonlinear response patterns between dominant environmental factors and FVC. These analyses provided insights into whether specific environmental variables exerted positive, negative, or threshold-dependent effects on FVC.
4.6.6. Period-Specific Consistency Analysis of Environmental Associations with FVC
To examine period-specific differences in the environmental associations represented by the XGBoost models, the study period was divided into three sub-periods: early period (2001–2008), middle period (2009–2016), and recent period (2017–2024). Separate XGBoost models were developed for each period using the same environmental predictor system. Model performance and SHAP-derived variable importance were compared among periods to characterise differences in model attribution. For each period, model accuracy was assessed using R2, RMSE, and MAE. The relative contribution of environmental variables was quantified using SHAP analysis.
4.7. Statistical Analysis and Software
All remote sensing preprocessing, NDVI compositing, FVC estimation, climate lag analysis, and spatial operations were performed using the Google Earth Engine (GEE) platform (accessed on 29 July 2026). All spatial datasets were processed using the WGS84 coordinate reference system. Spatial resampling, raster alignment, and pixel-based analysis were conducted to ensure consistency among remote sensing, climate, topographic, and land-cover datasets. Machine-learning modelling, statistical analysis, and visualisation were conducted using Python 3.14.7. The major Python packages included NumPy 2.5.2, Pandas 3.0.5, Scikit-learn 1.9.0, XGBoost 3.4.1, SHAP 0.52.0, and Matplotlib 3.11.1.