Article Open Access

Comparative Performance Evaluation of ARIMA, SARIMA, and LSTM for Daily Shallot Price Forecasting in Palembang City

(1) Fatreisya Ayu Miranda Mail (Department of Information Systems, Universitas Sriwijaya, Sumatera Selatan, 30139, Indonesia)
(2) * Ken Ditha Tania Mail (Department of Information Systems, Universitas Sriwijaya, Sumatera Selatan, 30139, Indonesia)
(3) Rizka Dhini Kurnia Mail (Department of Information Systems, Universitas Sriwijaya, Sumatera Selatan, 30139, Indonesia)
*Corresponding author

Abstract


Shallots are a food commodity that often experiences price fluctuations and is one of the contributors to inflation in the city of Palembang. This study compares the ARIMA, SARIMA, and LSTM methods in predicting shallot prices using daily data start from January 2020 to October 2025. The Data of shallot price were obtained through the official website of Bank Indonesia. The stages of the study included data collection, pre-processing, visualization and decomposition, split data, modeling, and performance evaluation using the RMSE, MAE, and MAPE metrics. Model performance assessment reveals that ARIMA(1,1,1) method provided the most optimal performance with the lowest error value in comparison with the remaining two other methods, namely SARIMA and LSTM. The SARIMA(1,1,1)(2,1,1)7 model produced a slightly higher error rate, although its performance remains superior than LSTM model. The LSTM method produced the highest error in this study. These findings indicate that the pattern of shallot price data in Palembang tends to follow linear and seasonal trends that are not too complex, so that classical statistical approaches are still superior to deep learning models in capturing these data patterns. This research provides practical contributions as a decision-making support tool for the government and business actors in planning the distribution and stabilization of shallot prices in Palembang City.

Keywords


Shallot Price; ARIMA; SARIMA; LSTM; Time Series Prediction

   

DOI

https://doi.org/10.33122/ejeset.v6i2.1323
      

Article metrics

Abstract views : 202 | PDF views : 3

   

Cite

   

Full Text

Download

References


Al Rosyid, A. H., Viana, C. D. N., & Saputro, W. A. (2021). Penerapan Model Box Jenkins (ARIMA) dalam Peramalan Harga Konsumen Bawang Merah di Provinsi Jawa Tengah. Agri Wiralodra, 13(1), 29–37. https://doi.org/https://doi.org/10.31943/agriwiralodra.v13i1.19

Alabdulrazzaq, H., Alenezi, M. N., Rawajfih, Y., Alghannam, B. A., Al-Hassan, A. A., & Al-Anzi, F. S. (2021). On the accuracy of ARIMA based prediction of COVID-19 spread. Results in Physics, 27. https://doi.org/10.1016/j.rinp.2021.104509

Alawiyah, T., Permadi, I., Afuan, L., Maryanto, E., & Rahayu, S. P. (2024). Implementation of Autoregressive Integrated Moving Average (ARIMA) Method for PT XL AXIATA TBK Stock Price Prediction with Website-based Dashboard Visualization. Jurnal Teknik Informatika (Jutif), 5(4), 1205–1211. https://doi.org/10.52436/1.jutif.2024.5.4.2700

Anees, R. A. S., Khoirani, N. M., Silfa, F. P. A., & Hasna, R. A. (2022). Peramalan Harga Bawang Merah di Pasar Tradisional Sulawesi Selatan dengan Metode ARIMA. Jurnal Agribisnis, 24(2), 274–287. https://doi.org/https://doi.org/10.31849/agr.v24i2.8670

Badan Pusat Statistik Nasional. (2025, January 24). Rata-rata Konsumsi Perkapita Seminggu Menurut Kelompok Sayur-Sayuran Per Kabupaten/kota (Satuan Komoditas). https://www.bps.go.id/id/statistics-table/2/MjEwMCMy/rata-rata-konsumsi-perkapita-seminggu-menurut-kelompok-sayur-sayuran-per-kabupaten-kota--satuan-komoditas-.html

Badan Pusat Statistik Provinsi Sumatera Selatan. (2025). Inflasi Provinsi Sumatera Selatan 2024 (Vol. 11).

Bahri, C. A., & Tania, K. D. (2025). Perbandingan Kinerja LSTM, Random Forest, dan SVR Berbasis Knowledge Discovery untuk Prediksi Harga Beras Sumatera Selatan. JURIKOM (Jurnal Riset Komputer), 12(5), 2407–389. https://doi.org/10.30865/jurikom.v12i5.9140

