Climate change is projected to have adverse impacts on environmental sustainability. This research combines statistical analysis and Bayesian modeling for climate change detection and attribution in Kaduna, Northern Nigeria. The study combines the Bayesian estimation of abrupt change, seasonality, and trend model (BEAST) with the Mann–Kendall (M–K) trend test for detection and correlation analysis with optimum fingerprinting for attribution. The study used 122 years of climate data (1901–2022), focusing on average annual rainfall and average annual surface temperature for climate change detection, alongside a 30-year analysis of greenhouse gas (GHG) emissions (1990–2020) for climate change attribution. The result of the M–K test reveals a significant increasing trend in temperature (approximately 0.004 °C/year) and a decreasing trend in rainfall (approximately 0.756 mm/year), indicating a warming climate and potential drought conditions. The Bayesian approach further identified multiple changepoints in temperature data, highlighting years of significant climatic shifts. Correlation analysis demonstrated a weak positive relationship between temperature increases and GHG emissions with a correlation coefficient of 0.27. Optimum fingerprinting results show a non-statistically significant relationship between the variables with an R2 value of 0.071, indicating that only 7.1% of the variability in temperature can be explained by the model.

  • Increasing temperature trend: Significant rise in temperature (0.004°C/year) in Kaduna.

  • Decreasing rainfall trend: Notable decline in rainfall (0.756 mm/year), indicating potential drought.

  • Advanced methods: Use of Bayesian estimation of abrupt change, seasonality, and trend model and Mann–Kendall trend test for climate change detection.

  • Long-term data: Analysis based on 122 years of climate data.

  • Regional focus: Specific insights into climate impacts in Kaduna, Northern Nigeria.

The climate system is a complex, forced, dissipative, nonlinear, and heterogeneous entity that operates out of thermodynamic equilibrium (Ghil & Lucarini 2020). Climate change refers to changes in the statistical values of the climatic variables over the long term (at least decades) (Attah 2013; Mamudu 2021; IPCC 2022). Detection of climate change is a process of demonstrating that climate has changed in a statistically significant manner, without necessarily explaining the cause behind the change (EOS 2022). Attribution involves establishing the most likely causes for the detected change with a defined level of confidence (Zhai et al. 2018). While detection and attribution are interconnected, they serve separate objectives in understanding climate change or variability (Zhai et al. 2018; Mamudu 2021). Scientists use various methods to identify changes in climate observations, like the non-parametric Mann–Kendall (M–K) test (Gocic & Trajkovic 2013; Sharifi et al. 2024), Theil–Sen estimators (Ribes et al. 2017), regression, which also includes optimum fingerprinting (Lewis 2016; Knutson et al. 2017; Ribes et al. 2017; Hammerling et al. 2020), additive decomposition (Ribes et al. 2017), remote sensing (Pilewskie et al. 2015; Tahoun et al. 2016), the Bayesian method (Schnur & Hasselmann 2005; Katzfuss et al. 2017; Shi et al. 2024) and artificial neural network (Bône et al. 2023; Barman et al. 2024; Xalbaevich et al. 2024). These methods rely on expected responses to external forcing (such as greenhouse gas (GHG) emissions) either from physical understanding or as simulated by climate models (Kim et al. 2024). An identified change is ‘detected’ in observations if its likelihood of occurrence by chance due to internal variability alone is determined to be small. However, a failure to detect a particular response might occur for reasons like weak signals relative to internal variability or insensitive metrics. To reduce the risk of spurious detection, scientists look for corroborating lines of evidence that provide a consistent view of the likely cause for the detected changes (Knutson et al. 2017). In this study, the Bayesian estimation of abrupt change, seasonality, and trend model (BEAST) is used to corroborate the M–K trend test for detection, while optimum fingerprinting is used to corroborate correlation analysis for attribution.

The M–K test is a widely used method for detecting trends in time series data, particularly in climate variables. It assesses whether there is a significant monotonic trend, which could be either increasing or decreasing, over time. One of the advantages of the M–K test is that it does not assume any specific distribution for the data. Researchers often apply this test to various climate factors, such as temperature, precipitation, and streamflow. It is a non-parametric statistical method used to identify trends in time series data. In climate science, it is frequently utilized to analyze long-term climate data and determine if there is a noteworthy trend. Kendall's Tau statistic (τ) measures the correlation between data points, quantifying the strength and direction of monotonic trends (Gocic & Trajkovic 2013).

Bayesian networks (BNs), coined by Judea Pearl in 1985 (Aguilera et al. 2011; Holmes 2022), are graphical tools that represent probabilistic relationships among variables using directed acyclic graphs. They stem from Bayesian probability, developed by Thomas Bayes in the 18th century and further refined by Pierre–Simon Laplace (Mamudu et al. 2019; Diniz & Bellhouse 2020). BNs are used to predict the likelihood of causes given an observed event and can model complex relationships, such as between rainfall and streamflow. The BEAST is a Bayesian method used for climate change detection and time series analysis. It focuses on identifying abrupt changes, seasonal variations, and trends in data, making it particularly useful for analyzing complex datasets like those found in climate science (Zhao et al. 2019). It incorporates multiple competing models to improve inference accuracy instead of relying on a single model. It effectively identifies points in time where significant changes occur in the data, which is crucial for understanding climate shifts. The method can decompose time series data into seasonal components and long-term trends, providing a clearer picture of underlying patterns (Zhao et al. 2019).

Correlation measures the strength and direction of a linear relationship between two variables. In the context of climate change and greenhouse gases, it involves examining how changes in climate variables correlate with changes in greenhouse gases. The correlation coefficient, ranging from −1 to 1, indicates the nature of the relationship (Soren et al. 2023): + 1: perfect positive correlation, − 1: perfect negative correlation, 0: no correlation. All detection and attribution methods assume that observed climate change over time can be represented by a linear equation. This method can be applied to single patterns and extended to multiple patterns. Researchers aim to estimate the climate change signal and measure the signal-to-noise ratio by applying a suitable linear filter to the data.

