A Study of Multivariate Time Series Clustering Based on Vector Autoregressive with Exogenous Models for Forecasting Cooking Oil Prices in Indonesia
DOI:
https://doi.org/10.20956/kxgq2516Keywords:
VARX, MTSClust, Forecasting, Cooking Oil, K-Means ChebyshevAbstract
The fluctuations in cooking oil prices in 77 regencies and cities included in the Strategic Food Price Information Center data show varying levels of volatility over time. This phenomenon presents a challenge for forecasting cooking oil prices in Indonesia in the future. Consequently, a method capable of estimating these prices is required. One such approach involves Multivariate Time Series Clustering (MTSCLUST) method based on the Vector Autoregressive with Exogenous (VARX) model. The MTSClust method is employed to map spatial time series pattern interdependencies across regions, while the VARX model is utilized for its ability to capture the dynamics of intervariable relationships influenced by external factors. This study aims to examine the application of the MTSClust method based on the VARX model in forecasting cooking oil prices in Indonesia in the future. Cluster formation results with K-Means with the Chebyshev distance metric indicate that the 77 regencies and cities in Indonesia can be grouped into three clusters, achieving excellent forecasting accuracy with MAPE values below 10%. Cluster 3 became the best cluster using the VARX (24,1) model, demonstrating optimal performance with a MAPE value of 0.228%. The findings of this study confirm that the MTSClust model with VARX integration is effective for forecasting future cooking oil prices.
References
[1] Aidil, & Sulistijanti, W. 2025. An Empirical Application of VAR Model for Cocoa Production Forecasting in Central Sulawesi. JUSTEK : Jurnal Sains Dan Teknologi, 8(2), 181–191. https://doi.org/10.31764/justek.v8i2.31531
[2] Amelia, R., Wahyuni, D., & Julianti, E. 2024. Time Series Analysis of Pneumonia Incidence and Meteorological Variables Using VAR and VECM in Pangkalpinang City. Barekeng, 18(3), 1447–1458. https://doi.org/10.30598/barekengvol18iss3pp1447-1458.
[3] Anggraini, C. S. D., Wijaya, R. S., & Perdana, P. 2025. Mapping the Spillover Dynamics of Global CPO Variability into Domestic Cooking Oil Price Behavior. IJEBIR Internasional Journal of Economic, Business and Innovation Research, 4(3), 824–834. https://journals.indexcopernicus.com/api/file/viewByFileId/2349818.
[4] Fadillah, W. N., Rangkuti, Y. M., & Karo, I. M. K. 2024. Assessing How Similarity Metrics Shape PAM Clustering Outcomes in DHF Case Mapping. Barekeng: Journal of Mathematics and Its Applications, 18(1), 413–426. https://doi.org/10.30598/barekengvol18iss1pp0413-0426.
[5] Gabungan Pengusaha Kelapa Sawit Indonesia (GAPKI). 2025. Posisi Harga Komoditas. https://gapki.id/posisi-harga-komoditas/ [10 September 2025]
[6] Ilmani, E. A., Amatullah, F. F., Notodiputro, K. A., Angraini, Y., & Mualifah, L. N. A. (2025). ARIMAX Under the Lens: Measuring Its Accuracy on Cooking Oil Price Fluctuations. Barekeng: Journal of Mathematics and Its Applications, 19(2), 819–0828. https://doi.org/10.30598/barekengvol19iss2pp819-828.
[7] Keputusan Menteri Perindustrian dan Perdagangan Nomor 115/MPP/Kep/2/1998 tentang Jenis Barang Kebutuhan Pokok Masyarakat.
[8] Lestari, L., Sulistianingsih, E., & Perdana, H. 2024. Modeling Weather Variability with VAR: Integrating Outlier Detection in Rainfall and Wind Speed Analysis. Barekeng : Journal of Mathematics and Its Applications, 18(1), 117–128. https://doi.org/10.30598/barekengvol18iss1pp0117-0128.
[9] Nendissa, D. R., Pellokila, M. R., Lerik, M. D. C., Sa’dyah, A. A., Kana, Y. R., Nahas, A. E., Harini, T. S., Kapa, M. J., & Abidin, Z. 2025. Cooking Oil Price Volatility in the Consumer Market and Wholesalers Market in Indonesia. Journal of Global Innovations in Agricultural Sciences, 13(1), 61–70. https://doi.org/10.22194/JGIAS/25.1499.
[10] Pusat Informasi Harga Pangan Strategis (PIHPS). 2025. Informasi Harga Pangan Antar Daerah. https://www.bi.go.id/hargapangan/ [18 September 2025]
[11] Rohaeti, E., Sumertajaya, I. M., Wigena, A. H., & Sadik, K. 2023. MTSClust with Handling Missing Data Using VAR-Moving Average Imputation. Mathematics and Statistics, 11(2), 229–244. https://doi.org/10.13189/ms.2023.110201.
[12] Salsabila, N. A., Wahyuningsih, S., & Purnamasari, I. 2022. Pemodelan Vector Autoregressive Exogonous (VARX) Untuk Meramalkan Data Ekspor Dan Impor Total Di Indonesia. Jambura Journal of Probability and Statistics, 3(2), 61–70. https://doi.org/10.34312/jjps.v3i2.15527.
[13] Sumertajaya, I. M., Rohaeti, E., Fitrianto, A., & Adi, W. P. P. 2024. Building a Proactive Food Price Alert System via Multivariate Time Series Clustering Techniques. Sains Malaysiana, 53(11), 3779–3789. https://doi.org/10.17576/jsm-2024-5311-20.
[14] Sumertajaya, I. M., Rohaeti, E., Wigena, A. H., & Sadik, K. 2023. Vector Autoregressive - Moving Average imputation Algorithm for Handling Missing Data in Multivariate Time Series. IAENG International Journal of Computer Science, 50(2), 727–735.
[15] Suraya, G. R., & Wijayanto, A. W. 2022. Exploring the Effectiveness of Clustering Methods in Grouping Provinces Based on Stunting Mitigation Performance. ISJA: Indonesian Journal of Statistics and Its Applications, 6(2), 180–201. https://doi.org/10.29244/ijsa.v6i2p180-201.
[16] Tsabihah, D. U., Anggraini, Y., & Sumertajaya, I. M. 2025. A Temporal Clustering Framework Using DTW for Mapping and Predicting Rice Prices in Indonesia. INFERENSI, 8(1), 2721–3862. https://doi.org/10.12962//j27213862.v8i1.21952.
[17] Wei, W. W. S.. 2019. Multivariate Time Series Analysis and Applications (First). John Wiley & Sons.
[18] Wongoutong, C. 2025. Performance Comparison of Various Imputation Methods for Missing Data Mechanisms (MAR, MCAR, and MNAR) in a Nonstationary Time Series. International Journal of Mathematics and Mathematical Sciences, 2025(1), 1–16. https://doi.org/10.1155/ijmm/3031708.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Jurnal Matematika, Statistika dan Komputasi

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

This work is licensed under a Creative Commons Attribution 4.0 International License.
Jurnal Matematika, Statistika dan Komputasi is an Open Access journal, all articles are distributed under the terms of the Creative Commons Attribution License, allowing third parties to copy and redistribute the material in any medium or format, transform, and build upon the material, provided the original work is properly cited and states its license. This license allows authors and readers to use all articles, data sets, graphics and appendices in data mining applications, search engines, web sites, blogs and other platforms by providing appropriate reference.




