Streamlit-Based Durian Yield Forecasting Using an ARIMA Model

Authors

  • Nurul Ifkah Lolona Silalahi Universitas Islam Negeri Sumatera Utara
  • Triase Triase Universitas Islam Negeri Sumatera Utara

DOI:

https://doi.org/10.55537/bigint.v4i2.1852

Keywords:

ARIMA, Agricultural Forecasting, Durian Production, Streamlit, Time Series

Abstract

Durian production in Dairi Regency, North Sumatra, fluctuates substantially across quarters, creating uncertainty for harvest planning and distribution. This study develops a lightweight decision-support system that integrates an AutoRegressive Integrated Moving Average (ARIMA) forecasting pipeline with a Streamlit web application. The source dataset contains 41,060 agricultural harvest records from 2020–2024, aggregated into 20 quarterly regional observations. The raw series was non-stationary according to the Augmented Dickey–Fuller test (ADF = −0.449, p = 0.901), while first-order differencing produced a stationary series (ADF = −4.120, p = 0.0009). Automated model search selected ARIMA (4,0,1), with AIC = 401.649 and BIC = 407.624. A chronological 80/20 holdout evaluation on the four quarters of 2024 produced an RMSE of 1.16 tons, MAE of 1.15 tons, and MAPE of 4.33%, recalculated from the reported quarter-level forecasts. The Streamlit implementation integrates data management, stationarity diagnosis, automated parameter selection, and forecast visualization. The results indicate that an interpretable ARIMA baseline can provide useful short-horizon regional forecasts when historical data are limited, although the short series requires cautious generalization and further validation.

Downloads

Download data is not yet available.

References

T. van Klompenburg, A. Kassahun, and C. Catal, “Crop yield prediction using machine learning: A systematic literature review,” Computers and Electronics in Agriculture, vol. 177, Art. no. 105709, 2020, doi: 10.1016/j.compag.2020.105709.

D. Paudel, H. Boogaard, A. de Wit, S. Janssen, S. Osinga, C. Pylianidis, and I. N. Athanasiadis, “Machine learning for large-scale crop yield forecasting,” Agricultural Systems, vol. 187, Art. no. 103016, 2021, doi: 10.1016/j.agsy.2020.103016.

M. Meroni, F. Waldner, L. Seguini, H. Kerdiles, and F. Rembold, “Yield forecasting with machine learning and small data: What gains for grains?,” Agricultural and Forest Meteorology, vols. 308–309, Art. no. 108555, 2021, doi: 10.1016/j.agrformet.2021.108555.

K. G. Liakos, P. Busato, D. Moshou, S. Pearson, and D. Bochtis, “Machine learning in agriculture: A review,” Sensors, vol. 18, no. 8, Art. no. 2674, 2018, doi: 10.3390/s18082674.

A. Kamilaris and F. X. Prenafeta-Boldú, “Deep learning in agriculture: A survey,” Computers and Electronics in Agriculture, vol. 147, pp. 70–90, 2018, doi: 10.1016/j.compag.2018.02.016.

G. E. P. Box, G. M. Jenkins, G. C. Reinsel, and G. M. Ljung, Time Series Analysis: Forecasting and Control, 5th ed. Hoboken, NJ, USA: Wiley, 2015.

R. J. Hyndman and Y. Khandakar, “Automatic time series forecasting: The forecast package for R,” Journal of Statistical Software, vol. 27, no. 3, pp. 1–22, 2008, doi: 10.18637/jss.v027.i03.

H. Akaike, “A new look at the statistical model identification,” IEEE Transactions on Automatic Control, vol. 19, no. 6, pp. 716–723, 1974, doi: 10.1109/TAC.1974.1100705.

J. H. Jeong, J. P. Resop, N. D. Mueller, D. H. Fleisher, K. Yun, E. E. Butler, D. J. Timlin, K.-M. Shim, J. S. Gerber, V. R. Reddy, and S.-H. Kim, “Random forests for global and regional crop yield predictions,” PLOS ONE, vol. 11, no. 6, Art. no. e0156571, 2016, doi: 10.1371/journal.pone.0156571.

A. Crane-Droesch, “Machine learning methods for crop yield prediction and climate change impact assessment in agriculture,” Environmental Research Letters, vol. 13, no. 11, Art. no. 114003, 2018, doi: 10.1088/1748-9326/aae159.

M. Shahhosseini, G. Hu, I. Huber, and S. V. Archontoulis, “Coupling machine learning and crop modeling improves crop yield prediction in the US Corn Belt,” Scientific Reports, vol. 11, Art. no. 1606, 2021, doi: 10.1038/s41598-020-80820-1.

D. A. Dickey and W. A. Fuller, “Distribution of the estimators for autoregressive time series with a unit root,” Journal of the American Statistical Association, vol. 74, no. 366a, pp. 427–431, 1979, doi: 10.1080/01621459.1979.10482531.

F. Petropoulos et al., “Forecasting: Theory and practice,” International Journal of Forecasting, vol. 38, no. 3, pp. 705–871, 2022, doi: 10.1016/j.ijforecast.2021.11.001.

C. Bergmeir, R. J. Hyndman, and B. Koo, “A note on the validity of cross-validation for evaluating autoregressive time series prediction,” Computational Statistics & Data Analysis, vol. 120, pp. 70–83, 2018, doi: 10.1016/j.csda.2017.11.003.

L. J. Tashman, “Out-of-sample tests of forecasting accuracy: An analysis and review,” International Journal of Forecasting, vol. 16, no. 4, pp. 437–450, 2000, doi: 10.1016/S0169-2070(00)00065-0.

R. J. Hyndman and A. B. Koehler, “Another look at measures of forecast accuracy,” International Journal of Forecasting, vol. 22, no. 4, pp. 679–688, 2006, doi: 10.1016/j.ijforecast.2006.03.001.

Streamlit, “Streamlit documentation.” Accessed: Aug. 7, 2026. [Online]. Available: https://docs.streamlit.io/

Downloads

Published

2026-08-20

How to Cite

Silalahi, N. I. L., & Triase, T. (2026). Streamlit-Based Durian Yield Forecasting Using an ARIMA Model. Bigint Computing Journal, 4(2), 68–73. https://doi.org/10.55537/bigint.v4i2.1852

Issue

Section

Article