Climate Change, Environmental Degradation, and Food Security in Nigeria: A Machine Learning Analysis

Kehinde Samuel Alehile

Department of Economics, Faculty of Social Sciences, Kogi State University, Anyigba, Kogi State 272102, Nigeria

Hamzat Salami

Department of Economics, Faculty of Social Sciences, Kogi State University, Anyigba, Kogi State 272102, Nigeria

Kassari Daniel Otohinoyi

Department of Economics, Faculty of Management and Social Sciences, Confluence University of Science and Technology, Osara, Kogi State 264103, Nigeria

DOI: https://doi.org/10.36956/ia.v1i1.1912

Received: 17 March 2025 | Revised: 10 April 2025 | Accepted: 12 April 2025 | Published Online: 18 April 2025

Copyright © 2025 Kehinde Samuel Alehile, Hamzat Salami, Kassari Daniel Otohinoyi. Published by Nan Yang Academy of Sciences Pte. Ltd.

Creative Commons LicenseThis is an open access article under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) License.


Abstract

Climate change, which arises from the activities of humans, leads to increased temperature and irregular rainfall patterns, which pose a significant threat to food security, particularly in developing nations like Nigeria, where agriculture is critical to the economy and livelihood. Environmental degradation, exacerbated by climate change, further complicates this scenario by reducing arable land, depleting water resources, and altering weather patterns, all of which contribute to decreased agricultural productivity. The current study aims to assess the impacts of the dual challenges of climate change and environmental degradation on food security in Nigeria, using quarterly time series data from 1991 Q1 to 2023 Q4. The research employs multiple machine learning algorithms, including Multiple Linear Regression, K-Nearest Neighbor (K-NN), Support Vector Regression, and Random Forest, to model the complex relationships between climate variables (CO2 emissions, temperature anomalies) and food production index (FPI), a proxy for food security. The results indicated that CO2 emissions and temperature anomalies have a significant negative effect on agricultural productivity, while land use and fertilizer consumption positively influence food production. The study concluded that sustainable land management practices, climate-resilient agricultural methods, and investment in agricultural infrastructure are critical to mitigating the adverse effects of climate change on food security. Policy recommendations were made to enhance resilience in Nigeria’s agricultural sector.

Keywords: Climate Change; Environmental Degradation; Food Security; Machine Learning; Agricultural Productivity; Nigeria


References

[1] Ogundipe, A.A., Obi, S., Ogundipe, O.M., 2020. Environmental degradation and food security in Nigeria. International Journal of Energy Economics and Policy. 10(1), 316–324.

[2] Alhassan, Y.J., Sanchi, I.D., Muhammad, A.M., et al., 2023. Impact of climate change on agricultural extension services delivery in southern region Kebbi State, Nigeria. Journal of Agriculture Environmental Resource and Management. 5(5), 706–714.

[3] Zakari, S., Ibro, G., Moussa, B., et al., 2022. Adaptation strategies to climate change and impacts on household income and food security: Evidence from Sahelian region of Niger. Sustainability. 14(5), 2847. DOI: https://doi.org/10.3390/su14052847

[4] Gobezie, Y.M., Boka, J.B., 2023. The nexus between greenhouse gas emissions and food security in sub-Saharan Africa: A system GMM analysis. Cogent Economics & Finance. 11(2), 2273590. DOI: https://doi.org/10.1080/23322039.2023.2273590

[5] Ughaelu, C.M., 2017. Contemporary environmental issues respect to food production in Nigeria. Journal of Environmental Management. 41(2), 108–117.

[6] Appiah-Otoo, I., Ntiamoah, E.B., Chen, X., et al., 2024. Impact of climate change on food security in Sub-Saharan Africa: Can financial development offset the damages? Cogent Food & Agriculture. 10(1), 2383793. DOI: https://doi.org/10.1080/23311932.2024.2383793

[7] Okunola, R.A., Ikuomola, A.D., 2010. The socio-economic implication of climatic change, desert encroachment and communal conflicts in Northern Nigeria. American Journal of Social and Management Sciences. 1(2), 88–101. DOI: https://doi.org/10.5251/ajsms.2010.1.2.88.101

[8] Atube, F., Malinga, G.M., Nyeko, M., et al., 2021. Determinants of smallholder farmers' adaptation strategies to the effects of climate change: Evidence from northern Uganda. Agriculture & Food Security. 10, 6. DOI: https://doi.org/10.1186/s40066-020-00279-1

[9] Pickson, R.B., Boateng, E., 2022. Climate change: A friend or foe to food security in Africa? Environment Development and Sustainability. 24, 4387–4412. DOI: https://doi.org/10.1007/s10668-021-01621-8

