Comparative Analysis of Arima and Facebook Prophet Algorithms for E-Commerce Product Sales Forecasting

Ersha Thoriq Ferdinansyah, Muhammad Roffi, Rafi Ramadhan, Elyandri Prasiwiningrum

Abstract


Uncertainty in market demand poses a fundamental challenge in e-commerce supply chain management. This study evaluates the accuracy of daily sales forecasting for the "Set" product category in the Amazon Sales Report dataset by comparing the traditional ARIMA model with the modern additive Facebook Prophet model. Inventory management in e-commerce is often hindered by unpredictable demand fluctuations, which are difficult to forecast manually. The findings reveal that Prophet outperforms ARIMA, achieving a mean absolute error (MAE) of 35.412 and a root mean square error (RMSE) of 48.723, corresponding to an 18.82% improvement in forecasting efficiency. Prophet’s ability to capture weekly seasonal patterns demonstrates its suitability as a more reliable approach for operational stock management.

Keywords


E-commerce; Sales Forecasting; Facebook Prophet; Amazon Sale Report; Time Series Analysis; ARIMA

Full Text:

PDF

References


E. Žunić, K. Korjenić, K. Hodžić, and D. Đonko, "Application of Facebook's Prophet Algorithm for Successful Sales Forecasting Based on Real-World Data," International Journal of Computer Science & Information Technology (IJCSIT), vol. 12, no. 2, pp. 23-37, Apr. 2020.

C. Wang and J. Wang, "Research on E-Commerce Inventory Sales Forecasting Model Based on ARIMA and LSTM Algorithm," Mathematics, vol. 13, no. 11, 1838, May 2025.

X. Niu, C. Li, and X. Yu, "Predictive Analytics of E- Commerce Search Behavior for Conversion," Full Paper: University of North Carolina at Charlotte, pp. 1- 15, 2023.

P. Adebayo, I. Ahmed, and K. T. Oyeleke, "Comparative Analysis of Prophet and ARIMA Models for Forecasting Economic Indicators: A Case Study of Personal Consumption Expenditures," SSRN Electronic Journal, pp. 1-12, 2024.

N. V. Anh and A. Y. Cheng, "Supply Chain Optimization in the Digital Age: A Big Data Analytics Perspective on Resilience and Efficiency," AI, IoT and the Fourth Industrial Revolution Review, pp. 1-22, 2024.

Y. Ensafi, S. H. Amin, G. Zhang, and B. Shah, "Time-series forecasting of seasonal items sales using machine learning – A comparative analysis," International Journal of Information Management Data Insights, vol. 2, no. 1, 100058, 2022.

O. Stewart and V. Adams, "AI-Powered Supply Chain Optimization: Enhancing Resilience through Predictive Analytics," International Journal of AI, Big Data, Computational and Management Studies (IJAIBDCMS), vol. 4, no. 2, pp. 9-20, 2023.

N. I. Khair, Ruslan, and Agusrawati, "Forecasting Analysis of Electricity Consumption in East Kolaka and Konawe Districts Using Prophet Method," Jurnal Matematika, Statistika dan Komputasi, vol. 21, no. 3, pp. 832-846, May 2025.

A. Sharma, N. Patel, and R. Gupta, "Leveraging LSTM and Prophet Models for Enhanced AI-Driven Demand Prediction in E-Commerce," Noble Scholar Research Group, vol. 4, no. 2, pp. 1-21, 2023.

E. F. L. Awalina and W. I. Rahayu, "Optimalisasi Strategi Pemasaran dengan Segmentasi Pelanggan Menggunakan Penerapan K-Means Clustering pada Transaksi Online Retail," Jurnal Teknologi dan Informasi (JATI), vol. 13, no. 2, pp. 126-140, Sep. 2023.

F. Zafira, B. Irawan, and A. Bahtiar, "Penerapan Data Mining Untuk Estimasi Stok Barang Dengan Metode K-Means Clustering," JATI (Jurnal Mahasiswa Teknik Informatika), vol. 8, no. 1, pp. 1101-1107, Feb. 2024.

M. Firanti, "Penggunaan Algoritma Machine Learning dalam Prediksi Penjualan E-commerce," Circle Archive, vol. 1, no. 1, pp. 1-10, 2023.