Bank Indonesia. (n.d.). Tabel Harga Bawang Merah Berdasarkan Daerah. Retrieved November 1, 2025, from https://www.bi.go.id/hargapangan/TabelHarga/PasarTradisionalDaerah

Caesar, B. Y., Hadiono, K., & Ardhianto, E. (2025). Evaluasi empiris model ARIMA dan LSTM dalam konteks peramalan penjualan mobil Toyota. AITI: Jurnal Teknologi Informasi, 22(2), 221–235. https://doi.org/https://doi.org/10.24246/aiti.v22i2.221-235

Cintani, M., Nizar, Y. A., Angraini, Y., Notodiputro, K. A., & Mualifah, L. N. A. (2025). Evaluation of the SARIMA and Prophet Models in Forecasting Ship Passenger Numbers at Balikpapan Port. Jambura Journal of Mathematics, 7(2), 120–128. https://doi.org/https://doi.org/10.37905/jjom.v7i2.31606

Faisal, A. N. M. F., Rahman, A., Habib, M. T. M., Siddique, A. H., Hasan, M., & Khan, M. M. (2022). Neural networks based multivariate time series forecasting of solar radiation using meteorological data of different cities of Bangladesh. Results in Engineering, 13, 100365. https://doi.org/10.1016/j.rineng.2022.100365

Fauzi, F., Aulia, S., Syaifullah, A. R., & Utami, T. W. (2024). Peramalan Harga Emas Menggunakan Pendekatan Long-Short Term Memory (LSTM). JEPIN (Jurnal Edukasi Dan Penelitian Informatika), 10(2), 252–257. https://doi.org/https://doi.org/10.26418/jp.v10i2.78332

Febiola, A., Dewi, A., Fazarin, F. M., Ramadhani, F., Khaffi, M. A., Akbar, R., & Dalimunthe, D. Y. (2024). Perbandingan Metode ARIMA dan SARIMA Dalam Peramalan Jumlah Penumpang Bandara Provinsi Kepulauan Bangka Belitung. Jambura Journal of Mathematics, 6(2). https://doi.org/10.37905/jjom.v6i2.25081

Koukaras, P., & Tjortjis, C. (2025). Data Preprocessing and Feature Engineering for Data Mining: Techniques, Tools, and Best Practices. In AI (Switzerland) (Vol. 6, Issue 10). Multidisciplinary Digital Publishing Institute (MDPI). https://doi.org/10.3390/ai6100257

Kumar Dubey, A., Kumar, A., García-Díaz, V., Kumar Sharma, A., & Kanhaiya, K. (2021). Study and analysis of SARIMA and LSTM in forecasting time series data. Sustainable Energy Technologies and Assessments, 47. https://doi.org/10.1016/j.seta.2021.101474

M, H. P., Rehman, M. Z., Dar, A. A., & Wangmo A, T. (2024). Forecasting CO2 Emissions in India: A Time Series Analysis Using ARIMA. Processes, 12(12). https://doi.org/https://doi.org/10.3390/pr12122699

Madhika, Y. R., Kusrini, & Hidayat, T. (2023). Gold Price Prediction Using the ARIMA and LSTM Models. Sinkron : Jurnal Dan Penelitian Teknik Informatika, 7(3), 1255–1264. https://doi.org/10.33395/sinkron.v8i3.12461

Menteng, A. K., & Rozi, A. F. (2025). Prediksi hasil panen padi berdasarkan data curah hujan, suhu, dan kelembapan dengan metode ARIMA. Jurnal Pendidikan Informatika Dan Sains, 14(1), 150–159. https://doi.org/10.31571/saintek.v14i1.9292

MY, H. U., Setyowati, S. L., Notodiputro, K. A., Angraini, Y., & Mualifah, L. N. A. (2024). Comparison of Seasonal ARIMA and Support Vector Machine Forecasting Method for International Arrival in Lombok. Jambura Journal of Mathematics, 6(2), 212–219. https://doi.org/https://doi.org/10.37905/jjom.v6i2.26478

Ning, Y., Kazemi, H., & Tahmasebi, P. (2022). A comparative machine learning study for time series oil production forecasting: ARIMA, LSTM, and Prophet. Computers and Geosciences, 164. https://doi.org/10.1016/j.cageo.2022.105126