[10] Ajetomobi, J.O., Abiodun, A., Hassan, R., 2010. Economic impact of climate change on irrigated rice agriculture in Nigeria. Proceedings of the Joint 3rd African Association of Agricultural Economists and 48th Agricultural Economists Association of South Africa Conference; 19–23 September 2010; Cape Town, South Africa. pp. 1–20. DOI: https://doi.org/10.22004/ag.econ.95778

[11] Oluwatayo, I.B., Ojo, A.O., 2018. Walking through a tightrope: The challenge of economic growth and poverty in Africa. The Journal of Developing Areas. 52(1), 59–69.

[12] Adewuyi, T.O., Olofin, E.A., 2014. Spatio-Temporal analysis of flood incidence in Nigeria and its implication for land degradation and food security. Journal of Agricultural Science. 6(2), 150–159. DOI: https://doi.org/10.5539/jas.v6n2p150

[13] Elum, Z.A., Modise, D.M., Marr, A., 2017. Farmer's perception of climate change and responsive strategies in three selected provinces of South Africa. Climate Risk Management. 16, 246–257. DOI: https://doi.org/10.1016/j.crm.2016.11.001

[14] Obayelu, O.A., Adepoju, A.O., Idowu, T., 2017. Factors influencing farmers' choices of adaptation to climate change in Ekiti State, Nigeria. Journal of Agriculture and Environment for International Development. 108(1), 3–16. DOI: https://doi.org/10.12895/jaeid.20141.140

[15] Wijerathna-Yapa, A., Pathirana, R., 2022. Sustainable agro-food systems for addressing climate change and food security. Agriculture. 12(10), 1554. DOI: https://doi.org/10.3390/agriculture12101554

[16] Onyeneke, R.U., Igberi, C.O., Uwadoka, C.O., et al., 2018. Status of climate-smart agriculture in southeast Nigeria. GeoJournal. 83, 333–346. DOI: https://doi.org/10.1007/s10708-017-9773-z

[17] Ayanlade, A., Radeny, M., Morton, J.F., 2017. Comparing smallholder farmers' perception of climate change with meteorological data: A case study from southwestern Nigeria. Weather and Climate Extremes. 15, 24–33. DOI: https://doi.org/10.1016/j.wace.2016.12.001

[18] Shiru, M.S., Shahid, S., Alias, N., et al., 2018. Trend analysis of droughts during crop growing seasons of Nigeria. Sustainability. 10(3), 871. DOI: https://doi.org/10.3390/su10030871

[19] Matemilola, S., Elegbede, I., 2017. The challenges of food security in Nigeria. Open Access Library Journal. 4(12), 1–22. DOI: https://doi.org/10.4236/oalib.1104185

[20] Chandio, A.A., Jiang, Y., Rehman, A., et al., 2020. Short and long-run impacts of climate change on agriculture: An empirical evidence from China. International Journal of Climate Change Strategies and Management. 12(2), 201–221.

[21] Kassanuk, T., Phasinam, K., 2022. Impact of internet of things and machine learning in smart agriculture. ECS Transactions. 107(1), 3215. DOI: https://doi.org/10.1149/10701.3215ecst

[22] World Bank, 2023. World Development indicators reports. Available from: https://datatopics.worldbank.org/world-development-indicators/ (cited 15 February 2024).

[23] Central Bank of Nigeria, 2023. Annual statistical bulletin. Available from: https://www.cbn.gov.ng/documents/Statbulletin.html (cited 15 February 2024).

[24] Phasinam, K., Kassanuk, T., 2022. Machine learning and internet of things (IoT) for real-time image classification in smart agriculture. ECS Transactions. 107(1), 3305–3312. DOI: https://doi.org/10.1149/10701.3305ecst

[25] Olatunji, S.O., 2023. A special guide on ML based modelling [YouTube Channel]. Available from: https://www.youtube.com/watch?v=hc6pQtkT6XY (cited 15 February 2024).

[26] Salami, H., Idoko, C.U., Sani, I.A., et al., 2024. Course-based education data mining in econometrics: Empirical evidence from Prince Abubakar Audu University, Nigeria. Iranian Economic Review. DOI: https://doi.org/10.22059/IER.2024.373948.1007971

[27] Gangwar, A.K., Shaik, A.G., 2023. K-Nearest neighbour-based approach for the protection of distribution network with renewable energy integration. Electric Power Systems Research. 220, 109301.

[28] Harizaj, M., Idrizi, O., Harizaj, A., 2023. Machine learning algorithms for predicting life expectancy. Advanced Engineering Days. 6, 132–134.

[29] Cortes, C., Vapnik, V., 1995. Support-vector networks. Machine Learning. 20(3), 273–297.