Detection and attribution studies have found that Bayesian hierarchical methods can be used for detecting and attributing climate change (Katzfuss et al. 2017). M–K test, Sen's slope, and kriging were used to detect trends in climate variables (Gwatidaa et al. 2023; Arregocés et al. 2024; Haider et al. 2024). M–K trend test, Sen's estimator, Kendall tau, partial correlation, and participatory surveys were used to examine trends in rainfall, temperature, and runoff (Okafor & Ogbu 2018). It has been observed that greenhouse gases have been causing warming since the beginning of industrialization, with their impact increasing over time (Katzav 2013; Hegerl et al. 2019; Ahmed 2020; Bône et al. 2023).

One of the key novelties of this study is the combination of advanced methods for climate change detection. This study uniquely integrates BEAST with the M–K trend test for detecting climate change. This dual approach enhances the robustness and reliability of the detection process by corroborating results from two different statistical methods. This research provides specific insights into climate impacts in Kaduna, Northern Nigeria, a region that has not been extensively studied in the context of climate change. This regional focus addresses a gap in the literature and contributes valuable data and analysis for local climate policy and adaptation strategies. Another significant aspect of this research is the long-term data analysis. The study utilizes an extensive dataset spanning 122 years (1901–2022) for climate change detection, focusing on average annual rainfall and surface temperature in Kaduna, Northern Nigeria. This long-term analysis provides a detailed historical perspective on climate trends in the region.

Most studies on climate change focused on detection, others on attribution, while the detection studies mostly used trend tests (parametric or non-parametric). However, to fill this gap, this current study aimed to detect climate change by investigating both trend and abrupt changes in climate parameters and combining this with the attribution of the observed change to a possible cause. This dual-method approach enhances the reliability of the detection process, filling a gap where previous studies often focused on either trend detection or abrupt change detection separately. The methods commonly used by climate scientists include climate models, paleoclimate data, correlation analysis, optimal fingerprinting, and remote sensing. However, there is often no focus on identifying abrupt temperature changes. This study fills significant gaps in the literature by integrating advanced detection methods, utilizing long-term data, and focusing on a specific region. It combines detection and attribution, identifies multiple changepoints, provides quantitative trend analysis, demonstrates the complexity of climate change attribution, and offers detailed model diagnostics. These contributions will enhance the understanding of climate change dynamics and provide valuable insights for future research and policy development.

This study sought to answer three main questions and four follow-up questions. The primary questions are: What changes have occurred in the historical climate data of Kaduna, specifically in terms of rainfall and temperature? Are these changes due to natural variability (noise) or external forcing? Is it possible to attribute the change to a factor outside the natural climate system? The secondary questions include: If there are significant changes in temperature, are they indicative of warming (positive) or cooling (negative)? What is the rate of these changes? What specific years mark the points of change, and what are the probabilities associated with these change points? To find answers to these questions, the study employed the M–K trend test, BEAST, correlation analysis, and optimal fingerprinting. While the first two methods will be used in the climate change detection analysis, the last two will be used in the climate change attribution analysis.

The Study Area

Kaduna metropolis is located in north-central Nigeria (Figure 1). The mean yearly temperature is 25.2 °C (77.4°F); however, the climate around the Kaduna River is typically humid throughout the year, with an average temperature of 28 °C (83°F). This temperature can fluctuate significantly, dropping to 24 °C (56°F) in December and rising to 31 °C (95°F) in March (ECMWF 2022; Singh 2023). The annual precipitation is approximately 998 mm (39.3 inches), according to ECMWF's (2022) data.
Figure 1

Location map of Kaduna

Figure 1

Location map of Kaduna

Close modal

Data collection and data analysis

The climate change detection study utilized the average annual rainfall (mm) and the average annual surface temperature (°C) for Kaduna Metropolis over 122 years (1901–2022). The climate change attribution study employed 20 years of data (1990–2020) on total GHG emissions, measured in kilotons of CO2 equivalent (kt of CO2e), along with the average annual surface temperature (°C) of Kaduna Metropolis. The study extracted 122 years of mean annual rainfall and average annual surface temperature data (1901–2022) for Kaduna from the World Bank Group Climate Change Knowledge Portal (WBG 2021). The climate change attribution study used total annual GHG emissions data for Kaduna from 1990 to 2020 sourced from the same portal (WBG 2023). Python version 3.12.4, along with IPython version 8.27.0, was used in an interactive environment on Spyder version 5.5.1, utilizing Anaconda version 24.7.1 for this analysis. The Python code scripts for each of these methods are shown in the Supplementary files 1–7.

M–K trend test

This test was carried out to statistically assess whether there is a monotonic trend, either increasing or decreasing, in temperature or rainfall data. The analysis utilized 122 years of average annual rainfall and temperature records from Kaduna. A two-tailed M–K test was conducted, and the Kendall tau, Sen's slope, and p-value were determined. The hypotheses for the M–K trend test are:

  • Null hypothesis (H0): There is no monotonic trend in the time series data. This means that the data points are randomly ordered over time, and any apparent trend is a result of random variation.

  • Alternative hypothesis (H1): There is a monotonic trend in the time series data.

Kendall's Tau and Sen's slope estimator are given by the following equations:
(1)
where S is the M–K statistic, and n is the number of data points. Sen's slope (Q) was used to estimate the true slope of the trend. It was calculated as the median of all possible slopes between data points.
(2)
where Xj is the value of the data point at position j, Xi is the value of the data point at position i, j is the index of the later data point in the time series, and i is the index of the earlier data point in the time series.