B. M. Akbar, F. T. Anggraeny, and E. P. Mandyartha, "Peramalan Harga Minyak Mentah Brent Berbasis Model Prophet dengan Optimasi Tree- Structured Parzen Estimator (TPE)," JIIP (Jurnal Ilmiah Ilmu Pendidikan), vol. 8, no. 11, pp. 12777-12782, Nov. 2025.

M. Rizki, D. Priyanto, G. H. Martono, N. Sulistianingsih, and M. Syahrir, "Perbandingan Algoritma Sarima dan Prophet Untuk Peramalan Trend Penjualan Voucher Game Online," Jurnal Minfo Polgan, vol. 14, no. 2, pp. 1588-1596, Aug. 2025.

E. E. Pardede, F. T. Anggraeny, and A. Junaidi, "Prophet–LightGBM Hybrid Model Implementation in Cafe Menu Sales Prediction," Jati Emas (Jurnal Aplikasi Teknik dan Pengabdian Masyarakat), vol. 9, no. 4, pp. 411-418, Oct. 2025.

D. Kaul and R. Khurana, "AI-Driven Optimization Models for E-commerce Supply Chain Operations: Demand Prediction, Inventory Management, and Delivery Time Reduction with Cost Efficiency Considerations," International Journal of Social Analytics, vol. 7, no. 12, 2022.

A. N. Rahman and G. Sastro, "Analisis Peramalan Penjualan Produk Suplemen PT. Green World Global pada E-Marketplace," STATMAT (Jurnal Statistika dan Matematika), vol. 1, no. 2, pp. 94-113, Jul. 2019.

Z. B. Yusof, "Analyzing the Role of Predictive Analytics and Machine Learning Techniques in Optimizing Inventory Management and Demand Forecasting for E-Commerce," Malaysia University Of Science And Technology (MUST), 2024.

S. Yadav, "A Comparative Study of ARIMA, Prophet and LSTM for Time Series Prediction," J. Artif. Intell. Mach. Learn. Data Sci., vol. 1, no. 1, pp. 1813- 1816, 2022, doi: 10.51219/JAIMLD/sandeep-yadav/402.

Y. Chen et al., "Development of a Time Series E- Commerce Sales Prediction Method for Short-Shelf-Life Products Using GRU-LightGBM," Appl. Sci., vol. 14, no. 2, art. no. 866, Jan. 2024, doi: 10.3390/app14020866.

M. D. Angelo, I. Fadhiilrahman, and Y. Purnama, "Comparative Analysis of ARIMA and Prophet Algorithms in Bitcoin Price Forecasting," Procedia Comput. Sci., vol. 227, pp. 490-499, 2023, doi: 10.1016/j.procs.2023.10.550.

J. Fattah, L. Ezzine, Z. Aman, H. E. Moussami, and A. Lachhab, "Forecasting of demand using ARIMA model," Int. J. Eng. Bus. Manage., vol. 10, pp. 1-9, 2018, doi: 10.1177/1847979018808673. C. Du and Y. Li, "E-commerce sales forecasting based on deep learning algorithm," Procedia Comput. Sci., vol. 261, pp. 1157-1164, 2025.

P. Mondal, L. Shit, and S. Goswami, "Study of Effectiveness of Time Series Modeling (ARIMA) in Forecasting Stock Prices," Int. J. Comput. Sci. Eng. Appl., vol. 4, no. 2, pp. 13-29, Apr. 2014, doi: 10.5121/ijcsea.2014.4202.

[25] R. D. Libriawan, A. P. Sari, and H. E. Wahanani, "Implementation of Facebook Prophet Algorithm in Population Prediction," Bit-Tech (Binary Digital - Technol.), vol. 8, no. 2, Dec. 2025.




DOI: http://dx.doi.org/10.22441/collabits.v3i1.37651

Refbacks

  • There are currently no refbacks.


Journal Collabits
Portal ISSNPrint ISSN: 3062-8601
Online ISSN: 3046-6709

Sekretariat
Fakultas Ilmu Komputer
Universitas Mercu Buana
Jl. Raya Meruya Selatan, Kembangan, Jakarta 11650
Tlp./Fax: +62215871335

http://publikasi.mercubuana.ac.id/index.php/collabits

e-mail: [email protected]

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