Beyond Historical Prices: Weather and Eid Features in Weekly Curly Red Chili Price Forecasting
DOI:
https://doi.org/10.29408/edumatic.v10i3.36932Keywords:
agricultural commodity price prediction, eid calendar indicators, exogenous features, feature evaluation, time-series forecastingAbstract
Chili prices fluctuate sharply; prior forecasts used weather and holidays, but their incremental value across algorithms and periods remains uncertain. This study assessed how consistently they forecast Padang’s median curly red chili prices for the next week. A Knowledge Discovery in Databases workflow integrated PIHPS Nasional prices, NASA POWER weather, and official Eid al-Fitr and Eid al-Adha dates for 2017–2026. We compared Ridge Regression, Random Forest, and Gradient Boosting across historical-temporal features (S1), added weather (S2), added Eid indicators (S3), and both (S4). Five-fold TimeSeriesSplit with a one-observation gap selected S1 Ridge. Evaluation used 76 final-test weeks, Naive Forecast, and 2022–2024 backtests. S1 reduced test RMSE by 2.94% against Naive Forecast. S2 lowered test RMSE only for Ridge; S3 reduced it by 0.73–1.01% across algorithms. All nine 95% block-bootstrap confidence intervals for RMSE reductions relative to S1 included zero. For Ridge, S3 reduced holiday-week RMSE by 29.78%, falling to 4.01% after excluding one of four Eid events. Pre-holiday RMSE increased by 5.95%. Historical backtests showed inconsistent gains. These findings support evaluating external features through incremental accuracy, uncertainty, and temporal consistency; positive average gains alone do not demonstrate reliable predictive value. Transferability beyond Padang remains untested.
References
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), 721–732. https://doi.org/10.30865/jurikom.v12i5.9140
Chaitra, B., & Meena, K. (2026). Fuel-driven hybrid deep learning model for forecasting finger millet prices. Scientific Reports, 16(1). https://doi.org/10.1038/s41598-025-34947-8
Devianto, D., Wahyuni, E., Maiyastri, M., & Yollanda, M. (2024). The seasonal model of chili price movement with the effect of long memory and exogenous variables for improving time series model accuracy. Frontiers in Applied Mathematics and Statistics, 10. https://doi.org/10.3389/fams.2024.1408381
Faisa, D. K. K., & Salam, A. (2026). Beyond Predictive Accuracy: Enhancing Parameter Stability in Multicollinear Time Series Forecasting via Regularisation. Edumatic: Jurnal Pendidikan Informatika, 10(1), 70–79. https://doi.org/10.29408/edumatic.v10i1.33925
Li, Q., Wang, X., Qin, X., Yu, F., Luan, R., Ping, Y., Yang, W., & Zhang, L. (2026). A Weekly E-Commerce Seed Price Index and Short-Term Forecasting System: Evidence from Tomato, Pepper, and Lettuce. Agriculture (Switzerland), 16(15). https://doi.org/10.3390/agriculture16151620
Mahajan, P., Muley, A. A., & Fegade, M. R. (2026). Forecasting agricultural commodity prices using machine learning models. Discover Informatics, 1(1), 15. https://doi.org/10.1007/s44564-026-00015-0
Manogna, R. L., Dharmaji, V., & Sarang, S. (2025). Enhancing agricultural commodity price forecasting with deep learning. Scientific Reports, 15(1). https://doi.org/10.1038/s41598-025-05103-z
Matondang, M. R., Krisnamurthi, B., & Herawati, H. (2024). Price fluctuations and volatility of national strategic food commodities in Indonesia. Agrisocionomics: Jurnal Sosial Ekonomi Pertanian, 8(1), 134–146. https://doi.org/10.14710/agrisocionomics.v8i1.17753
Muflikh, Y. N., Smith, C., Brown, C., Kusnadi, N., Kiloes, A. M., & Aziz, A. A. (2024). Integrating system dynamics to value chain analysis to address price volatility in the Indonesian chilli value chain. Food Policy, 128. https://doi.org/10.1016/j.foodpol.2024.102713
Murtani, M., Kobi, D., & Imelda, I. (2026). Multi-commodity food price forecasting ahead of Eid al-Fitr in Indonesia (2026–2030): A comparative study of machine learning algorithms using time-series data. MALCOM: Indonesian Journal of Machine Learning and Computer Science, 6(1), 404–413. https://doi.org/10.57152/malcom.v6i1.2572
Mutiara, T., Al Arif, M. N. R., & Anwar, M. (2025). The Rising Food Prices in Ramadan and Its Impact on Inflation. Signifikan: Jurnal Ilmu Ekonomi, 14(2). https://doi.org/10.15408/sjie.v14i2.46417
Nayak, G. H. H., Alam, M. W., Singh, K. N., Avinash, G., Kumar, R. R., Ray, M., & Deb, C. K. (2024). Exogenous variable driven deep learning models for improved price forecasting of TOP crops in India. Scientific Reports, 14(1). https://doi.org/10.1038/s41598-024-68040-3
Pardede, J., Setyaningrum, A. P., Premitasari, M., & Al-Fadhlih, M. I. (2025). Impact of feature engineering on XGBoost model for forecasting cayenne pepper prices. Scientific Journal of Informatics, 12(4), 651–664. https://doi.org/10.15294/sji.v12i4.32157
Salsabila, N., Damaliana, A. T., & Saputra, W. S. J. (2025). ARIMAX dengan variasi kalender Idul Adha dan Natal untuk prediksi harga komoditas cabai keriting di Jawa Timur. Jurnal INSTEK (Informatika Sains dan Teknologi), 10(2), 389–401. https://doi.org/10.24252/instek.v10i2.59520
Sari, M., Duran, S., Kutlu, H., Guloglu, B., & Atik, Z. (2024). Various optimized machine learning techniques to predict agricultural commodity prices. Neural Computing and Applications, 36(19), 11439–11459. https://doi.org/10.1007/s00521-024-09679-x
Siaga, E., Meihana, M., Lumbantoruan, S. M., Sakagami, J.-I., & Lakitan, B. (2024). Karakter Morfo-agronomi Tanaman Cabai Merah (Capsicum annum L.) Fase Awal Vegetatif pada Kondisi Stres Jenuh Air. Jurnal Ilmu Pertanian Indonesia, 29(2), 236–243. https://doi.org/10.18343/jipi.29.2.236
Utari, C. T., Arya, M. T., Sembiring, P., Rizq, M. H., & Siregar, Z. (2025). Analisis komparasi algoritma ARIMA dan LSTM pada prediksi harga cabai merah keriting harian. Building of Informatics, Technology and Science (BITS), 7(3), 1932-1942. https://doi.org/10.47065/bits.v7i3.8784
Vairo, A., Romano, F., & Grilli, L. (2026). Assessing the role of weather in commodity price forecasting: evidence from fine durum wheat. Computational Management Science, 23(2). https://doi.org/10.1007/s10287-026-00576-3
Warman, R., Rahma, H., Darnetty, & Noveriza, R. (2025). Fungal diversity associated with anthracnose in chili peppers of West Sumatra, Indonesia, using conventional and NGS approaches. Biodiversitas, 26(9), 4257–4266. https://doi.org/10.13057/biodiv/d260901
Yandar, K. L., Revelo Sánchez, O., & Bolaños Gonzales, M. (2026). Joint Forecasting of Energy Consumption and Generation in P2P Networks Using LSTM–CNN and Transformers. Energies, 19(3). https://doi.org/10.3390/en19030760
Zhang, Q., Yang, W., Zhao, A., Wang, X., Wang, Z., & Zhang, L. (2024). Short-term forecasting of vegetable prices based on LSTM model—Evidence from Beijing’s vegetable data. Plos one, 19(7), e0304881. https://doi.org/10.1371/journal.pone.0304881
Zhu, Y., Chuluunsaikhan, T., Choi, J. H., & Nasridinov, A. (2025). Integrating structured and unstructured data for livestock price forecasting: a sustainability study from South Korea. Frontiers in Sustainable Food Systems, 9. https://doi.org/10.3389/fsufs.2025.1613616
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Andin Sabilla Janna, Dedy Kurniawan, Ken Ditha Tania, Mira Afrina, Apriansyah Putra

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
All articles in this journal are the sole responsibility of the authors. Edumatic: Jurnal Pendidikan Informatika can be accessed free of charge, in accordance with the Creative Commons license used.

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