Bayesian method of climate change detection (the BEAST model)

The Bayesian method was used for climate change detection, and average surface temperature data for the Kaduna metropolis from 1901 to 2022 were used for the analysis. The essence is to identify change points in the temperature of Kaduna. Rbeast, a tool designed for Bayesian evolutionary analysis, was used for this study, and Markov Chain Monte Carlo (MCMC) sampling plays a crucial role. This method was utilized to estimate the posterior distributions of model parameters.

MCMC parameters step-up

The MCMC, using the Gibbs sampling method, allows the model to draw samples from the conditional distributions of each parameter, making it effective for estimating trends, seasonality, and abrupt changes in time series data. In the sampling setup for the research, the samples per chain, the number of chains, and the burn-in period were set, and the thinning factor was applied. Running multiple chains helps in assessing the point of convergence to a specific distribution of the MCMC algorithm. Some initial samples were discarded to allow the chain to reach a steady state, and the thinning factor was applied to reduce autocorrelation in the samples (Speagle 2019). Key steps in MCMC sampling involve starting with an initial guess for the model parameters, generating a new sample by perturbing the current sample using a proposal distribution (often a normal distribution), and then deciding whether to accept or reject the new sample based on the likelihood ratio, which compares the likelihood of the new sample to the current sample. Other important parameters include the maximum move step size, trend resampling order probability, season resampling order probability, and credible interval alpha level. The BEAST model fit is defined by the following equation:
(3)
where Y(t) is the observed temperature value at time t, T(t) is the trend component, S(t) is the seasonal component, C(t) is the abrupt change component, and E(t) is the error component. The BEAST model employs MCMC inference. The model parameters (trend, seasonality, and abrupt change) are estimated using the MCMC algorithm. Each of these components of the model in Equation (3) has its mathematical equations.
The coefficients for the trend component of the model were extracted from the trend field of the BEAST result. Trend slope (rate of change) data from the model output were also extracted, examined, and plotted against time to gain deeper insights into climate behavior. The ‘trend’ can be a linear or smooth function, as shown in Equation (4), it captures the long-term progression of the time series.
(4)
where T(t) is the trend at time t, and β0, β1, β2,…,βk are the coefficients of the polynomial trend.
The seasonal part is a trigonometric function, as shown in Equation (5). It captures periodic fluctuations in the time series.
(5)
where S(t) is the seasonal component at time t, αj and ϒj are the coefficients, P is the period of the seasonality, and m is the number of harmonics. The abrupt change part is a step function, as shown in Equation (6). It captures sudden shifts or changes in the time series.
(6)
where C(t) is the abrupt change component at time t, δk is the magnitude of the change at the change point τk, K is the number of change points, and I is the indicator function that is 1 if the condition is true and 0 otherwise. The probabilities of change points were derived from the posterior distribution of the model parameters. This model was then applied to detect possible change points in the temperature data. The results, including the detected changepoints, were extracted from the BEAST output. The model added vertical lines to the plot at these detected changepoints to highlight their various positions. The error component captures the random noise in the time series (Hill & Baele 2019). It is typically assumed to be normally distributed with mean zero and variance. Combining Equations (4)–(6) into Equation (3) yields the final equation of the BEAST model, which becomes following equation:
(7)

Model statistics

The model coefficient of determination R2, the root mean square error (RMSE), the marginal likelihood, and the variance of residuals (σ2) were all examined. While the M–K trend test provides the direction, density, and significance of the trend, the Bayesian method provides the specific change point years.

Climate change attribution

The climate change attribution addresses the following hypotheses:

  • Null hypothesis(bH0): The observed changes in temperature are not attributed to greenhouse gases only.

  • Alternate hypothesis (bH1): The observed changes in temperature are attributed to greenhouse gases only.

Correlation analysis for climate change attribution

The correlation between temperature and GHG concentrations over the 30 years from 1990 to 2020 was analyzed by using Pearson correlation coefficients between temperature and GHG. Correlation measures the strength and direction of a linear relationship between two variables. In the context of climate change and greenhouse gases, it involves examining how changes in climate variables correlate with changes in greenhouse gases. The correlation coefficient, ranging from −1 to 1, indicates the nature of the relationship (Soren et al. 2023): + 1: perfect positive correlation, −1: perfect negative correlation, 0: no correlation. All detection and attribution methods assume that the observed climate change over time can be represented by a linear equation. This method can be applied to single patterns and extended to multiple patterns. Researchers aim to estimate the climate change signal and measure the signal-to-noise ratio by applying a suitable linear filter to the data. This analysis aimed to investigate whether a significant relationship exists between greenhouse gases and temperature in Kaduna.

Optimal fingerprinting

The same data used in the correlation analysis were used for this method. The dependent variable (y) is temperature, while the independent variable (x) is total GHG emissions. A constant term is added to the independent variable to account for the intercept in the regression model. The ordinary least squares (OLS) regression model is fitted to the data using the statsmodels library in Python. The regression analysis includes R2 and adjusted R2 to assess model fit, the F-statistic for overall significance, the Durbin–Watson statistic for autocorrelation, the Omnibus and Jarque-Bera (JB) tests for normality of residuals, the variance inflation factor (VIF) for multicollinearity, as well as skewness and kurtosis to evaluate distribution shape. While the correlation analysis provides the degree of correlation, the optimal fingerprinting method offers additional statistical evidence for climate change attribution. The model can be represented as follows:
(8)
where y is the dependent variable (temperature), x is the independent variable (total GHG emissions), β0 is the intercept term, β1 is the slope coefficient and є is the error term. OLS selects a given set of values for β’s such that the following equation is minimized.
(9)

In this case, n = 1.