Novalia, V., Tania, K. D., Meiriza, A., & Wedhasmara, A. (2024). Knowledge Discovery of Application Review Using Word Embedding’s Comparison with CNN-LSTM Model on Sentiment Analysis. ICECOS 2024 - 4th International Conference on Electrical Engineering and Computer Science, Proceeding, 234–238. https://doi.org/10.1109/ICECOS63900.2024.10791113

Prasojo, Y. D., & Muludi, K. (2025). Passenger Density Prediction at the Airport Using LSTM and SARIMA: A Case Study at Radin Inten Airport, Lampung. In Journal of Applied Informatics and Computing (JAIC) (Vol. 9, Issue 4). http://jurnal.polibatam.ac.id/index.php/JAIC

Putra, A. P., & Harahap, A. M. (2025). Implementasi Time Series Forecasting dengan Algoritma LSTM untuk Pemantauan dan Prediksi Produktivitas Kelapa Sawit Berdasarkan Hasil Panen. JURIKOM (Jurnal Riset Komputer), 12(2), 46–56. https://doi.org/10.30865/jurikom.v12i2.8495

Ruhiat, D., & Effendi, A. (2018). Pengaruh Faktor Musiman pada Pemodelan Deret Waktu untuk Peramalan Debit Sungai dengan Metode Sarima. Teorema: Teori Dan Riset Matematika, 2(2), 117–128. https://doi.org/http://dx.doi.org/10.25157/teorema.v2i2.1075

Santoso, A. B., & Widodo, T. (2024). Predicting the Number of Forest and Land Fire Hotspot Occurrences Using the ARIMA and SARIMA Methods. Jurnal Sisfokom (Sistem Informasi Dan Komputer), 13(1), 119–129. https://doi.org/10.32736/sisfokom.v13i1.2018

Shofwatillah, L. (2025). Peramalan Curah Hujan di Provinsi Sumatera Utara Menggunakan Metode Seasonal Autoregressive Integrated Moving Average (SARIMA). Emerging Statistics and Data Science Journal, 3(3), 697–710. https://doi.org/doi.org/10.20885/esds.vol3.iss.3.art22

Sirisha, U. M., Belavagi, M. C., & Attigeri, G. (2022). Profit Prediction Using ARIMA, SARIMA and LSTM Models in Time Series Forecasting: A Comparison. IEEE Access, 10, 124715–124727. https://doi.org/10.1109/ACCESS.2022.3224938

Siswanto, J., Hendry, Rahardja, U., Sembiring, I., & Lisangan, E. A. (2025). Predicting Transjakarta Passengers with LSTM-BiLSTM Deep Learning Models for Smart Transportpreneurship. APTISI Transactions on Technopreneurship, 7(1), 84-96-84–96. https://doi.org/10.34306/att.v7i1.440

Sofiah, N. A., Tania, K. D., Meiriza, A., & Wedhasmara, A. (2024). A Comparative Assessment SARIMA and LSTM Models for the Gurugram Air Quality Index’s Knowledge Discovery. 2024 International Conference on Electrical Engineering and Computer Science (ICECOS), 26–31. https://doi.org/10.1109/ICECOS63900.2024.10791243

Suryawan, I. G. T., Putra, I. K. N., Meliana, P. M., & Sudipa, I. G. I. (2024). Performance Comparison of ARIMA, LSTM, and Prophet Methods in Sales Forecasting. Sinkron, 8(4), 2410–2421. https://doi.org/10.33395/sinkron.v8i4.14057

Triyadi, A., Suwondo, A., Asmarajati, D., Hasanah, N., & Asnawi, M. F. (2024). Prediksi Harga Bawang Merah Kering di Wonosobo Menggunakan Metode Long Short Term Memory. STORAGE – Jurnal Ilmiah Teknik Dan Ilmu Komputer, 3(2), 133–138. https://doi.org/https://doi.org/10.55123/storage.v3i2.3601

Zahara, S., & Sugianto. (2021). Forecasting Consumer Price Index Data Based on Multivariate Time Series Using Deep Learning. Jurnal RESTI, 5(1), 24–30. https://doi.org/https://doi.org/10.29207/resti.v5i1.2562

Zhou, J., & Wang, S. (2021). A carbon price prediction model based on the secondary decomposition algorithm and influencing factors. Energies, 14(5). https://doi.org/10.3390/en14051328


Refbacks

  • There are currently no refbacks.


Copyright (c) 2025 Fatreisya Ayu Miranda, Ken Ditha Tania*, Rizka Dhini Kurnia

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

 
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0