Effect of climate and economic factors on rice production: machine learning approach

Authors

DOI:

https://doi.org/10.51599/is.2025.09.02.07

Keywords:

rice, climate factors, machine learning, random forest, Banten, Indonesia.

Abstract

Purpose. This study examines how climatic factors such as land surface temperature, precipitation, relative humidity, solar radiation, soil moisture, and the Index of Prices Paid by Farmers (Ib) influence rice production in Banten Province, Indonesia. The study used panel data from 2008 to 2024 to analyse these effects.

Results. Among all models tested, the Random Forest algorithm demonstrated the highest predictive performance in modelling rice production in Banten Province. It achieved the lowest Root Mean Square Error (RMSE) of 0.239 and the highest coefficient of determination (R² = 0.758), indicating that the model could explain approximately 75.8% of the variation in rice yields. In contrast, traditional linear regression produced lower accuracy (R² = 0.559; RMSE = 0.312). The Random Forest model effectively captured nonlinear interactions and multicollinearity between climatic and economic variables. Variable importance analysis revealed that land surface temperature and relative humidity were the most influential predictors, while precipitation and solar radiation had moderate effects. The Index of Prices Paid by Farmers (Ib), although statistically insignificant in the linear model, showed a nonlinear threshold effect in the Random Forest model, negatively affecting production beyond certain levels. Accumulated Local Effects (ALE) plots further confirmed these nonlinear and threshold-based relationships, visually interpreting how each predictor influenced rice output across its distribution. These findings underscore the capability of machine learning not only to enhance predictive accuracy but also to interpret variable importance in a nuanced manner.

Scientific novelty. This study offers a methodological advancement by integrating climatic and economic variables into a comprehensive predictive framework using ensemble machine learning models. While previous studies often relied solely on linear models or focused only on climatic data, this research includes the Index of Prices Paid by Farmers (Ib) to reflect input cost pressures, a factor rarely explored in similar contexts. Moreover, Accumulated Local Effects (ALE) plots enhance model interpretability by illustrating the marginal effects of predictors, overcoming common limitations of black-box machine learning models. The study’s novelty lies in its dual contribution: achieving high predictive accuracy and delivering interpretable insights relevant to agricultural planning in climate-sensitive regions.

Practical value. The findings provide critical evidence to support the formulation of climate-resilient and economically sensitive agricultural policies. The strong influence of temperature and humidity implies an urgent need to invest in adaptive technologies such as heat-tolerant rice varieties and region-specific irrigation systems. Furthermore, identifying a cost threshold in the Ib variable suggests that rice production may decline beyond certain input price levels, highlighting the importance of timely and targeted subsidies, input price control, or financial support mechanisms for smallholder farmers. The machine learning framework developed in this study can also be adopted as a decision-support tool for early warning systems, helping policymakers predict potential yield shortfalls and plan proactive interventions to maintain food security under uncertain climatic conditions.

References

Akter, M., & Sarker, M. M. R. (2021). Impacts of climate factors influencing rice production in Bangladesh. International Journal of Environment and Climate Change, 11(1), 43–52. https://doi.org/10.9734/ijecc/2021/v11i130336

Azad, M., Nehal, T. H., & Moshkov, M. (2025). A novel ensemble learning method using majority based voting of multiple selective decision trees. Computing, 107, 42. https://doi.org/10.1007/s00607-024-01394-8

Bhati, R., Gaur, S., Kamil, A., & Singh, J. (2024). Integrated prediction model for crop yield and harvesting using machine learning and IoT. 2024 2nd International Conference on Disruptive Technologies (ICDT) (рр. 1619–1623), 15–16 March 2024, Greater Noida. https://doi.org/10.1109/ICDT61202.2024.10489510

Bland, M., & Peacock, J. (2000). Regression and correlation. In M. Bland & J. Peacock (Eds.), Statistical Questions in Evidence-Based Medicine (pp. 115–130). New York, Oxford University Press. https://doi.org/10.1093/oso/9780192629920.003.0011