The R2, adjusted R2, and F statistics can be mathematically expressed, as shown in Equations (10)–(12), respectively. The R2 value represents the proportion of the variance in the dependent variable that is predictable from the independent variable. It is calculated as follows:
(10)
where yi are the observed values, are the predicted values from the regression model, and is the mean of the observed values. The adjusted R2 value adjusts the R2 value for the number of predictors in the model. It is calculated as follows:
(11)
where n is the number of observations and k is the number of predictors. The F-statistic tests the overall significance of the regression model. It is calculated as follows:
(12)
where R2 is the R2 value, k is the number of predictors, and n is the number of observations. The VIF measures the extent of multicollinearity in the regression model. It is calculated as follows:
(13)
where is the R2 value obtained by regressing the jth predictor on all other predictors.

Data collection results

The time series showing the average annual rainfall and surface temperature of Kaduna from 1901–2022 is shown in Figure 2. This figure shows the 122-year average surface temperature of Kaduna. As can be seen from the graph, the values fluctuate between 24.5 and 26.5 °C. These noticeable fluctuations in graph peaks and troughs indicate periods of warming and cooling.
Figure 2

Mean annual rainfall and mean surface temperature of Kaduna State 1901–2022

Figure 2

Mean annual rainfall and mean surface temperature of Kaduna State 1901–2022

Close modal
Figure 3 shows the GHG and temperature data for the corresponding years for Kaduna from 1990 to 2020. Total GHG emissions are measured in kilotons of CO2 equivalent, while the temperature is measured in degrees Celsius (°C). To aid visual comparison, both datasets are plotted on the same graph, with the GHG emission data raised to the power of 105. All data were complete, and there were no missing values.
Figure 3

Total GHG and temperature against time (1990–2020).

Figure 3

Total GHG and temperature against time (1990–2020).

Close modal

M–K trend test results

As shown in Table 1, the drought aridity trend, showing the results of the M–K test for rainfall, indicates a decreasing trend over the analyzed period. This downward trend in rainfall is statistically significant, as evidenced by a p-value of 0.0164, which is below the 0.05 threshold (alpha value). This suggests that the observed decrease in rainfall is unlikely to be due to random variation. Further supporting this conclusion, Kendall's tau is −0.147, a negative value that confirms the decreasing trend. Additionally, Sen's slope is calculated to be −0.756, indicating that rainfall decreases by approximately 0.756 mm/year; this is an indication of drought in the Kaduna Metropolis.

Table 1

Drought aridity trend

Rainfall
Trend Decreasing 
p-value 0.0164 
Kendall's tau −0.1470 
Sen's slope −0.7563 
Temperature
Trend Increasing 
p-value 0.0002 
Kendall's tau 0.2267 
Sen's slope 0.0040 
Rainfall
Trend Decreasing 
p-value 0.0164 
Kendall's tau −0.1470 
Sen's slope −0.7563 
Temperature
Trend Increasing 
p-value 0.0002 
Kendall's tau 0.2267 
Sen's slope 0.0040 

In contrast, the M–K test for temperature reveals an increasing trend over the same period. The upward trend in temperature is highly significant, with a p-value of 0.0002, well below the 0.05 threshold. This very low p-value indicates that the increase in temperature is statistically significant. Kendall's tau for temperature is 0.227, a positive value that confirms the increasing trend. Sen's slope for temperature is 0.004, suggesting that temperature increases by approximately 0.004 °C/year; this indicates warming in Kaduna. In both cases, the study has sufficient evidence to reject the null hypothesis and accept the alternative hypothesis, which states that there is a monotonic trend in the time series data (both rainfall and temperature). Thus, while Kaduna is experiencing drought, it is simultaneously warming up. Similarly, climate change has been linked to drought in the western region of Bangladesh (Haider et al. 2024) as well as the Gorganrood watershed in northeast Iran (Tavosi et al. 2024).

Bayesian method of climate change detection (the BEAST) results

The Bayesian method was applied to the temperature data to identify specific change points in years, and their respective probabilities and visualize the trend. The length of temperature data points used was 122, regularly spaced with a period of 1 unit.

MCMC parameters setup

MCMC model setup results include the following: samples were 8,000 per chain, chains were 3, burn-in (discarded samples) was 200, and the thinning factor was 5. The coefficients for the trend component which captures the long-term changes in the temperature data can be found in the trend field of the BEAST result. These trend coefficients are plotted against time, as shown in Figure 4.
Figure 4

Temperature trend coefficient over time.

Figure 4

Temperature trend coefficient over time.

Close modal

The graph in Figure 4 illustrates the trend coefficients over the period from 1901 to 2022. The trend coefficient starts slightly above 25.4 °C and remains relatively stable until around 1930. This period of stability suggests that the factors influencing the temperature trend were consistent or balanced during these years. Around 1930 there was a noticeable sharp increase, going above 26 °C, and then followed by a sharp decline around 1944 in the trend, dropping to just below 25.2 °C. This abnormality is obviously a strong signal and could be attributed to external power force, likely significant historical events that may have impacted the variables affecting the temperature trend. World War II took place around this time; however, establishing a definite link will require further studies. After the sharp decline, the trend remains stable at the lower value until about 1970. This suggests a new equilibrium was reached, possibly due to post-war recovery and stabilization. From 1970 onwards, there was a gradual increase in the trend coefficient, becoming more pronounced in the early 2000s and reaching approximately 26 °C by 2022, without reversing, unlike the 1930–1945 era.

The slope component of the trend represents the rate of change of temperature trend over time and gives a clear visual representation of how the trend slopes have changed over time. By analyzing this plot, the study identifies periods where the rate of change in temperature was particularly high, low, or zero, as shown in Figure 5.
Figure 5

Trend slopes over time

Figure 5

Trend slopes over time

Close modal

