Bayesian Inference–Based Demand Forecasting for Supply Chain Inventory Optimization in SME Pet Retail: A Case Study
DOI:
https://doi.org/10.24191/jcrinn.v11i2.540Keywords:
Bayesian Forecasting , SME Pet Retail , Inventory Optimization , Probabilistic Modeling, Synthetic Data, Pet ShopAbstract
Effective inventory management is critical for small- and medium-sized enterprise (SME) pet shops facing fluctuating demand, seasonal trends, and limited storage. This study develops a Bayesian inference–based model to optimize inventory forecasting in SME pet retail supply chains. Using 300 historical sales transactions from a suburban Malaysian pet shop, supplemented by 5,000 synthetic observations generated via Tabular ACTGAN to preserve distributional traits, the model probabilistically predicts stock levels. Inventory is classified into overstock, maximum, minimum, and stockout categories to trigger replenishment signals. Performance was assessed using sensitivity analyses, per-class recall, and F1-scores, yielding a macro-average F1 of 0.42 and a weighted-average F1 of 0.77. The model showed strong predictive capability for overstock conditions (0.88 recall), though minority-stock categories—maximum (0.29) and minimum (0.21)—proved more challenging to forecast. Overall, this probabilistic approach provides viable early-warning signals that reduce overstock and stockout risks for resource-limited retailers. Future work will investigate real-time tracking, hybrid machine learning, and multi-store data integration.
Downloads
References
Ali, W., & Tariq, A. (2022). How mobility through digitalization in supply chain are changing the dynamics of business: Thesis based on research questions [Dissertation]. https://Urn.Kb.Se/Resolve?Urn=Urn:Nbn:Se:Lnu:Diva-117301.
Babai, M. Z., Ali, M. M., Boylan, J. E., & Syntetos, A. A. (2013). forecasting and inventory performance in a two-stage supply chain with Arima (0,1,1) demand: Theory and empirical analysis. International Journal of Production Economics, 143(2), 463–471. https://doi.org/10.1016/j.ijpe.2011.12.010.
Babai, M. Z., Chen, H., Syntetos, A. A., & Lengu, D. (2020). A compound-poisson bayesian approach for spare parts inventory predicting. International Journal of Production Economics, 232, 107954. https://doi.org/10.1016/j.ijpe.2020.107954.
Chehrazi, N. (2025). A continuous-time Bayesian inventory model for retailing with operational errors and stockouts. Manufacturing & Service Operations Management, 27(1), 1-18. https://doi.org/10.1287/msom.2023.0274.
Chen, J., Chun, D., Patel, M., et al. (2019). The validity of synthetic clinical data: A validation study of a leading synthetic data generator (Synthea) using clinical quality measures. BMC Medical Informatics and Decision Making, 19, 44. https://doi.org/10.1186/s12911-019-0793-0.
Deivanayagampillai, N., Bhuvaneswari, T., & Suppiah, Y. (2025). Intelligent inventory prediction: A machine learning framework using random forest for inventory forecasting. Edelweiss Applied Science and Technology, 9(4), 1795–1807. https://doi.org/10.55214/25768484.v9i4.6383.
Gretel.Ai. (2024a). Gretel tabular gan. https://Docs.Gretel.Ai/Create-Synthetic-Data/Models/Synthetics/Gretel-Tabular-Gan.
Gretel.Ai. (2024b). Synthetic data quality score (SQS). https://Docs.Gretel.Ai/Evaluate.
Gupta, R. (2025, March 13). The new age of demand predicting: how bayesian methods outperform traditional models. LinkedIn. https://www.Linkedin.Com/Pulse/New-Age-Demand-Predicting-How-Bayesian-Methods-Outperform-Gupta-Cqbif.
Heine, J., Fowler, E. E., & Others. (2023). Techniques to produce and evaluate realistic multivariate synthetic data. Scientific Reports, 13, 12266. https://doi.org/10.1038/s41598-023-38832-0.
Kerman, J. (2011). Neutral noninformative and informative conjugate beta and gamma prior distributions. Electronic Journal of Statistics, 5, 1450–1470. https://doi.org/10.1214/11-EJS648.
Li, W. (2025). Analysis of pet supplies demand and influencing factors based on logistic regression model. In Proceedings of the 2nd International Conference on Innovations in Applied Mathematics, Physics, and Astronomy – Volume 1: IAMPA (pp. 134–138). SciTePress. https://doi.org/10.5220/0013815400004708.
Maitra, S. (2024). A system-dynamic-based simulation and bayesian optimization for inventory management. Arxiv Preprint. https://doi.org/10.48550/Arxiv.2402.10975.
Malagrino, L. S., Roman, N. T., & Monteiro, A. M. (2018). Predicting stock market index daily direction: a Bayesian network approach. Expert Systems with Applications, 105, 186–193. https://doi.org/10.1016/j.eswa.2018.03.039.
Nižetić, S., Šolić, P., Gonzalez-De, D. L. D. I., & Patrono, L. (2020). Internet of Things (IoT): Opportunities, issues and challenges towards a smart and sustainable future. Journal of Cleaner Production, 274, 122877. https://doi.org/10.1016/j.jclepro.2020.122877.
Patki, N., Wedge, R., & Veeramachaneni, K. (2016). The synthetic data vault. In 2016 IEEE International Conference on Data Science and Advanced Analytics (DSAA) (pp. 399–410). IEEE. https://doi.org/10.1109/DSAA.2016.49.
Ramavath, S. K. (2025). Hybrid forecasting systems for inventory optimization using prophet and reinforcement learning. International Journal of Computational and Experimental Science and Engineering, 11(4). https://doi.org/10.22399/ijcesen.4123.
Sethi, S. P., Zhang, Q., & Tayur, S. (2022). Supply Network Dynamics and Control. Springer.
Seyedan, M., & Mafakheri, F. (2020). Predictive big data analytics for supply chain demand predicting: Methods, applications, and research opportunities. Journal Of Big Data, 7(1), 53. https://doi.org/10.1186/s40537-020-00329-2.
Taquía Gutiérrez, J. A. (2023). Impact of Bayesian approach to demand management in supply chains for the consumption of dynamic products. Computación Y Sistemas, 27(2), 545–552. https://doi.org/10.13053/cys-27-2-4382.
Verified Market Research. (2023). Malaysia pet food market size, share, trends & predict. https://www.Verifiedmarketresearch.Com/Product/Malaysia-Pet-Food-Market/.
Xiao, Z. (2025). Bayesian inference for dynamic demand forecasting and inventory optimization. Theoretical And Natural Science, 92, 116–122. https://doi.org/10.54254/2753-8818/2025.22036.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Ahmad Rifdi Afandi, Siti Salwa Salleh, Khyrina Airin Fariza Abu Samah (Author)

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