COMPARING FORECASTS OF AGRICULTURAL SECTOR EXPORT VALUES USING SARIMA AND LONG SHORT-TERM MEMORY MODELS
Abstract
Indonesia's agricultural sector plays a crucial role in the national economy, with significant export potential and supporting the livelihoods of the majority of the population. As part of the government's vision to make Indonesia the world's food barn by 2045, increasing the volume and value of agricultural product exports is a primary focus, making export value forecasting essential for supporting strategic decision-making. Sequential data analysis is an important approach in analyzing data collected over a specific period. This study aims to compare two popular methods in forecasting the export value of the agricultural sector, namely the Seasonal AutoRegressive Integrated Moving Average (SARIMA) model and the Long Short-Term Memory (LSTM) model. Monthly agricultural export data from West Java Province from January 2013 to February 2024 were used as the dataset. The best SARIMA model generated was (1,1,1)(0,1,1)12, while the optimal parameters for the LSTM model were neuron: 50, dropout rate: 0.3, number of layers: 2, activation function: relu, epochs: 500, batch size: 64, optimizer: Adam, and learning rate: 0.01. Evaluation was performed using the Root Mean Squared Error (RMSE) method to measure the accuracy of both models in forecasting the export value of the agricultural sector. The results showed that the LSTM model outperformed the SARIMA model, with a lower RMSE value (SARIMA: 4182.133 and LSTM: 1939.02). This research provides valuable insights for decision-makers in planning agricultural sector export strategies in the future. With this comparison, it is expected to provide better guidance in selecting forecasting methods suitable for the characteristics of the data.
Downloads
References
S. U. Nabila, N. R. Dewi, A. R. JL, and W. H. Tullah, “Pemodelan dan Peramalan Data Ekspor Sektor Pertanian Menggunakan Model Vector Autoregressive (VAR),” J. Math. Educ. Sci., vol. 6, no. 1, pp. 19–28, 2022, doi: 10.32665/james.v6i1.1030.
B. Gülmez, “Stock price prediction with optimized deep LSTM network with artificial rabbits optimization algorithm,” Expert Syst. Appl., vol. 227, 2023, doi: 10.1016/j.eswa.2023.120346.
A. Rizki, “Aplikasi Model ARIMA dalam Peramalan Data Harga Emas Dunia Tahun 2010-2022,” J. Stat. dan Apl., vol. 7, no. 1, 2023, doi: 10.21009/jsa.07108.
S. Khan and H. Alghulaiakh, “ARIMA model for accurate time series stocks forecasting,” Int. J. Adv. Comput. Sci. Appl., vol. 11, no. 7, 2020, doi: 10.14569/IJACSA.2020.0110765.
A. Iswari, Y. Angraini, and M. Masjkur, “Comparison of The SARIMA Model and Intervention in Forecasting The Number of Domestic Passengers at Soekarno-Hatta International Airport,” Indones. J. Stat. Its Appl., vol. 6, no. 1, pp. 132–146, 2022, doi: 10.29244/ijsa.v6i1p132-146.
M. A. Majeed, H. Z. M. Shafri, Z. Zulkafli, and A. Wayayok, “A Deep Learning Approach for Dengue Fever Prediction in Malaysia Using LSTM with Spatial Attention,” Int. J. Environ. Res. Public Health, vol. 20, no. 5, 2023, doi: 10.3390/ijerph20054130.
P. L. Seabe, C. R. B. Moutsinga, and E. Pindza, “Forecasting Cryptocurrency Prices Using LSTM, GRU, and Bi-Directional LSTM: A Deep Learning Approach,” Fractal Fract., vol. 7, no. 2, 2023, doi: 10.3390/fractalfract7020203.
A. Wanto et al., “Forecasting the Export and Import Volume of Crude Oil, Oil Products and Gas Using ANN,” in Journal of Physics: Conference Series, 2019, vol. 1255, no. 1, doi: 10.1088/1742-6596/1255/1/012016.
R. Erlina and R. Azhar, “FORECASTING MODEL OF AGRICULTURE COMMODITY OF VALUE EXPORT OF COFFEE; APPLICATION OF ARIMA MODEL,” J. Tek. Pertan. Lampung (Journal Agric. Eng., vol. 9, no. 3, 2020, doi: 10.23960/jtep-l.v9i3.257-263.
A. K. Mahto, M. A. Alam, R. Biswas, J. Ahmad, and S. I. Alam, “Short-Term Forecasting of Agriculture Commodities in Context of Indian Market for Sustainable Agriculture by Using the Artificial Neural Network,” J. Food Qual., vol. 2021, 2021, doi: 10.1155/2021/9939906.
T. Falatouri, F. Darbanian, P. Brandtner, and C. Udokwu, “Predictive Analytics for Demand Forecasting - A Comparison of SARIMA and LSTM in Retail SCM,” in Procedia Computer Science, 2022, vol. 200, doi: 10.1016/j.procs.2022.01.298.
U. M. Sirisha, M. C. Belavagi, and G. Attigeri, “Profit Prediction Using ARIMA, SARIMA and LSTM Models in Time Series Forecasting: A Comparison,” IEEE Access, vol. 10, 2022, doi: 10.1109/ACCESS.2022.3224938.
G. Jain and B. Mallick, “A Review on Weather Forecasting Techniques,” IJARCCE, vol. 5, no. 12, 2016, doi: 10.17148/ijarcce.2016.51237.
V. I. Kontopoulou, A. D. Panagopoulos, I. Kakkos, and G. K. Matsopoulos, “A Review of ARIMA vs. Machine Learning Approaches for Time Series Forecasting in Data Driven Networks,” Future Internet, vol. 15, no. 8. 2023, doi: 10.3390/fi15080255.
M. K. Islam, N. M. S. Hassan, M. G. Rasul, K. Emami, and A. A. Chowdhury, “Forecasting of Solar and Wind Resources for Power Generation,” Energies, vol. 16, no. 17. 2023, doi: 10.3390/en16176247.
Z. Zhao et al., “Study on the prediction effect of a combined model of SARIMA and LSTM based on SSA for influenza in Shanxi Province, China,” BMC Infect. Dis., vol. 23, no. 1, 2023, doi: 10.1186/s12879-023-08025-1.
A. A. Pierre, S. A. Akim, A. K. Semenyo, and B. Babiga, “Peak Electrical Energy Consumption Prediction by ARIMA, LSTM, GRU, ARIMA-LSTM and ARIMA-GRU Approaches,” Energies, vol. 16, no. 12, 2023, doi: 10.3390/en16124739.
Z. Alshingiti, R. Alaqel, J. Al-Muhtadi, Q. E. U. Haq, K. Saleem, and M. H. Faheem, “A Deep Learning-Based Phishing Detection System Using CNN, LSTM, and LSTM-CNN,” Electron., vol. 12, no. 1, 2023, doi: 10.3390/electronics12010232.
Y. Yu, X. Si, C. Hu, and J. Zhang, “A review of recurrent neural networks: Lstm cells and network architectures,” Neural Computation, vol. 31, no. 7. 2019, doi: 10.1162/neco_a_01199.
A. P. Ratnasari, B. Susetyo, and K. A. Notodiputro, “Comparison of Double Random Forest and Long Short-Term Memory Methods for Analyzing Economic Indicator Data,” BAREKENG J. Ilmu Mat. dan Terap., vol. 17, no. 2, pp. 0757–0766, 2023, doi: 10.30598/barekengvol17iss2pp0757-0766.
Copyright (c) 2025 Aleytha Ilahnugrah Kurnadipare, Sri Amaliya, Khairil Anwar Notodiputro, Yenni Angraini, Laily Nissa Atul Mualifah
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this Journal agree to the following terms:
- Author retain copyright and grant the journal right of first publication with the work simultaneously licensed under a creative commons attribution license that allow others to share the work within an acknowledgement of the work’s authorship and initial publication of this journal.
- Authors are able to enter into separate, additional contractual arrangement for the non-exclusive distribution of the journal’s published version of the work (e.g. acknowledgement of its initial publication in this journal).
- Authors are permitted and encouraged to post their work online (e.g. in institutional repositories or on their websites) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published works.