The graph in Figure 5 presents a clear visual representation of the rate of change of the trend. The slope shows relative stability until 1970, when the rate of change becomes permanently unstable. The event of 1930 was recovered quickly around 1944. Since the data were annual, the model is of seasonal order ‘1’.

Based on the BEAST output in Figure 6, 10 changepoints were detected in the average surface temperature data for Kaduna between 1901 and 2022. This is the abrupt change part of the model. The detected changepoints occurred in the following years: 1926, 1931, 1944, 1970, 1975, 1980, 1990, 1997, 2003, and 2010. Each of these years corresponds to a major change in the temperature trend.
Figure 6

Detected changepoints in average surface temperature trend, Kaduna 1901–2022

Figure 6

Detected changepoints in average surface temperature trend, Kaduna 1901–2022

Close modal

The probabilities associated with these changepoints are derived from the Bayesian model and indicate the confidence level for each detected changepoint. Table 2 shows the years and their corresponding probabilities.

Table 2

Changepoints and corresponding probabilities

YearsProbabilities
1926 0.15 
1931 0.99 
1944 0.98 
1970 0.09 
1975 0.14 
1980 0.38 
1990 0.09 
1997 0.23 
2003 0.38 
2010 0.09 
YearsProbabilities
1926 0.15 
1931 0.99 
1944 0.98 
1970 0.09 
1975 0.14 
1980 0.38 
1990 0.09 
1997 0.23 
2003 0.38 
2010 0.09 

There are some changepoint detection years with high probabilities (P > 0.95), such as 1931 and 1944. There are also years with moderate probabilities (0.45 < P < 0.95) and those with lower probabilities (P < 0.45). The higher probabilities recorded in the earlier years indicate more stability and predictability in the climate. However, the lower probabilities and the frequency of occurrence of the changepoints in recent years show increasing instability and high volatility. Another important fact is the frequency of occurrence of these changepoint years. Between 1901 and 1944, only three changepoints were detected; however, between 1970 and the present, about seven changepoints have been detected, indicating increased climate instability in recent years. Lastly, the error component represents the random noise in the data, which is typically captured by the residuals of the model.

Model statistics results

The model fit indicates that the temperature data is modeled as a combination of a trend component, a seasonal component, and a random error. R2 is 0.609, indicating that the model explains about 60.90% of the variance in the temperature data. RMSE is 0.277, indicating the average deviation of the predicted temperatures from the actual values. The marginal likelihood and variance of residuals were −214.45 and 0.0903, respectively. A marginal likelihood of −214.45 indicates the logarithm of the probability of the observed data under the model. This value is useful for comparing different models; the model with the highest (least negative) marginal likelihood is generally preferred; however, the MCMC algorithm has already selected the model parameters that give the best fit. Lower values of suggest that the model's predictions are close to the actual data points, indicating a good fit. With an average temperature value of 25.5 °C, a variance of 0.0903 is a small value.

Climate change attribution

Correlation analysis results

The correlation coefficient of 0.2657 between total GHG emissions and temperature signifies a positive relationship between these two variables. Correlation coefficients range from −1 to 1, where a value of 0 indicates no correlation, values approaching 1 suggest a strong positive correlation, and values nearing −1 indicate a strong negative correlation. In this context, a coefficient of 0.2657, approximately 0.3, suggests a moderate positive correlation, meaning that as GHG emissions increase, temperatures tend to rise as well, albeit the relationship is not particularly strong. This correlation implies that while there is a tendency for temperature to increase with rising GHG emissions, it does not establish GHG emissions as the sole or primary cause of temperature changes. Other factors may also play significant roles in influencing temperature fluctuations. Thus, while the correlation supports the notion that increasing GHG levels contribute to global warming, it also underscores the complexity of climate systems, where multiple variables interact. This finding suggests that efforts to reduce emissions could be beneficial in mitigating temperature increases. However, further analysis is necessary to fully understand the dynamics at play and the various factors influencing climate change.

Results for optimal fingerprinting

The regression analysis results, as shown in Table 3, reveal that the model has a low R2 value of 0.071, indicating that only 7.1% of the variability in temperature can be explained by total GHG emissions. This suggests a weak explanatory power, as the model does not account for much of the variation in temperature. The adjusted R2 value of 0.039 further emphasizes this limitation by adjusting for the number of predictors. In terms of statistical significance, the F-statistic is 2.202 with a corresponding p-value of 0.149, indicating that the overall model is not statistically significant at the conventional alpha level of 0.05. Consequently, there is insufficient evidence to conclude that GHG emissions have a significant effect on temperature rise in Kaduna Metropolis. The constant term is estimated at 24.93 °C, which is statistically significant (p < 0.001), suggesting that when total GHG emissions are zero, the predicted temperature is approximately 24.93 °C. This implies that at zero GHG emission, Kaduna's average surface temperature should be approximately 24.93 °C.

Table 3

Optimum fingerprinting (OLS regression results)

Dep. Variable:TemperatureModel:OLS
R2 0.071 Log-Likelihood −7.0863 
Adj. R2 0.039 No. Observations 31 
F-statistic 2.202 Prob (F-statistic) 0.149 
Df residuals 29 Df model 
Dep. Variable:TemperatureModel:OLS
R2 0.071 Log-Likelihood −7.0863 
Adj. R2 0.039 No. Observations 31 
F-statistic 2.202 Prob (F-statistic) 0.149 
Df residuals 29 Df model 
CoefficientsStd. err.tP > |t|[0.0250.975]
Constant 24.9289 0.617 40.403 0.000 23.667 26.191 
Total_GHG 3.319 × 10−06 2.24 × 10−06 1.484 0.149 −1.26 × 10−06 7.89 × 10−06 
Omnibus 0.678 Durbin–Watson 1.063 
Prob (Omnibus) 0.712 JB 0.084 
Skew −0.043 Prob(JB) 0.959 
Kurtosis 3.241 Cond. No 3.01 × 1006 
Test for constraints
CoefficientsStd. err.tP > |t|[0.0250.975]
c24.9289 0.617 40.403 0.000 23.667 26.191 
 Variable VIF 
