Skip to main content
Log in

Climate variability impacts on crop yields and agriculture contributions to gross domestic products in the Nile basin (1961–2016): What did deep machine learning algorithms tell us?

  • Research
  • Published:
Theoretical and Applied Climatology Aims and scope Submit manuscript

Abstract

This study utilized the machine learning algorithm called "Bagging" to gain a better understanding of the relationships between climate variability, crop yields, and the agricultural contributions to the gross domestic product (agrigdp) in the Nile basin. The multiple stepwise regression model (MSRM) was also used as a comparison. The time series data collected from 1961 to 2016 for four main crops (groundnuts, sorghum, wheat, and sugarcane), rainfall, air temperature (minimum, mean, and maximum), and agrigdp were divided into 70% for training and 30% for testing using R packages. The results indicated that the Bagging algorithm improved crop yield predictions by 18%—63% compared to the MSRM. All crops demonstrated a greater sensitivity to climate variability, resulting in a low probability of achieving the highest attainable crop yield: 18% – 33% for groundnut, 18%—38% for sorghum, 21%—41% for wheat, and 22%—56% for sugarcane. The climate variability also led to a basin-wide loss of 35 million US$ in the agrigdp, with a basin-wide probability of 29%—61% for attaining the highest agrigdp. The algorithm clearly identified the ideal climatic conditions for reaching the highest attainable crop yields and agrigdp in the Nile Basin. The central factor was found to be air temperature, particularly the mean temperature, with anomalies of ± 0.5 °C responsible for 17%—69% of crop yield losses. Strategies for adapting to and managing risks associated with climate variability should focus on on-farm air temperature management practices, technologies such as greenhouses, and plant breeding.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

Data availability

All datasets used were drafted from free open sources, e.g. FAO and World Bank Climate Portal. Generated datasets were available upon request.

References

Download references

Funding

The authors declare that no funds, grants, or other support were received during the preparation of this manuscript.

Author information

Authors and Affiliations

Authors

Contributions

All authors contributed equally to the research conception, design, analysis and writing, and approving the final manuscript.

Corresponding author

Correspondence to Shamseddin Musa Ahmed.

Ethics declarations

Competing interests

The authors have no relevant financial or non-financial interests to disclose.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary Information

Below is the link to the electronic supplementary material.

Supplementary file1 (DOCX 22 KB)

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Ahmed, S.M., Elbushra, A.A., Ahmed, A.E. et al. Climate variability impacts on crop yields and agriculture contributions to gross domestic products in the Nile basin (1961–2016): What did deep machine learning algorithms tell us?. Theor Appl Climatol 155, 3951–3968 (2024). https://doi.org/10.1007/s00704-024-04858-1

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00704-024-04858-1

Keywords

Navigation