Bushara, A. R., Adnan Zaman, K. T., & Fathima Misriya, P. (2025). Optimizing crop yield forecasting with ensemble machine learning techniques. International Journal of Science and Research Archive, 14(1), 1456–1467. https://doi.org/10.30574/ijsra.2025.14.1.0189

Chang, Y.-J., & Kim, H.-S. (2011). Tree-structured nonlinear regression. Korean Journal of Applied Statistics, 24(5), 759–768. https://doi.org/10.5351/KJAS.2011.24.5.759

Chen, H.-H. (2024). Understanding gradient boosting classifier:training, prediction, and the role of γj. https://doi.org/10.48550/arXiv.2410.05623

Chen, J., He, Y., Liang, Y., Wang, W., & Duan, X. (2024). Estimation of gross calorific value of coal based on the cubist regression model. Science Reports, 14, 23176. https://doi.org/10.1038/s41598-024-74469-3

Dwivedi, D. N., Mahanty, G., & Khashouf, S. (2024). Harvesting insights unveiling the interplay of climate, pesticides, and rainfall in agricultural yield optimization. In S. Satapathy & K. Muduli (Eds.), Advanced Computational Methods for Agri-Business Sustainability (pp. 203–224). IGI Global Scientific Publishing. https://doi.org/10.4018/979-8-3693-3583-3.ch012

Erlin, E., Yunianta, A., Wulandhari, L. A., Desnelita, Y., & Nasution, N. (2024). Enhancing rice production prediction in Indonesia using advanced machine learning models. IEEE Access, 12, 151161–151177. https://doi.org/10.1109/access.2024.3478738

Fang, K., Ren, Q., Feng, X., & Zhu, X. (2017). Research on rice yield forecasting model. 2017 International Conference on Applied Mathematics, Modeling and Simulation, 114–117. https://doi.org/10.2991/AMMS-17.2017.26

Ferrante, A., & Mariani, L. (2018). Agronomic management for enhancing plant tolerance to abiotic stresses: high and low values of temperature, light intensity, and relative humidity. Horticulturae, 4(3), 21. https://doi.org/10.3390/horticulturae4030021

Frei, J., Wiesenberg, G. L. B., & Hirte, J. (2024). The impact of climate and potassium nutrition on crop yields: insights from a 30-year Swiss long-term fertilization experiment. Agriculture, Ecosystems & Environment, 372, 109100. https://doi.org/10.1016/j.agee.2024.109100

Grebović, M., Filipović, L. M., Katnic, I., Vukotic, M., & Popovic, T. (2023). Machine learning models for statistical analysis. The International Arab Journal of Information Technology, 20(3A), 505–514. https://doi.org/10.34028/iajit/20/3a/8

Hu, T., Zhang, X., Khanal, S., Wilson, R., Leng, G., Toman, E. M., Wang, X., … & Zhao, K. (2024). Climate change impacts on crop yields: a review of empirical findings, statistical crop models, and machine learning methods. Environmental Modelling & Software, 179, 106119. https://doi.org/10.1016/j.envsoft.2024.106119

Huailuk, K., Khetkrathok, N., Inthapong, P., Kaennakham, S., & Samattapapong, N. (2024). Investigating XGBoost efficiency on diverse time-series data through PSO parameter tuning. Fuzzy Systems and Data Mining X, 398, 279–285. https://doi.org/10.3233/FAIA241428

Jeong, J. H., Resop, J. P., Resop, J. P., Mueller, N. D., Fleisher, D. H., Yun, K., Butler, E. E., … & Kim, S.-H. (2016). Random forests for global and regional crop yield predictions. PLoS ONE, 11(6), e0156571. https://doi.org/10.1371/JOURNAL.PONE.0156571

Jiya, E., Illiyasu, U., & Akinyemi, M. (2023). Rice yield forecasting: a comparative analysis of multiple machine learning algorithms. Journal of Information Systems and Informatics, 5(2), 785–799. https://doi.org/10.51519/journalisi.v5i2.506

Jyothsna, K., Aakash, Reddy, P. M., & Setty, J. (2024). Impact of temperature variations on rice production. International Journal of Environment and Climate Change, 14(5), 1–9. https://doi.org/10.9734/ijecc/2024/v14i54166