Const 119.373 
Total_GHG 1.000 
CoefficientsStd. err.tP > |t|[0.0250.975]
Constant 24.9289 0.617 40.403 0.000 23.667 26.191 
Total_GHG 3.319 × 10−06 2.24 × 10−06 1.484 0.149 −1.26 × 10−06 7.89 × 10−06 
Omnibus 0.678 Durbin–Watson 1.063 
Prob (Omnibus) 0.712 JB 0.084 
Skew −0.043 Prob(JB) 0.959 
Kurtosis 3.241 Cond. No 3.01 × 1006 
Test for constraints
CoefficientsStd. err.tP > |t|[0.0250.975]
c24.9289 0.617 40.403 0.000 23.667 26.191 
 Variable VIF 
Const 119.373 
Total_GHG 1.000 

When this is compared to the Kaduna state's average temperature of 2022, which stood at 25.87 °C, a difference of 0.94 °C, approximately a 1 °C rise in average temperature, is observed. The coefficient for total GHG emissions is 3.319 × 10−6, indicating a negligible increase in temperature per unit increase in emissions, but this coefficient is not statistically significant (p = 0.149), highlighting a weak and unreliable relationship.

The analysis also includes important model diagnostics. The Durbin–Watson statistic of 1.063 suggests potential autocorrelation in the residuals, which could affect the model's validity. While the Omnibus and JB tests indicate that the residuals are normally distributed, the high VIF of 119.37 for the constant raises concerns about multicollinearity, potentially distorting the results. The skewness value of −0.043 suggests a nearly symmetrical distribution of residuals, and the kurtosis of 3.241 aligns closely with that of a normal distribution, indicating no significant outliers. Overall, the findings underscore a weak and statistically insignificant relationship between total GHG emissions and temperature, suggesting the need for further investigation into other factors influencing temperature changes and highlighting the complexity of climate dynamics. From the result of this work, the model relating temperature to GHG is given as follows:
where y is the temperature and x is the GHG.

Discussion of result

A multitude of factors, including solar radiation, volcanic activity, ocean currents, and land use, changes influence climate systems. These factors interact in complex ways, making it difficult for a single-variable model to capture all the variability in temperature. Temperature changes can vary significantly over time and across different regions. A model that does not account for this variability may have a low R2 value. For instance, local factors such as urbanization and deforestation can have significant impacts on temperature. Inaccuracies in the measurement of GHG emissions or temperature can lead to errors in the model, reducing its explanatory power. These errors can arise from limitations in data collection methods or inconsistencies in historical records. The relationship between GHG emissions and temperature may not be strictly linear. Nonlinear models or models that include interaction terms might better capture the complexity of the relationship.

Given the weak relationship between GHG emissions and temperature in the current model, it is important to consider other factors that might influence temperature variability. Variations in solar radiation due to changes in the Earth's orbit or solar cycles can significantly impact global temperatures. These variations can cause long-term climate changes independent of GHG emissions. Volcanic eruptions can inject large amounts of aerosols into the atmosphere, reflecting sunlight and causing temporary cooling. The impact of volcanic activity on temperature can be significant, especially in the short term. Ocean currents play a crucial role in distributing heat around the planet. Changes in ocean circulation patterns, such as El Niño and La Niña events, can lead to significant temperature anomalies. Deforestation, urbanization, and changes in land use can alter the Earth's surface properties, affecting local and regional temperatures. These changes can influence the albedo effect, evapotranspiration rates, and heat retention. Besides GHGs, other atmospheric constituents such as aerosols, water vapor, and ozone can influence temperature. The interactions between these components and their combined effect on radiative forcing are complex and can contribute to temperature variability.

The study provides robust statistical evidence of climate change trends and the percentage of those trends attributable to GHG emissions. This information is crucial for policymakers to develop and implement effective climate policies and regulations aimed at mitigating climate change impacts. By identifying significant trends and changepoints in temperature and rainfall, the study helps in formulating adaptation strategies. The Kaduna region is experiencing decreasing rainfall and increasing temperature; hence, it should develop water management plans, invest in rainwater harvesting systems, and promote drought-resistant agricultural practices. The study's focus on Kaduna, Northern Nigeria, provides specific insights into the region's climate dynamics. This localized information is essential for developing tailored solutions that address the unique challenges faced by the region, such as water scarcity and agricultural productivity.

The findings of the study can be used to raise public awareness about the impacts of climate change. Educating communities about the observed trends and their potential consequences can empower individuals to adopt more sustainable practices and advocate for environmental policies. The integration of advanced statistical methods and long-term data analysis contributes to the scientific understanding of climate change. The study's methodology and findings can serve as a reference for future research, promoting further exploration and innovation in climate science. By understanding the specific climate trends and their causes, communities can enhance their resilience to climate change. This includes preparing for extreme weather events, improving infrastructure, and ensuring food and water security. The detailed analysis and robust statistical evidence provided by the study support informed decision-making at various levels, from government agencies to local communities. This leads to more effective and targeted interventions to combat climate change. Implementing adaptation strategies based on the study's findings can lead to economic benefits. For example, improving water management and agricultural practices can enhance crop yields and reduce the economic losses associated with droughts and other climate-related events.

