Comparative Analysis of ARIMAX, Support Vector Regression, and Linear Regression for Rice Price Prediction Using Weather-Based Time Series Features
DOI:
https://doi.org/10.30871/jaic.v10i2.12366Keywords:
Rice Prices, Support Vector Regression, Linear Regression, Price Prediction, Time Series, Machine LearningAbstract
Rice prices are an important indicator of economic stability and food security in Indonesia. Rice price fluctuations are influenced by various factors, including weather conditions, making accurate predictive models necessary to capture data patterns effectively. This study aims to compare the performance of ARIMAX, Support Vector Regression (SVR), and Linear Regression (LR) methods in predicting medium and premium rice prices using a time series approach with rainfall as an external variable. The data used consist of daily rice price data from 2023–2025 obtained from the Department of Industry and Trade of Central Java Province and rainfall data from NASA POWER. The study applies preprocessing, feature lag, and time-based validation (time-based split), while also using Naïve Forecasting as a baseline model. Model evaluation was conducted using MAE, RMSE, and R² Score. The results show that Naïve Forecasting achieved the best performance for both commodities. Among the proposed models, SVR demonstrated the best performance for medium rice with an MAE of 26.03 Rupiah/kg, RMSE of 33.57 Rupiah/kg, and R² of 0.85, while Linear Regression showed relatively good performance for premium rice with an MAE of 42.54 Rupiah/kg, RMSE of 62.74 Rupiah/kg, and R² of 0.92. Meanwhile, ARIMAX did not achieve optimal performance. The Wilcoxon Signed-Rank Test results indicate that the performance differences among models are statistically significant (p-value < 0.001). This study contributes through the implementation of a comparative time series evaluation framework that integrates feature lag, external variables, time-based validation, and baseline forecasting for food commodity price prediction.
Downloads
References
[1] M. Z. Gapari, “Pengaruh kenaikan harga beras terhadap kesejahteraan petani di desa sukaraja,” vol. 3, no. April, pp. 14–26, 2021.
[2] A. D. Lestari, E. Erlikasna, C. Ridho, I. Breta, and M. Daniyal, “Dampak Fluktuasi Harga Beras , Bawang Merah , Cabai Terhadap Inflasi Impact of Price Fluctuations of Rice , Shallots , Chilies on Inflation,” pp. 219–226.
[3] D. Saputra, D. Raihan Trinadi, D. Agustina, and P. Pujianto, “Perbandingan Metode Random Forest, Linear Regression, SVM Untuk Memprediksi Harga Beras Premium,” Pros. Semin. Nas. Teknol. Inf. dan Bisnis, pp. 154–160, 2025, doi: 10.47701/yqx4ss53.
[4] Aviva Pradasyah and A. Baita, “Comparative Study of Support Vector Regression and Long Short-Term Memory for Stock Price Prediction,” J. Appl. Informatics Comput., vol. 9, no. 4, pp. 1301–1311, 2025, doi: 10.30871/jaic.v9i4.9425.
[5] A. A. Suyono and R. Arief, “Prediksi Indeks Harga Konsumen Komoditas Makanan di Kota Surabaya menggunakan Support Vector Regression,” 2022, doi: 10.47002/metik.v6i1.339.
[6] C. A. Bahri and K. D. Tania, “Perbandingan Kinerja LSTM , Random Forest , dan SVR Berbasis Knowledge Discovery untuk Prediksi Harga Beras Sumatera Selatan,” vol. 12, no. 5, pp. 721–732, 2025, doi: 10.30865/jurikom.v12i5.9140.
[7] A. T. Widiyatmoko, S. Butsianto, and A. Nugroho, “Application of Machine Learning for Premium Rice Price Increase Prediction Using Linear Regression Algorithm Penerapan Machine Learning untuk Prediksi Kenaikan Harga Beras Premium Menggunakan Algoritma Regresi Linear,” vol. 5, no. July, pp. 1125–1132, 2025.
[8] V. Arinal and M. Azhari, “Penerapan Regresi Linear untuk Prediksi Harga Beras di Indonesia,” J. Sains dan Teknol., vol. 5, no. 1, pp. 341–346, 2023, [Online]. Available: http://ejournal.sisfokomtek.org/index.php/saintek/article/download/1417/1109
[9] N. Niako, J. D. Melgarejo, G. E. Maestre, and K. P. Vatcheva, Effects of missing data imputation methods on univariate blood pressure time series data analysis and forecasting with ARIMA and LSTM, vol. 24, no. 1. 2024. doi: 10.1186/s12874-024-02448-3.
[10] Nimatul Mamuriyah, Richard, and Haeruddin, “Implementation Mean Imputation and Outlier Detection for Loan Prediction Using the Random Forest Algorithm,” JITK (Jurnal Ilmu Pengetah. dan Teknol. Komputer), vol. 10, no. 4, pp. 937–944, 2025, doi: 10.33480/jitk.v10i4.6437.
[11] Shabila Ocktavia and Wahyu T Atmojo, “Analisis Segmentasi Pelanggan Pembiayaan Berdasarkan Demografi Untuk Memprediksi Tingkat Kredit Menggunakan Algoritma K-Means,” J. Inform. Teknol. dan Sains, vol. Vol 7, pp. 394–402, 2025.
[12] G. Brandon Abelio Ogaden et al., “Perbandingan RFE dan SelectKbest untuk Klasifikasi Penyakit Diabetes dengan Random Forest,” Jnatia, vol. 3, no. 3, p. 2025, 2025.
[13] K. Hidayat, W. Witanti, E. Ramadhan, F. Sains Dan Informatika, and U. Jenderal Achmad Yani, “Analisis Tren dan Prediksi Penjualan Restoran Menggunakan Model Time Series Prophet,” Metik J., vol. 9, p. 2025, 2025, doi: 10.47002/metik.v9i2.1101.
[14] M. Khairani and I. Zufria, “Klasifikasi Tingkatan Perokok dengan Analisis Data Survei Masyarakat menggunakan Algoritma K-Means dan XGBoost,” J. Edukasi dan Penelit. Inform., vol. 11, no. 2, pp. 230–241, 2025.
[15] D. N. Handayani and S. Qutub, “Penerapan Random Forest Untuk Prediksi Dan Analisis Kemiskinan,” vol. 4, no. 2, pp. 406–412, 2025.
[16] M. Y. T. Sulistyono, E. S. Pane, E. M. Yuniarno, and M. H. Purnono, “Hybrid Significant Stroke Feature: A Novel Stroke Feature Analysis Approach for Stroke Severity Classification of EEG Signals Based on Time Domain, Frequency Domain, and Signal Decomposition Domain,” Int. J. Intell. Eng. Syst., vol. 17, no. 6, pp. 1241–1267, 2024, doi: 10.22266/ijies2024.1231.91.
[17] M. A. Adam, H. Y. Chrisnanto, and R. F. Umbara, “Prediksi Pola Keuangan pada Pasar Saham Bursa Efek Indonesia Menggunakan Algoritma Support Vector Machine For Regression (SVR),” J. Edukasi dan Penelit. Inform., vol. 10, no. 3, pp. 476–484, 2024.
[18] A. N. Maharadja, I. Maulana, and B. A. Dermawan, “Penerapan Metode Regresi Linear Berganda untuk Prediksi Kerugian Negara Berdasarkan Kasus Tindak Pidana Korupsi,” J. Appl. Informatics Comput., vol. 5, no. 1, pp. 95–102, 2021, doi: 10.30871/jaic.v5i1.3184.
[19] Muhammad Iqbal, Rozzi Kesuma Dinata, and Rizki Suwanda, “Comparison of Linear Regression and Polynomial Regression for Predicting Rice Prices in Lhokseumawe City,” J. Sisfokom (Sistem Inf. dan Komputer), vol. 14, no. 3, pp. 387–394, 2025, doi: 10.32736/sisfokom.v14i3.2396.
[20] F. Riestiansyah, D. Damayanti, M. Reswara, and R. Susetyoko, “Perbandingan metode ARIMA dan ARIMAX dalam Memprediksi Jumlah Wisatawan Nusantara di Pulau Bali,” vol. 7, no. 2, 2022.
[21] J. Halif, D. Wahiddin, I. Sanjaya, and S. Faisal, “Model Regresi Linear Berganda untuk Prediksi Tingkat Pengangguran di Provinsi Jawa Barat,” J. Algoritm., vol. 22, no. 1, pp. 324–335, 2025, doi: 10.33364/algoritma/v.22-1.2312.
[22] D. I. Mulyana and Marjuki, “Optimasi Prediksi Harga Udang Vaname Dengan Metode Rmse Dan Mae Dalam Algoritma Regresi Linear,” J. Ilm. Betrik, vol. 13, no. 1, pp. 50–58, 2022, doi: 10.36050/betrik.v13i1.439.
[23] R. Linear and J. Zakaria, “Metode Regresi Linear Sederhana,” vol. 7, no. 4, pp. 2884–2888, 2023.
[24] G. A. Mukhbita, I. Masti, N. I. Fazila, R. Wahyuni, and Y. Wulan, “Perbandingan Nilai Uts Dan Uas Matematika Siswa Kelas Iv Sdn Rawa Badak Utara 23 Menggunakan Uji Wilcoxon Signed Rank Test,” vol. 4, no. 2, pp. 83–87, 2025.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 MY Teguh Sulistyono, Fatimah Tuzahra

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:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License (Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) ) that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an 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 website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).








