Mapping monthly consumer purchasing patterns at the UNHAN RI Cooperative using time series analysis and LSTM
DOI:
https://doi.org/10.35335/mandiri.v14i3.488Keywords:
ARIMA, Consumer Purchasing Pattern, Demand Prediction, Inventory Planning, LSTMAbstract
This study investigated the monthly purchasing patterns of consumers at Koperasi Unhan RI and developed forecasting models to support data-driven inventory and procurement planning. Historical cooperative sales data from 2020–2024 were analyzed using time series decomposition, autocorrelation analysis, ARIMA modeling, and a Long Short-Term Memory (LSTM) neural network. The analysis revealed a clear upward trend and strong annual seasonality, with consistent demand peaks occurring in December. The ARIMA model achieved significantly lower prediction errors than the LSTM model and successfully captured both trend and seasonal components. A 12-month forecast for 2025 was then generated to support operational decision-making. The forecasting results provide practical managerial insights for cooperative management, particularly in optimizing inventory levels, scheduling procurement, and anticipating seasonal demand fluctuations. The novelty of this study lies in the comparative application of classical time-series and deep learning approaches within a cooperative context using limited historical data, demonstrating that ARIMA remains a robust and interpretable solution for small to medium-sized cooperative environments. This research concludes that time series analysis combined with ARIMA forecasting effectively mapped consumer purchasing patterns and produced actionable demand predictions for the subsequent year.
References
Abbasimehr, H., Shabani, M., & Yousefi, M. (2020). An optimized model using LSTM network for demand forecasting. 143. https://doi.org/https://doi.org/10.1016/j.cie.2020.106435
Bandara, K., Hyndman, R. J., & Bergmeir, C. (2021). MSTL: A Seasonal-Trend Decomposition Algorithm for Time Series with Multiple Seasonal Patterns. https://arxiv.org/pdf/2107.13462
Bazrafkan, A. (2024). Time Series in Retail. https://konnectwithdata.com.au/time-series-in-retail/
Beltozar-Clemente, S., Iparraguirre-Villanueva, O., Pucuhuayla-Revatta, F., Zapata-Paulini, J., & Cabanillas-Carbonell, M. (2024). Predicting customer abandonment in recurrent neural networks using short-term memory. 10(1). https://doi.org/https://doi.org/10.1016/j.joitmc.2024.100237
Bhaskar.Reddypogu, V., & Prasad.U, D. (2025). Demand Forecasting in E-Commerce Fashion Retail: A Comparative Study of Generative AI, LSTM and ARIMA Models. 10. https://doi.org/https://doi.org/10.52783/jisem.v10i18s.2876
Bi, X., Li, G. A. W., & Qu, A. (2020). Improving Sales Forecasting Accuracy: A Tensor Factorization Approach with Demand Awareness. https://doi.org/https://doi.org/10.48550/arXiv.2011.03452
Cerqueira, V., Torgo, L., & Mozetič, I. (2020). Evaluating time series forecasting models : an empirical study on performance estimation methods. In Machine Learning (Vol. 109, Issue 11). Springer US. https://doi.org/10.1007/s10994-020-05910-7
Chaurasia, V., & Pal, S. (2020). Application of machine learning time series analysis for prediction COVID-19 pandemic. https://doi.org/https://doi.org/10.1007/s42600-020-00105-4
Cionet, Cognizant, & Google Cloud. (2025). How to cope with changing demand patterns.
Cracan, A. C. (2020). Retail sales forecasting using LSTM and ARIMA-LSTM : A comparison with traditional econometric models and Artificial Neural Networks.
Edukasia, J. E., Telkom, U., Purnomo, A., Zalynda, P. M., & Pasundan, U. (2024). Leveraging Inventory Management for Enhanced Performance in Elementary School Cooperatives : Case Study from Majalengka Regency. 7(2), 2890–2899. https://doi.org/10.31949/jee.v7i2.10155
Elmasdotter, A. (2018). A comparative study between LSTM and ARIMA for sales forecasting in retail.
Ensafi, Y., Amin, S. H., Zhang, G., & Shah, B. (2022). Time-series forecasting of seasonal items sales using machine learning – A comparative analysis. 2(1). https://doi.org/https://doi.org/10.1016/j.jjimei.2022.100058
Fildes, R., Ma, S., & Kolassa, S. (2022). Retail forecasting: Research and practice. 38(4). https://doi.org/https://doi.org/10.1016/j.ijforecast.2019.06.004
Furuoka, Gil-Alana, F. and, A., L., Yaya, S, O., & Vo, X. V. (2024). Convergence of gender unemployment gaps in Africa: New evidence from Fourier ADF and KPSS unit root tests with break. 122476.
Gede, W., Parwita, S., & Suryadana, P. E. (2025). Forecasting with ARIMA and LSTM in Bali Retail Industry (Vol. 2025). Atlantis Press International BV. https://doi.org/10.2991/978-94-6463-878-3
Howell, E. (2023). How To Analyse Your Time Series Model Using Residuals. https://towardsdatascience.com/how-to-analyse-your-time-series-model-using-residuals-f980f597332e/
Lalou, P., Ponis, S. T., & Efthymiou, O. K. (2020). Demand Forecasting of Retail Sales Using Data Analytics and Statistical Programming. 15(2). https://doi.org/https://doi.org/10.2478/mmcks-2020-0012
Liang, M., A, L. Y., Li, K., & Zhai, H. (2024). Improved collaborative filtering for cross-store demand forecasting. 190. https://doi.org/https://doi.org/10.1016/j.cie.2024.110067
Ortigossa, E. S. (2025). Time Series Information Visualization – A Review of Approaches and Tools. https://arxiv.org/html/2507.14920
Rob J Hyndman, G. A. (2021). Forecasting: Principles and Practice. OTexts: Melbourne, Australia. https://otexts.com/fpp3/
Sen, D., Deora, B. S., & Vaishnav, A. (2025). Explainable Deep Learning for Time Series Analysis : Integrating SHAP and LIME in LSTM-Based Models. 10.
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. 8(4). https://doi.org/https://doi.org/10.33395/sinkron.v8i4.14057
Temür, A. S., & Yıldız, Ş. (2021). Comparison of Forecasting Performance of ARIMA LSTM and HYBRID Models for The Sales Volume Budget of a Manufacturing Enterprise. https://doi.org/https://dx.doi.org/10.26650/ibr.2021.51.0117
Vuyyuru, S. R. (2019). Strengthening Machine Learning for Retail Demand Forecasting and Inventory Optimization. 8(7). https://www.erpublications.com/uploaded_files/download/srinivasa-reddy-vuyyuru_NTWJr.pdf
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Miranda Bintang Maharani Sigalingging, M. Azhar Prabukusumo Prabukusumo, Jonson Manurung

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