This research reveals significant findings regarding historical climate data of Kaduna from 1901 to 2022. The analysis indicates a statistically significant increasing trend in average annual temperatures, with a notable rise of approximately 0.004 °C/year. This trend suggests a warming climate in Kaduna State, corroborated by the Bayesian method, which identified multiple changepoints, particularly in the years 1931 and 1944, indicating periods of significant temperature shifts and high-temperature volatility in recent years, 1970 onward. Conversely, the study found a significant decreasing trend in annual rainfall, with a decline of about 0.756 mm/year. This trend points toward increasing drought conditions, which could have serious implications for agriculture and water resources in the region. Both the M–K test and Bayesian methods provided robust statistical evidence to reject the null hypothesis, affirming that the observed changes in climate parameters are not merely due to natural variability but are influenced by external factors, including anthropogenic GHG emissions.

In terms of attribution, the research utilized correlation analysis and optimal fingerprinting methods to establish the likelihood that observed temperature changes are attributable to GHG emissions. The correlation coefficient of 0.2657 indicates a moderate positive relationship, suggesting that while there is a tendency for temperature to rise with increasing GHG emissions, this relationship is not strong enough to assert that GHG emissions are the sole cause of temperature changes. Hence, the null hypothesis in this case could not be rejected. However, anthropogenic GHG has caused an increase of 1 °C in the temperature of Kaduna State during the study period (1990–2022). The low R2 value in the current climate model highlights the need for a more comprehensive approach to understanding temperature variability. By considering additional factors such as solar radiation, volcanic activity, ocean currents, land use changes, and atmospheric composition, future research can develop more accurate models that better capture the complexity of climate dynamics.

Given the observed decrease in rainfall, it is crucial to develop sustainable water management strategies. This could involve investing in rainwater harvesting systems and promoting drought-resistant agricultural practices. Increasing public awareness about climate change and its impacts can empower communities to adopt more sustainable practices and advocate for environmental policies. Continued research is essential to monitor climate trends and their socio-economic impacts. Future studies should explore the effects of climate change on local ecosystems and vulnerable populations, as well as the effectiveness of adaptation strategies. Climate change trends in Kaduna should be compared with other regions in Nigeria to identify broader patterns and localized effects. Advanced climate modeling techniques should be utilized to predict future climate scenarios and their potential impacts, incorporating variables such as land use changes and population growth.

The authors extend their appreciation to Prince Sattam bin Abdulaziz University for funding this research work through the project number (PSAU/2024/01/29617).

This research was funded by Prince Sattam bin Abdulaziz University (Project number PSAU/2024/01/29617).

All relevant data are included in the paper or its Supplementary Information.

The authors declare there is no conflict.