Liu, Z., Xu, D., Wang, R., Guo, X., Song, Y., Wang, M., & Cai, Y. (2025). Effects of temperature fluctuations on the growth cycle of rice. Agriculture, 15(1), 99. https://doi.org/10.3390/agriculture15010099

Mailena, L., Suryani, E., Astari, A. F., Perdana, R. P., Sumedi, Gunawan, Irawan, E. J., & Adelya, M. (2024). The development of food logistics system to support food security and rice price stabilisation: a case study of Banten Province. BIO Web of Conferences, 119, 02010. https://doi.org/10.1051/bioconf/202411902010

Maindola, M., Al-Fatlawy, R. R., Kumar, R., Boob, N. S., Sreeja, S. P., Sirisha, N., & Srivastava, A. (2024). Utilizing random forests for high-accuracy classification in medical diagnostics. 2024 7th International Conference on Contemporary Computing and Informatics (IC3I), (pp. 1679–1685), 18–20 September 2024. Greater Noida. https://doi.org/10.1109/IC3I61595.2024.10828609

Metz, M., Haas, J., Neteler, M., Wint, W., & Jones, P. G. (2023). Monthly time series of spatially enhanced relative humidity for Europe at 1000 m resolution (2000–2022) derived from ERA5-Land data. https://doi.org/10.5281/zenodo.7427021

Mohsin, M. F., Umana, M. K., Hassan, M. G., Sharif, K. I. M., Ismail, M. A., Salleh, K., Zahari, S. M., … & Gordon, N. (2024). Improving rice yield prediction accuracy using regression models with climate data. In N. H. Zakaria, N. S. Mansor, H. Husni, F. Mohammed (Eds), Computing and Informatics. ICOCI 2023. Communications in Computer and Information Science (pp. 258–267), vol. 2002. Springer, Singapore. https://doi.org/10.1007/978-981-99-9592-9_20

Nagaraj, R., Geethalakshmi, V., Manonmani, S., Ravikumar, R., Murugananthi, D., Bhuvaneswari, K., Senthilraja, K., … & Kumar, N. (2024). Comprehensive insights into the risks of climatic factors on rice production and its value chain – a review. Plant Science Today, 11(sp4), 1–12. https://doi.org/10.14719/pst.5269

Novianti, T. C., & Gumano, H. N. (2023). Pemanfaatan Google Earth Engine dan Citra Terra Modis untuk analisis suhu permukaan tanah di provinsi Sumatera Selatan. Jurnal Tekno Global UIGM Fakultas Teknik, 12(01), 18–23. https://www.researchgate.net/publication/372796618

Praba, R., Darshan, G., Roshanraj, K., & Surya, P. B. (2021). Study on machine learning algorithms. International Journal of Scientific Research in Computer Science, Engineering and Information Technology, 3307, 67–72. https://doi.org/10.32628/cseit2173105

Purnamasari, I., Abdilah, M. R. W., Wijayanto, Y., Saputra, T. W., Ristiyana, S., & Budiman, S. A. (2024). Karakter spasial dan temporal curah hujan bulanan kabupaten Jember berdasarkan data CHIRPS. Jurnal Tanah Dan Sumberdaya Lahan, 11(2), 423–432. https://doi.org/10.21776/ub.jtsl.2024.011.2.13

Rajapaksha, D. S., Harshanath, M. S. M. B., Watawala, D. A., Premarathne, A. G. D. J., Ransika, P. G. L., & Liyanarachchi, G. K. (2023). Analyzing the best ways of optimizing rice production through machine learning technologies. International Research Journal of Innovations in Engineering and Technology, 7(11), 436–443. https://doi.org/10.47001/irjiet/2023.711059

Ramisetty, U. M., Gundavarapu, V. N. K., Rajender, R., Segovia Ramírez, I., & García Márquez, F. P. (2023). Prediction analysis of crop and their futuristic yields using random forest regression. In F. P. García Márquez, I. Segovia Ramírez, P. J. Bernalte Sánchez, A. Muñoz del Río (Eds), IoT and Data Science in Engineering Management. CIO 2022. Lecture Notes on Data Engineering and Communications Technologies, (pp. 280–285), vol. 160. Springer, Cham. https://doi.org/10.1007/978-3-031-27915-7_50