Aguilera
P.A.
,
Fernández
A.
,
Fernández
R.
,
Rumí
R.
&
Salmerón
A.
(
2011
)
Bayesian networks in environmental modeling
,
Environmental Modelling & Software
,
26
,
1376
1388
.
Ahmed
M.
(
2020
)
Introduction to modern climate change
,
Science of The Total Environment
,
10
(
734
),
139397
.
Arregocés
H. A.
,
Gomez
D.
&
Castellanos
M. L.
(
2024
)
Annual and monthly precipitation trends: an indicator of climate change in the Caribbean region of Colombia
,
Case Studies in Chemical and Environmental Engineering
,
10
,
100834
.
Attah
D. A.
(
2013
)
Climate Variability and its impact on water resources of the lower Kaduna River Catchment
.
Zaria
:
Ahmadu Bello University
.
Bône
C.
,
Gastineau
G.
,
Thiria
S.
,
Gallinari
P.
&
Mejia
C.
(
2023
)
Detection and attribution of climate change using a neural network
,
Advances in Modeling Earth Systems
,
15
,
e2022MS003475
.
Diniz
M. A.
&
Bellhouse
D. R.
(
2020
)
Bayes and price: when did it start
,
Significance
,
17
(
6
),
6
7
.
ECMWF
(
2022
)
Kaduna Climate
.
Reading, UK: The European Centre for Medium-Range Weather Forecasts. Available at: https://en.climate-data.org/info/sources/.
EOS
(
2022
)
Change Detection In GIS And Areas Of Its Application
.
Mountain View, CA: EOS Data Analytics. Available at: https://eos.com/blog/change-detection/ (Accessed 13 June 2024)
.
Ghil
M.
&
Lucarini
V.
(
2020
)
The physics of climate variability and climate change
,
Reviews of Modern Physics
,
92
,
035002
.
Gwatidaa
T.
,
Kusangaya
S.
,
Gwenzi
J.
,
Mushore
T.
,
Shekede
M. D.
&
Viriri
N.
(
2023
)
Is climate really changing? Insights from analysis of 30-year daily CHIRPS and station rainfall data in Zimbabwe
,
Scientific African
,
19
,
e01581
.
Hammerling
D.
,
Katzfuss
M.
&
Smith
R.
(
2020
)
Climate change detection and attribution
. In:
Gelfand
A. E.
,
Fuentes
M.
,
Hoeting
J. A.
&
Smith
R. L.
(eds.)
Handbook of Environmental and Ecological Statistics
.
New York
:
CRC Press, Taylor & Francis Group
, pp.
876
.
Hegerl
G. C
,
Brönnimann
S.
,
Cowan
T.
,
Friedman
A. R
,
Hawkins
E.
,
Iles
C.
,
Müller
W.
,
Schurer
A.
&
Undorf
S.
(
2019
)
Causes of climate change over the historical record
,
Environmental Research Letters
,
14
(
12
),
123006
.
Holmes
D.
(
2022
)
Bayesian networks: Theory and philosophy
. In:
Virvou
M.
,
Tsihrintzis
G. A.
&
Jain
L. C.
(eds.)
Advances in Selected Artificial Intelligence Areas
, Vol.
24
.
Learning and Analytics in Intelligent Systems. Cham, Switzerland: Springer
.
IPCC
(
2022
)
Climate Change: impacts, Adaptation, and Vulnerability. Contribution of Working Group II to the Sixth Assessment Report of the Intergovernmental Panel on Climate Change
.
Cambridge, UK/New York, NY, USA
:
The Intergovernmental Panel on Climate Change (IPCC)
, p.
3056
.
Katzav
J.
(
2013
)
Severe testing of climate change hypotheses
,
Studies in History and Philosophy of Modern Physics
,
44
,
433
441
.
Katzfuss
M.
,
Hammerling
D.
&
Smith
R. L.
(
2017
)
A Bayesian hierarchical model for climate change detection and attribution
,
Geophysical Research Letters
,
44
(
11
),
5720
5728
.
Knutson
T.
,
Kossin
J. P.
,
Mears
C.
,
Perlwitz
J.
&
Wehner
M. F.
(
2017
)
Detection and attribution of climate change
,
Climate Science Special Report: Fourth National Climate Assessment
,
1
,
114
132
.
Mamudu
L.
(
2021
)
The Impact of Climate Variability on River Kaduna
.
Master's thesis
,
Bayero University
,
Kano
.
Mamudu
A.
,
Khan
F.
,
Zendehboudi
S.
&
Adedigba
S.
(
2019
)
Dynamic risk assessment of reservoir production using data-driven probabilistic approach
,
Journal of Petroleum Science and Engineering
,
184
(
106486
),
0920
4105
.
Okafor
G. C.
&
Ogbu
K. N.
(
2018
)
Assessment of the impact of climate change on the freshwater availability of Kaduna River basin, Nigeria
,
Journal of Water and Land Development
,
38
(
VII–IX
),
105
114
.
Pilewskie
P.
,
Kopp
G.
,
Coddington
O.
,
Schmidt
S.
&
Sparn
T.
(
2015
)
The Earth Climate Hyperspectral Observatory: advances in Climate Change Detection, Attribution, and Remote Sensing
.
Colorado, USA
:
University of Colorado Laboratory for Atmospheric and Space Physics
.
Ribes
A.
,
Zwiers
F. W.
,
Azaïs
J.-M.
&
Naveau
P.
(
2017
)
A new statistical approach to climate change detection and attribution
,
Climate Dynamics
,
48
,
367
386
.
Shi
H.
,
Li
X.
&
Wang
S.
(
2024
)
How Bayesian networks are applied in the subfields of climate change
,
Environmental Modelling and Software
,
172
,
105921
.
Singh
A.
(
2023
)
WorldAtlas in Bodies of Water
.
Montreal, Canada: Reunion Technology Inc. Available at: https://www.worldatlas.com/rivers/kaduna-river.html.
Soren
D. D.
,
Barman
J.
&
Biswas
B.
(
2023
)
A comprehensive review on the impact of climate change on streamflow: current status and perspectives
. In: P. K. Rai (Ed.)
Advances in Geographical and Environmental Sciences (AGES)
.
Singapore
:
Springer
, pp.
117
150
.
Speagle
J. S.
(
2019
)
A Conceptual Introduction to Markov Chain Monte Carlo Methods. Cambridge, MA: Center for Astrophysics Harvard & Smithsonian, p. 54 (revised in 2020). doi:10.48550/arXiv.1909.12313
.
Tahoun
M.
,
Shabayek
A. R.
,
Nassar
H.
,
Giovenco
M. M.
,
Reulke
R.
,
Emary
E.
&
Hassanien
A. E.
(
2016
)
Satellite image matching and registration: A comparative study using invariant local features
. In: A. I. Awad & M. Hassaballah (Eds.)
Image Feature Detectors and Descriptors. Studies in Computational Intelligence
, Vol.
630
,
Cham, Switzerland
:
Springer
.
Tavosi
M.
,
Vafakhah
M.
,
Shekohideh
H.
,
Sadeghi
S.
,
Hamidreza
M.
,
Zheng
Z.
&
Yang
Q.
(
2024
)
Rainfall extreme indicators trend and meteorological drought changes under climate change scenarios
,
Water Resources Management
,
38
(
7
),
4393
4413
.
WBG
(
2021
)
Explore historical and projected climate data, climate data by sector, impacts, key vulnerabilities and what adaptation measures are being taken. Explore the overview for a general context of how climate change is affecting Nigeria
.
Washington, DC: The World Bank Group. Available at: https://climateknowledgeportal.worldbank.org/country/nigeria/climate-data-historical (Accessed 27 August 2024)
.
WBG
(
2023
)
CO2 emissions (kt) - Nigeria
.
Washington, DC: The World Bank Group. Available at: https://data.worldbank.org/indicator/EN.ATM.CO2E.KT?locations=NG&skipRedirection=true&view=map (Accessed 04 October 2024)
.
Xalbaevich
Q. D.
,
Uli
J. I. B.
&
Ulı
S. R. F.
(
2024
)
Using neural networks for climate modeling and prediction
,
Eurasian Journal of Mathematical Theory and Computer Sciences
,
12
,
45
67
.
Zhai
P.
,
Zhou
B.
&
Chen
Y.
(
2018
)
A review of climate change attribution studies
,
Journal of Meteorological Research
,
32
,
671
692
.
Zhao
K.
,
Wulder
M. A.
,
Hu
T.
,
Bright
R.
,
Wu
Q.
,
Qin
H.
,
Li
Y.
,
Toman
E.
,
Mallick
B.
,
Zhang
X.
&
Brown
M.
(
2019
)
Detecting change-point, trend, and seasonality in satellite time series data to track abrupt changes and nonlinear dynamics: a Bayesian ensemble algorithm
,
Remote Sensing of Environment
,
111181
,
0034
4257
.
This is an Open Access article distributed under the terms of the Creative Commons Attribution Licence (CC BY 4.0), which permits copying, adaptation and redistribution, provided the original work is properly cited (http://creativecommons.org/licenses/by/4.0/).

Supplementary data