Razdan, T., & Mittal, N. (2024). Climate Change Impact Analysis on Plantation. 2024 11th International Conference on Reliability, Infocom Technologies and Optimization (Trends and Future Directions) (ICRITO) (14–15 March 2024), Noida. https://doi.org/10.1109/ICRITO61523.2024.10522182

Rupp, D. E., Daly, C., Doggett, M. K., Smith, J. I., & Steinberg, B. (2022). Mapping an observation-based global solar irradiance climatology across the conterminous United States. Journal of Applied Meteorology and Climatology, 61(7), 857–876. https://doi.org/10.1175/jamc-d-21-0236.1

Sahoo, S., Singha, C., & Govind, A. (2024). Advanced prediction of rice yield gaps under climate uncertainty using machine learning techniques in Eastern India. Journal of Agriculture and Food Research, 18, 101424. https://doi.org/10.1016/j.jafr.2024.101424

Schaarschmidt, S., Lawas, L. M. F., Glaubitz, U., Li, X., Erban, A., Kopka, J., Krishna Jagadish, S. V., ... & Zuther, E. (2020). Season affects yield and metabolic profiles of rice (Oryza sativa) under high night temperature stress in the field. International Journal of Molecular Sciences, 21(9), 3187. https://doi.org/10.3390/ijms21093187

Setiawan, R. N., Febrilia, B. R. A., & Kusuma, W. (2023). Peramalan indeks harga yang dibayar petani (pupuk dan pestisida) di provinsi Nusa Tenggara barat menggunakan metode ARIMA intervensi. Agrimansion, 24(2), 430–438. https://doi.org/10.29303/agrimansion.v24i2.1535

Tamilmani, A., & Muthuramalingam, K. (2024). An enhanced support vector machine bbased multiclass classification method for crop prediction. The Scientific Temper, 15(spl-1), 254–264. https://www.researchgate.net/publication/387781719

Trisia, M. A., Osozawa, K., & Bai, H. (2016). How to feed 311 million of Indonesian people by 2050? Advancing local food adaptation and food security policy. KnE Life Sciences, 3(3), 49–54. https://doi.org/10.18502/kls.v3i3.417

Tuama, M. H. (2025). A comparative evaluation of random forest and XGBoost models for disease detection using medical indicators. International Journal of Professional Studies, 19(19), 11–18. https://doi.org/10.37648/ijps.v1

Veysi, S., & Galehban, E. (2024). Conceptual of soil moisture based on remote sensing and reanalysis dataset. In A. M. Melesse, O. Rahmati, … G. P. Petropoulos (Eds), Remote Sensing of Soil and Land Surface Processes: Monitoring, Mapping, and Modeling (pp. 77–98). Elsevier BV. https://doi.org/10.1016/b978-0-443-15341-9.00020-4

Wu, W., Chen, L., Liang, R., Huang, S., Li, X., Huang, B., Luo, H., Zhang, M., Wang, X., & Zhu, H. (2024). The role of light in regulating plant growth, development and sugar metabolism: a review. Frontiers in Plant Science, 15, 1507628. https://doi.org/10.3389/fpls.2024.1507628

Xiong, Y. (2025). Temperature and humidity prediction based on machine learning. ITM Web of Conferences, 70, 4004. https://doi.org/10.1051/itmconf/20257004004

Yunis, R., Sudarto, & Adiputra Pardosi, I. (2024). Enhancing rice production prediction: a comparative machine learning analysis of climate variables. Jurnal Nasional Pendidikan Teknik Informatika, 13(1), 91–104. https://doi.org/10.23887/janapati.v13i1.71527

Published

2025-06-30

How to Cite

Mulyaqin, T., Nurmalina, R., Kusnadi, N., & Trisasongko, B. H. (2025). Effect of climate and economic factors on rice production: machine learning approach. Journal of Innovations and Sustainability, 9(2), 07. https://doi.org/10.51599/is.2025.09.02.07

Issue

Section

Economic sciences